diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2023-04-08 11:46:35 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2023-04-08 11:46:35 +0530 |
| commit | ccf73485cfba952451144d7841cbb3fac8368867 (patch) | |
| tree | 642b374684afa6ad4446af556fd98f118609d5c7 /src/scripts/functionality/view-khatian/index.ts | |
| parent | c59c25bff510166011471b136d12c4217f844eb9 (diff) | |
| download | banglar-bhumi-utils-ccf73485cfba952451144d7841cbb3fac8368867.tar.gz banglar-bhumi-utils-ccf73485cfba952451144d7841cbb3fac8368867.zip | |
Injecting shared modules for the injected scripts, further reusing code.
Diffstat (limited to 'src/scripts/functionality/view-khatian/index.ts')
| -rw-r--r-- | src/scripts/functionality/view-khatian/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/functionality/view-khatian/index.ts b/src/scripts/functionality/view-khatian/index.ts index 0cb3947..e29e8a4 100644 --- a/src/scripts/functionality/view-khatian/index.ts +++ b/src/scripts/functionality/view-khatian/index.ts @@ -1,5 +1,5 @@ import { downloadPDF } from "@/shared/download-pdf"; -import getDetailsPDFContent from "@/scripts/functionality/view-khatian/download-document-content"; +import getDownloadInformationPDFPageContent from "@/scripts/functionality/view-khatian/download-information-pdf-page-content"; declare function load(): void; @@ -27,7 +27,7 @@ document.addEventListener("DOMContentLoaded", () => { const downloadInformationPDF = () => { let contentElement = document.getElementById(isPlotInformation ? "plotdetails" : "khdetails"); - const documentStringContent = getDetailsPDFContent(!!isPlotInformation, contentElement!.innerHTML, { + const documentStringContent = getDownloadInformationPDFPageContent(!!isPlotInformation, contentElement!.innerHTML, { district: getValueOfSelectElement("#lstDistrictCode1"), block: getValueOfSelectElement("#lstBlockCode1"), mouza: getValueOfSelectElement("#lstMouzaList") |
