small comment
This commit is contained in:
parent
6136db8403
commit
8c96b96ee5
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ select
|
||||||
*/
|
*/
|
||||||
(
|
(
|
||||||
(p.amount - (p.amount / (1 + vat.vat_rate)))
|
(p.amount - (p.amount / (1 + vat.vat_rate)))
|
||||||
* vat.is_service_subject_to_vat::int
|
* vat.is_service_subject_to_vat::int -- Multiplying by this makes amount 0 if not taxable
|
||||||
)::decimal(19, 4) as tax_amount_in_txn_currency,
|
)::decimal(19, 4) as tax_amount_in_txn_currency,
|
||||||
(
|
(
|
||||||
(p.amount - (p.amount / (1 + vat.vat_rate)))
|
(p.amount - (p.amount / (1 + vat.vat_rate)))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue