create coupon

This commit is contained in:
hamid zarghami
2025-12-06 16:38:41 +03:30
parent f397560312
commit 6447177b05
13 changed files with 630 additions and 3 deletions
+2
View File
@@ -34,6 +34,7 @@ import ShipmentMethodList from '@/pages/shipmentMethod/List'
import CreateShipmentMethod from '@/pages/shipmentMethod/Create'
import UpdateShipmentMethod from '@/pages/shipmentMethod/Update'
import CouponsList from '@/pages/coupon/List'
import CreateCoupon from '@/pages/coupon/Create'
const MainRouter: FC = () => {
const { hasSubMenu } = useSharedStore()
@@ -83,6 +84,7 @@ const MainRouter: FC = () => {
<Route path={Pages.shipment_methods.update + ':id'} element={<UpdateShipmentMethod />} />
<Route path={Pages.coupons.list} element={<CouponsList />} />
<Route path={Pages.coupons.add} element={<CreateCoupon />} />
</Routes>
</div>
</div>