fix(web-client-tpos): add missing kitchen/recipes data loading in ShopPage

ShopPage LoadSectionData switch was missing cases for kitchen and recipes sections. Added data fetch calls for GetKitchenTicketsAsync and GetRecipesAsync on section navigation.
This commit is contained in:
Ho Ngoc Hai
2026-03-04 07:49:26 +07:00
parent d95e80f274
commit d9fda3f54f
2 changed files with 28 additions and 19 deletions

View File

@@ -2189,6 +2189,14 @@
case "schedule":
_staffSchedules = await DataService.GetStaffSchedulesAsync(_shopGuid);
break;
case "kitchen":
if (_shopGuid.HasValue)
_kitchenTickets = await DataService.GetKitchenTicketsAsync(_shopGuid);
break;
case "recipes":
if (_shopGuid.HasValue)
_recipes = await DataService.GetRecipesAsync(_shopGuid);
break;
}
}
catch (Exception ex)