fix: color variant
This commit is contained in:
@@ -28,9 +28,7 @@ Future<void> onPrint(
|
||||
if (checkerPrinter != null) {
|
||||
try {
|
||||
final printValue = await PrintDataoutputs.instance.printChecker(
|
||||
productQuantity
|
||||
.where((e) => e.product.printerType == "checker")
|
||||
.toList(),
|
||||
productQuantity,
|
||||
order.tableNumber ?? "",
|
||||
order.orderNumber ?? "",
|
||||
'kasir',
|
||||
@@ -53,9 +51,7 @@ Future<void> onPrint(
|
||||
if (kitchenPrinter != null) {
|
||||
try {
|
||||
final printValue = await PrintDataoutputs.instance.printKitchen(
|
||||
productQuantity
|
||||
.where((e) => e.product.printerType == "kitchen")
|
||||
.toList(),
|
||||
productQuantity,
|
||||
order.tableNumber!,
|
||||
order.orderNumber ?? "",
|
||||
'kasir',
|
||||
@@ -77,7 +73,7 @@ Future<void> onPrint(
|
||||
if (barPrinter != null) {
|
||||
try {
|
||||
final printValue = await PrintDataoutputs.instance.printBar(
|
||||
productQuantity.where((e) => e.product.printerType == "bar").toList(),
|
||||
productQuantity,
|
||||
order.tableNumber ?? "",
|
||||
order.orderNumber ?? "",
|
||||
'kasir',
|
||||
|
||||
Reference in New Issue
Block a user