fix: discount and adjustment fields across financial forms

This commit is contained in:
Ahmed Bouhuolia
2024-12-03 13:54:26 +02:00
parent d5dacaa988
commit 1010d97a92
9 changed files with 39 additions and 26 deletions

View File

@@ -284,7 +284,7 @@ export const useReceiptTotal = () => {
const adjustmentAmount = useReceiptAdjustmentAmount();
const discountAmount = useReceiptDiscountAmount();
return subtotal - discountAmount + adjustmentAmount;
return subtotal - discountAmount - adjustmentAmount;
};
/**