crud coupon

This commit is contained in:
hamid zarghami
2025-09-27 16:44:02 +03:30
parent bf3662a436
commit 8b4ae93e9d
7 changed files with 346 additions and 5 deletions
+2 -1
View File
@@ -31,6 +31,7 @@ import ShippingList from '@/pages/shipment/List'
import CreateShipment from '@/pages/shipment/Create'
import CouponList from '@/pages/Coupon/List'
import CreateCoupon from '@/pages/Coupon/Create'
import UpdateCoupon from '@/pages/Coupon/Update'
const MainRouter: FC = () => {
@@ -81,7 +82,7 @@ const MainRouter: FC = () => {
<Route path={Pages.coupon.list} element={<CouponList />} />
<Route path={Pages.coupon.create} element={<CreateCoupon />} />
<Route path={`${Pages.coupon.detail}:id`} element={<UpdateCoupon />} />
</Routes>
</div>
</div>