update
This commit is contained in:
@@ -46,7 +46,7 @@ class PrintUi {
|
||||
|
||||
bytes += builder.emptyLines(1);
|
||||
|
||||
for (final item in order.orderItems) {
|
||||
for (final item in order.orderItemNotCancelled) {
|
||||
bytes += builder.orderItem(
|
||||
productName: item.productName,
|
||||
quantity: item.quantity,
|
||||
@@ -316,7 +316,7 @@ class PrintUi {
|
||||
|
||||
bytes += builder.emptyLines(1);
|
||||
|
||||
for (final item in order.orderItems) {
|
||||
for (final item in order.orderItemNotCancelled) {
|
||||
bytes += builder.orderItem(
|
||||
productName: item.productName,
|
||||
quantity: item.quantity,
|
||||
@@ -392,7 +392,6 @@ class PrintUi {
|
||||
notes: item.notes,
|
||||
);
|
||||
}
|
||||
|
||||
bytes += builder.summary(
|
||||
totalItems: order.orderItems.length,
|
||||
subtotal: order.subtotal.currencyFormatRpV2,
|
||||
|
||||
Reference in New Issue
Block a user