fix: discount & adjustment sale transactions bugs

This commit is contained in:
Ahmed Bouhuolia
2024-12-05 14:47:11 +02:00
parent 391dc77071
commit beec09788e
10 changed files with 35 additions and 19 deletions

View File

@@ -15,7 +15,7 @@ export const transformEstimateToPdfTemplate = (
quantity: entry.quantityFormatted,
total: entry.totalFormatted,
})),
total: estimate.formattedSubtotal,
total: estimate.totalFormatted,
subtotal: estimate.formattedSubtotal,
adjustment: estimate.adjustmentFormatted,
customerNote: estimate.note,