perbaikan on possale string 1

This commit is contained in:
2026-04-18 22:45:08 +07:00
parent d912b1f63a
commit b1781625f2
2693 changed files with 366 additions and 6459 deletions

View File

@@ -1245,7 +1245,7 @@ class _PosSaleScreenState extends ConsumerState<PosSaleScreen> {
}
// Navigate to the next screen if permission is granted
bool result = await Navigator.push(
bool? result = await Navigator.push(
context,
MaterialPageRoute(
builder: (context) => AddSalesScreen(
@@ -1256,7 +1256,7 @@ class _PosSaleScreenState extends ConsumerState<PosSaleScreen> {
);
// Handle result after returning from AddSalesScreen
if (result) {
if (result == true) {
_searchController.clear();
selectedCustomer = null;
setState(() {});