edit discount

This commit is contained in:
hamid zarghami
2025-12-07 09:32:21 +03:30
parent 2403a314d9
commit 44186d0ceb
7 changed files with 266 additions and 4 deletions
+2
View File
@@ -35,6 +35,7 @@ import CreateShipmentMethod from '@/pages/shipmentMethod/Create'
import UpdateShipmentMethod from '@/pages/shipmentMethod/Update'
import CouponsList from '@/pages/coupon/List'
import CreateCoupon from '@/pages/coupon/Create'
import UpdateCoupon from '@/pages/coupon/Update'
const MainRouter: FC = () => {
const { hasSubMenu } = useSharedStore()
@@ -85,6 +86,7 @@ const MainRouter: FC = () => {
<Route path={Pages.coupons.list} element={<CouponsList />} />
<Route path={Pages.coupons.add} element={<CreateCoupon />} />
<Route path={Pages.coupons.update + ':id'} element={<UpdateCoupon />} />
</Routes>
</div>
</div>