fix: print split bill

This commit is contained in:
efrilm
2025-09-01 22:25:15 +07:00
parent dcd739e4a4
commit 0d91d43866
6 changed files with 30 additions and 24 deletions
@@ -1012,6 +1012,7 @@ class _SuccessOrderPageState extends State<SuccessOrderPage>
: widget.order.totalAmount ?? 0,
kembalian: widget.nominalBayar -
(widget.order.totalAmount ?? 0),
productQuantity: widget.productQuantity,
);
onPrint(
context,
@@ -798,6 +798,7 @@ class _SuccessPaymentPageState extends State<SuccessPaymentPage> {
: order.totalAmount ?? 0,
kembalian:
widget.nominalBayar - (order.totalAmount ?? 0),
productQuantity: widget.productQuantity,
);
},
child: const Row(