void product
This commit is contained in:
parent
96387c08f4
commit
aa25de8da7
@ -271,12 +271,18 @@ class _SalesPageState extends State<SalesPage> {
|
||||
nominalBayar: orderDetail?.totalPaid ?? 0,
|
||||
kembalian: 0,
|
||||
productQuantity: orderDetail!.orderItems!
|
||||
.where((item) =>
|
||||
item.status != 'cancelled')
|
||||
.toList()
|
||||
.toProductQuantities(),
|
||||
);
|
||||
} else {
|
||||
onPrintBill(
|
||||
context,
|
||||
productQuantity: orderDetail!.orderItems!
|
||||
.where((item) =>
|
||||
item.status != 'cancelled')
|
||||
.toList()
|
||||
.toProductQuantities(),
|
||||
order: orderDetail!,
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user