Skip to content

Commit

Permalink
fix: put publicPrice instead of discount price in order table
Browse files Browse the repository at this point in the history
  • Loading branch information
HoreKk committed Nov 6, 2024
1 parent 2744ce2 commit 954ceff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/server/api/routers/order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export const orderRouter = createTRPCRouter({
articles: articles.map((article) => ({
article_reference: article.reference,
article_quantity: article.quantity,
article_montant: input_value || article.price || 0,
article_montant: input_value || article.publicPrice || 0,
})),
},
});
Expand Down

0 comments on commit 954ceff

Please sign in to comment.