fix: wrong condition
This commit is contained in:
parent
8a071e61a6
commit
34ede08244
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ onMounted(async () => {
|
|||
}))
|
||||
.reduce(
|
||||
(a, c) => {
|
||||
const priceNoVat = c.product.calcVat
|
||||
const priceNoVat = c.product.vatIncluded
|
||||
? c.pricePerUnit / (1 + (config.value?.vat || 0.07))
|
||||
: c.pricePerUnit;
|
||||
const priceDiscountNoVat = priceNoVat * c.amount - c.discount;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue