Fix tax calculationj

This commit is contained in:
Rene Vergara 2023-10-25 16:25:27 -05:00
parent 9bd94843b4
commit b670a1c15f
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -261,8 +261,8 @@ updateOrderTotals o taxRate vatRate =
(qexternalInvoice o) (qexternalInvoice o)
(qshortCode o) (qshortCode o)
(qtoken o) (qtoken o)
(qtax o) (updateTax o taxRate)
(qvat o) (updateTax o vatRate)
(qtip o) (qtip o)
where where
updateTax :: ZGoOrder -> Double -> Double updateTax :: ZGoOrder -> Double -> Double