print kitchen

This commit is contained in:
efrilm
2025-11-06 18:41:34 +07:00
parent c0cf63a176
commit 8923ce737d
2 changed files with 57 additions and 0 deletions
@@ -131,6 +131,12 @@ class PrinterFormBloc extends Bloc<PrinterFormEvent, PrinterFormState> {
outlet: currentOutlet,
cashierName: 'Kasir Test',
);
} else if (e.code == 'kitchen') {
printValue = await PrintUi().printKitchen(
order: Order.mockOrder(),
outlet: currentOutlet,
cashierName: 'Kasir Test',
);
}
final printer = Printer.fromTest(