fix: display adjustment in minues

This commit is contained in:
Ahmed Bouhuolia
2024-12-08 14:47:03 +02:00
parent 46719ef361
commit 11d7a40326
9 changed files with 29 additions and 8 deletions

View File

@@ -455,7 +455,7 @@ export const useInvoiceTotal = () => {
return R.compose(
R.when(R.always(isExclusiveTax), R.add(totalTaxAmount)),
R.subtract(R.__, discountAmount),
R.add(R.__, adjustmentAmount),
R.add(adjustmentAmount),
)(subtotal);
};