feat(dashboard): Return Reasons domain (#6640)

**What**
- Adds Return Reason domain.
This commit is contained in:
Kasper Fabricius Kristensen
2024-03-11 10:10:56 +01:00
committed by GitHub
parent fb25471e92
commit b8bedb84cf
17 changed files with 494 additions and 3 deletions
@@ -494,6 +494,34 @@ const router = createBrowserRouter([
},
],
},
{
path: "return-reasons",
element: <Outlet />,
handle: {
crumb: () => "Return Reasons",
},
children: [
{
path: "",
lazy: () =>
import("../../routes/return-reasons/return-reason-list"),
children: [
{
path: "create",
lazy: () =>
import(
"../../routes/return-reasons/return-reason-create"
),
},
{
path: ":id/edit",
lazy: () =>
import("../../routes/return-reasons/return-reason-edit"),
},
],
},
],
},
{
path: "regions",
element: <Outlet />,