Удаление блюда
parent
4c3779776d
commit
f75415d9d9
|
@ -0,0 +1 @@
|
|||
,pi3c,pi3code,13.02.2024 12:37,file:///home/pi3c/.config/libreoffice/4;
|
BIN
admin/Menu.xlsx
BIN
admin/Menu.xlsx
Binary file not shown.
|
@ -245,7 +245,7 @@ async def dishes_updater(dishes: dict, session: AsyncSession) -> None:
|
|||
|
||||
for key in {k: cached_dishes[k] for k in set(cached_dishes) - set(dishes)}:
|
||||
# Проверяем на удаленные меню
|
||||
await on_submenu_change({}, cached_dishes.pop(key), session)
|
||||
await on_dish_change({}, cached_dishes.pop(key), session)
|
||||
|
||||
for key in dishes.keys():
|
||||
parent = cached_submenus[dishes[key]['parent_num']]['id']
|
||||
|
|
Loading…
Reference in New Issue