Update Master Formularium dan Corporate formularium

This commit is contained in:
2023-09-25 16:21:38 +07:00
parent 72958019f1
commit 738392c143
33 changed files with 2807 additions and 261 deletions

View File

@@ -272,14 +272,31 @@ export default function Router() {
},
{
path: 'master/formularium',
path: 'master/formularium/:formularium_template_id',
element: <MasterFormularium />,
},
{
path: 'master/formularium/create',
path: 'master/formularium/create/:formularium_template_id',
element: <MasterFormulariumCreate />,
},
{
path: 'master/formularium-template',
element: <MasterFormulariumTemplate />,
},
{
path: 'master/formularium-template/create',
element: <MasterFormulariumTemplateCreate />,
},
{
path: 'master/formularium-template/:id/formularium-template-history',
element: <MasterFormulariumTemplateHistories />,
},
{
path: 'master/formularium-template/:id/edit',
element: <MasterFormulariumTemplateCreate />,
},
{
path: 'report/appointments',
element: <Appointment />,
@@ -472,6 +489,10 @@ const MasterDrug = Loadable(lazy(() => import('../pages/Master/Drug/Index')));
const MasterFormularium = Loadable(lazy(() => import('../pages/Master/Formularium/Index')));
const MasterFormulariumCreate = Loadable(lazy(() => import('../pages/Master/Formularium/Create')));
const MasterFormulariumTemplate = Loadable(lazy(() => import('../pages/Master/Formularium/Master/Index')));
const MasterFormulariumTemplateCreate = Loadable(lazy(() => import('../pages/Master/Formularium/Master/CreateUpdate')));
const MasterFormulariumTemplateHistories = Loadable(lazy(() => import('../pages/Master/Formularium/Master/History')));
const CorporateServices = Loadable(lazy(() => import('../pages/Corporates/Services/Index')));
const CorporateServicesCreate = Loadable(lazy(() => import('../pages/Corporates/Services/Create')));
const CorporateServicesHistory = Loadable(lazy(() => import('../pages/Corporates/Services/sections/History')));