fix: print

This commit is contained in:
efrilm
2025-08-07 14:28:52 +07:00
parent d0e1f9a5b6
commit 9d78c9dcce
5 changed files with 31 additions and 11 deletions
@@ -1005,10 +1005,11 @@ class _SuccessOrderPageState extends State<SuccessOrderPage>
context,
order: widget.order,
paymentMethod: widget.paymentMethod,
nominalBayar: widget.nominalBayar,
nominalBayar: widget.paymentMethod == "Cash"
? widget.nominalBayar
: widget.order.totalAmount ?? 0,
kembalian: widget.nominalBayar -
(widget.order.totalAmount ?? 0),
taxPercentage: widget.taxPercentage,
);
onPrint(
context,