From 37acd0d038dcf6490507d5a6a56413ceb07f4183 Mon Sep 17 00:00:00 2001 From: Rugute Date: Tue, 30 Jul 2024 16:08:45 +0300 Subject: [PATCH] added defaulter tracing register --- .DS_Store | Bin 6148 -> 6148 bytes packages/esm-providers-app/src/index.ts | 4 ++-- .../dynamic-report-loader-component.tsx | 2 ++ .../report-loader/reportMapping.json | 8 +++++++- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.DS_Store b/.DS_Store index 819c0f272ecd15fef6ecbed4559e5cc555034c15..eea5c580ef02f3d32951ca4cc22db31743152a39 100755 GIT binary patch delta 14 VcmZoMXffE}%*x2P*@g9h5C9>T1Tg>r delta 14 VcmZoMXffE}%*x2H*@g9h5C9>N1TX*q diff --git a/packages/esm-providers-app/src/index.ts b/packages/esm-providers-app/src/index.ts index 35a4e8a1..a5d1aa23 100755 --- a/packages/esm-providers-app/src/index.ts +++ b/packages/esm-providers-app/src/index.ts @@ -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`, }, ]); diff --git a/packages/esm-report-app/src/reports-dashboard/report-loader/dynamic-report-loader-component.tsx b/packages/esm-report-app/src/reports-dashboard/report-loader/dynamic-report-loader-component.tsx index eb1feb58..fcabc63b 100755 --- a/packages/esm-report-app/src/reports-dashboard/report-loader/dynamic-report-loader-component.tsx +++ b/packages/esm-report-app/src/reports-dashboard/report-loader/dynamic-report-loader-component.tsx @@ -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, @@ -34,6 +35,7 @@ const componentMap = { MOH731, RenderJuaMtotoWako, RenderOtzregister, + DefaulterTracingRegister, }; const DynamicReportLoader: React.FC = () => { diff --git a/packages/esm-report-app/src/reports-dashboard/report-loader/reportMapping.json b/packages/esm-report-app/src/reports-dashboard/report-loader/reportMapping.json index bfd8914e..97e7b493 100755 --- a/packages/esm-report-app/src/reports-dashboard/report-loader/reportMapping.json +++ b/packages/esm-report-app/src/reports-dashboard/report-loader/reportMapping.json @@ -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" } -] \ No newline at end of file + +]