update a resutarant

This commit is contained in:
hamid zarghami
2026-01-06 09:10:51 +03:30
parent 9af21acb90
commit 37717d5f05
8 changed files with 262 additions and 3 deletions
+2
View File
@@ -82,6 +82,7 @@ import GroupIconList from '../pages/dmenu/icon/GroupList'
import WarningsList from '../pages/dmenu/report/List.tsx'
import RestaurantsList from '../pages/dmenu/restaurant/List.tsx'
import SmsCountList from '../pages/dmenu/restaurant/SmsCountList.tsx'
import UpdateRestaurant from '../pages/dmenu/restaurant/Update.tsx'
// import WarningsList from '../pages/dmenu/reports/List' // TODO: Create this component
const MainRouter: FC = () => {
@@ -177,6 +178,7 @@ const MainRouter: FC = () => {
<Route path={Pages.dmenu.warnings.list} element={<WarningsList />} />
<Route path={Pages.dmenu.restaurants.list} element={<RestaurantsList />} />
<Route path={Pages.dmenu.restaurants.smsCountList} element={<SmsCountList />} />
<Route path={Pages.dmenu.restaurants.update + ':id'} element={<UpdateRestaurant />} />
</Routes>
</div>
</div>