This commit is contained in:
David Arranz 2024-08-29 11:21:44 +02:00
parent fe34458899
commit abc182b575
2 changed files with 6 additions and 2 deletions

View File

@ -201,6 +201,10 @@ export const QuoteDetailsCardEditor = ({
scale: Quantity.DEFAULT_SCALE, scale: Quantity.DEFAULT_SCALE,
}, },
unit_price: article.retail_price, unit_price: article.retail_price,
discount: {
amount: null,
scale: 2,
},
}); });
toast({ toast({
title: t("quotes.catalog_picker_dialog.toast_article_added"), title: t("quotes.catalog_picker_dialog.toast_article_added"),

View File

@ -86,8 +86,8 @@ export const QuoteEdit = () => {
{ {
description: "", description: "",
quantity: { quantity: {
amount: 1, amount: null,
scale: 0, scale: 2,
}, },
unit_price: { unit_price: {
amount: null, amount: null,