fix payment struck
This commit is contained in:
@@ -865,7 +865,9 @@ class PrintDataoutputs {
|
||||
? '------------------------------------------------'
|
||||
: '--------------------------------',
|
||||
styles: const PosStyles(bold: false, align: PosAlign.center));
|
||||
for (final product in (order.orderItems ?? <OrderItem>[])) {
|
||||
for (final product
|
||||
in (order.orderItems?.where((item) => item.status != 'cancelled') ??
|
||||
<OrderItem>[])) {
|
||||
bytes += generator.row([
|
||||
PosColumn(
|
||||
text: '${product.quantity} x ${product.productName}',
|
||||
|
||||
Reference in New Issue
Block a user