Skip to content

Commit

Permalink
Merge pull request #131 from Rugute/main
Browse files Browse the repository at this point in the history
added defaulter tracing register
  • Loading branch information
Rugute authored Jul 30, 2024
2 parents afdcf34 + 37acd0d commit 2ea5523
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
Binary file modified .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions packages/esm-providers-app/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ const options = {
export const importTranslation = require.context('../translations', false, /.json$/, 'lazy');

export function startupApp() {
const morgueBasepath = `${window.spaBase}/home/providers`;
const providerBasepath = `${window.spaBase}/home/providers`;

defineConfigSchema(moduleName, configSchema);
registerBreadcrumbs([
{
title: 'providers',
path: morgueBasepath,
path: providerBasepath,
parent: `${window.spaBase}/home`,
},
]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import html2canvas from 'html2canvas';
import { PDFDocument } from 'pdf-lib';
import reportMapping from './reportMapping.json';
import RenderOtzregister from '../../registers/OTZ/MOH_otz_component';
import DefaulterTracingRegister from '../../registers/MOH_Defaulter_Tracing/Defaulter_Tracing_Register';

const componentMap = {
RenderMOH405,
Expand All @@ -34,6 +35,7 @@ const componentMap = {
MOH731,
RenderJuaMtotoWako,
RenderOtzregister,
DefaulterTracingRegister,
};

const DynamicReportLoader: React.FC = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@
"report_name": "OTZ Register",
"report_uuid": "e8ae582a-2383-4291-837a-1426d650bed3",
"component": "RenderOtzregister"
},
{
"report_name": "Defaulter Tracing",
"report_uuid": "69941a69-9070-4b39-8d30-615533d78b41",
"component": "DefaulterTracingRegister"
}

]

]

0 comments on commit 2ea5523

Please sign in to comment.