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