From bd02f389e533360883799f230de1c90957ab70dc Mon Sep 17 00:00:00 2001 From: efrilm Date: Wed, 17 Sep 2025 22:22:55 +0700 Subject: [PATCH] table number null safety --- lib/core/function/app_function.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/function/app_function.dart b/lib/core/function/app_function.dart index 0c4d364..d23cdf8 100644 --- a/lib/core/function/app_function.dart +++ b/lib/core/function/app_function.dart @@ -70,7 +70,7 @@ Future onPrint( .toList(); final printValue = await PrintDataoutputs.instance.printKitchen( productByPrinter, - order.tableNumber!, + order.tableNumber ?? "", order.orderNumber ?? "", authData.user?.name ?? "", order.metadata?['customer_name'] ?? "",