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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user