From 26649f83873d9e01d23f2927f64155453918aec7 Mon Sep 17 00:00:00 2001
From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>
Date: Thu, 6 Apr 2023 18:40:24 +0530
Subject: Improved the functionality of the Download PDF button and reduced
bundle size manyfold.
---
.../view-khatian/khatian-download-document.ts | 160 +++++++++++++++++++++
1 file changed, 160 insertions(+)
create mode 100644 src/scripts/functionality/view-khatian/khatian-download-document.ts
(limited to 'src/scripts/functionality/view-khatian/khatian-download-document.ts')
diff --git a/src/scripts/functionality/view-khatian/khatian-download-document.ts b/src/scripts/functionality/view-khatian/khatian-download-document.ts
new file mode 100644
index 0000000..c13d0dd
--- /dev/null
+++ b/src/scripts/functionality/view-khatian/khatian-download-document.ts
@@ -0,0 +1,160 @@
+// TODO: Use the local static asset
+const sanghaFacilitationCentreBannerUrl = /* chrome.runtime.getURL("/sangha-facilitation-centre-banner.jpg") */ "https://raw.githubusercontent.com/arpitchakladar/banglar-bhumi-utils/master/static/sangha-facilitation-centre-banner.jpg";
+
+export default (khatianDetails: string, { district, block, mouza }: { district: string, block: string, mouza: string }) => `
+
+
+