update printer checker

This commit is contained in:
Efril
2026-05-27 16:13:12 +07:00
parent ea29c62af1
commit beb86f6259
5 changed files with 86 additions and 62 deletions
@@ -102,6 +102,7 @@ class PrintUi {
orderNumber: order.orderNumber,
orderType: order.orderType,
cashierName: cashierName,
customerName: order.metadata['customer_name'] ?? '-',
);
bytes += builder.separator();
@@ -146,7 +147,7 @@ class PrintUi {
bytes += generator.reset();
// Header
bytes += builder.row2Columns('Kitchen', order.orderType, bold: true);
bytes += builder.row2Columns('Kitchen', order.orderType.toUpperCase(), bold: true);
bytes += builder.separator();
bytes += builder.textCenter(
'Table : ${order.tableNumber.isNotEmpty ? order.tableNumber : '-'}',