fix: print split bill
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user