refactor: handle agent
This commit is contained in:
parent
fd62732642
commit
c1afeee1da
3 changed files with 9 additions and 3 deletions
|
|
@ -398,7 +398,7 @@ function print() {
|
|||
<td style="text-align: right">
|
||||
{{
|
||||
formatNumberDecimal(
|
||||
v.product.calcVat
|
||||
v.product[agentPrice ? 'agentPriceCalcVat' : 'calcVat']
|
||||
? precisionRound(
|
||||
(v.pricePerUnit * v.amount - v.discount) *
|
||||
(config?.vat || 0.07),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue