feat: select order item

This commit is contained in:
efrilm
2025-08-03 22:44:01 +07:00
parent 8f3a19670b
commit 617b5c54f2
7 changed files with 1220 additions and 104 deletions
+3 -2
View File
@@ -532,7 +532,8 @@ class _HomePageState extends State<HomePage> {
elevation: 1,
disabled: items.isEmpty,
onPressed: () {
if (orderType.name == 'dineIn') {
if (orderType.name == 'dineIn' &&
widget.table == null) {
AppFlushbar.showError(context,
'Mohon pilih meja terlebih dahulu');
return;
@@ -544,7 +545,7 @@ class _HomePageState extends State<HomePage> {
table: widget.table,
));
},
label: 'Lanjutkan Pembayaran ',
label: 'Lanjutkan Pembayaran',
),
),
),