plac-micro-common 1.3.82 → 1.3.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- export declare const SIO_FORM_EN_TEMPLATE = "\n<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n <title>SIO Insurance Application Form</title>\n <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">\n <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n <link href=\"https://fonts.googleapis.com/css2?family=Hanuman:wght@100..900&family=Moul&display=swap\" rel=\"stylesheet\">\n <style>\n body {\n font-family: Arial, Helvetica, system-ui, sans-serif;\n font-size: 12px;\n line-height: 1.4;\n margin: 1rem;\n /* Reduced from 2rem */\n background: #fff;\n color: #000;\n }\n\n .font-kh {\n font-family: 'Hanuman', sans-serif !important;\n }\n\n .space {\n width: 8px;\n }\n\n /* margin */\n .ml-4 {margin-left: 1rem; }\n .ml-8 {margin-left: 2rem; }\n\n .mr-4 {margin-right: 1rem; }\n .mr-8 {margin-right: 2rem; }\n\n .mt-4 {margin-top: 1rem; }\n .mt-8 {margin-top: 2rem; }\n\n .mb-4 {margin-bottom: 1rem; }\n .mb-8 {margin-bottom: 2rem; }\n\n /* alignment */\n .align-left { justify-content: flex-start !important; text-align: left; padding-left: 16px; }\n .align-right { justify-content: flex-end !important; text-align: right; padding-right: 16px; }\n .align-center { justify-content: center !important; text-align: center; }\n\n .space-height {\n height: 60px;\n align-items: center;\n }\n\n .signature-space {\n height: 100px;\n margin-top: 10px;\n }\n\n /* === Page header === */\n .page-header {\n margin-bottom: 0.5rem;\n page-break-inside: avoid;\n }\n\n .header-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n .title-logo {\n width: 125px;\n height: auto;\n }\n\n .title {\n font-weight: 700;\n font-size: 14px;\n line-height: 1;\n }\n\n .title-container {\n text-align: center;\n font-weight: 700;\n font-size: 14px;\n line-height: 1.4;\n margin: 0;\n }\n\n /* === Card Header === */\n .card-header {\n background-color: #0d6efd;\n color: white;\n text-align: center;\n padding: 0.1rem 0;\n border-radius: 6px 6px 0 0;\n font-size: 13px;\n font-weight: bold;\n margin-bottom: 0.5rem;\n /* Reduced */\n -webkit-print-color-adjust: exact;\n print-color-adjust: exact;\n }\n\n /* === Form Text === */\n .form-container {\n display: flex;\n flex-wrap: wrap;\n margin: 0;\n padding: 0;\n gap: 0.5rem;\n }\n\n .form-item {\n display: flex;\n align-items: flex-start;\n flex-wrap: wrap;\n width: 100%;\n }\n\n .label,\n .question-label {\n word-wrap: break-word;\n white-space: normal;\n font-weight: 500;\n color: #444;\n }\n\n /* Underline for blanks */\n .underline {\n border-bottom: 1px dashed #000;\n flex: 1;\n min-width: 60px;\n min-height: 1em;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n word-break: break-word;\n white-space: normal;\n -webkit-box-decoration-break: clone;\n box-decoration-break: clone;\n align-self: flex-end;\n color: #000;\n }\n\n /* size variants */\n .underline.xs { flex: none; width: 30px; min-width: unset; }\n .underline.sm { flex: none; width: 80px; min-width: unset; }\n .underline.md { flex: none; width: 180px; min-width: unset; }\n .underline.lg { flex: 2; }\n\n .underline.with-unit {\n flex: 1;\n min-width: 0;\n display: block;\n word-break: break-word;\n white-space: normal;\n border-bottom: none;\n line-height: 1.6em;\n text-align: left;\n padding-left: 4px;\n }\n\n .with-unit .value {\n display: inline;\n text-decoration: underline;\n text-decoration-style: dashed;\n text-decoration-color: #000; \n text-underline-offset: 3px; \n -webkit-box-decoration-break: clone;\n box-decoration-break: clone;\n vertical-align: baseline;\n }\n\n .unit {\n display: inline;\n white-space: nowrap;\n margin-left: 4px;\n text-decoration: none; \n }\n\n /* Checkbox labels */\n .checkbox-label {\n display: inline-flex;\n align-items: center;\n gap: 0.5rem;\n position: relative;\n cursor: pointer;\n padding-left: 0.2rem;\n user-select: none;\n margin-right: 0.5rem;\n }\n\n .checkbox-label::before {\n content: \"\";\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 2px solid #555;\n border-radius: 3px;\n background-color: #fff;\n box-sizing: border-box;\n flex-shrink: 0;\n }\n\n .checkbox-label.checked::after {\n content: \"\u2713\";\n position: absolute;\n top: 50%;\n left: 0.2rem;\n width: 20px;\n height: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #0d6efd;\n transform: translateY(-50%);\n pointer-events: none;\n }\n\n .page-break {\n page-break-before: always;\n }\n\n /* === Table data === */\n .table-container {\n margin: auto;\n margin-bottom: 4px;\n }\n\n table {\n width: 100%;\n border-collapse: collapse;\n }\n\n th,\n td {\n border: 1px solid #ccc;\n padding: 0;\n }\n\n .cell {\n min-height: 10px;\n padding: 4px 8px;\n display: flex;\n justify-content: center;\n text-align: center;\n }\n\n th {\n font-weight: 600;\n }\n\n /* === Print-specific: Footer with Page Numbers on the RIGHT === */\n @media print {\n body {\n margin: 0;\n padding-top: 10mm;\n }\n\n /* Make room for footer on the right side */\n @page {\n size: A4 portrait;\n margin: 15mm 15mm 20mm 10mm;\n /* increased right margin slightly for better spacing */\n\n @bottom-right {\n content: \"Page \" counter(page) \" of \" counter(pages);\n font-size: 11px;\n color: #555;\n }\n }\n\n /* Increment page counter */\n body {\n counter-increment: page;\n }\n\n .page-header,\n .title-container,\n table {\n page-break-inside: avoid;\n }\n\n .card-header {\n -webkit-print-color-adjust: exact;\n print-color-adjust: exact;\n }\n }\n </style>\n </head>\n\n <body>\n <div class=\"page-header mb-8\">\n <img src=\"data:image/png;base64,<%= logo_base64 %>\" alt=\"Logo\" class=\"title-logo\" />\n <div class=\"title-container\">\n <h1 class=\"title\">LIFE ASSURANCE APPLICATION FORM</h1>\n <h1 class=\"title\">\n SIMPLIFY FORM FOR CHOKCHEY FINANCE PLC (SIO)\n </h1>\n </div>\n </div>\n\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"label\">Branch Name and Code:</span>\n <span class=\"underline\">\n <%= branch_staff_app_info.branch_name %> / <%= branch_staff_app_info.branch_code %>\n </span>\n <span class=\"label\">Advisor's Name and Code:</span>\n <span class=\"underline\">\n <%= branch_staff_app_info.advisor_name %> / <%= branch_staff_app_info.advisor_code %>\n </span>\n </div>\n <div class=\"form-item\">\n <span class=\"label\">Bank staff's name and code:</span>\n <span class=\"underline\">\n <%= branch_staff_app_info.bank_staff_name %> / <%= branch_staff_app_info.bank_staff_code %>\n </span>\n <span class=\"label\">Application Number:</span>\n <span class=\"underline\">\n <%= branch_staff_app_info.application_no %>\n </span>\n </div>\n </div>\n\n <!-- Section 1 -->\n <div class=\"card-header mt-4\">INFORMATION ABOUT THE APPLICANT</div>\n\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"label\">Full Name as shown in identity documents: in KH Language:</span>\n <span class=\"underline font-kh\"><%= applicant_info.full_name_kh %></span>\n <span class=\"label\">EN Language:</span>\n <span class=\"underline\"><%= applicant_info.full_name %></span>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">Gender:</span>\n <label class=\"checkbox-label <%= applicant_info.gender === 'M' ? 'checked' : '' %>\">M</label>\n <label class=\"checkbox-label <%= applicant_info.gender === 'F' ? 'checked' : '' %>\">F</label>\n\n <div class=\"ml-8\"></div>\n\n <div>\n <span class=\"label\">Marital Status:</span>\n <label class=\"checkbox-label <%= applicant_info.marital_status === 'single' ? 'checked' : '' %>\">\n Single\n </label>\n <label class=\"checkbox-label <%= applicant_info.marital_status === 'married' ? 'checked' : '' %>\">\n Married\n </label>\n <label class=\"checkbox-label <%= applicant_info.marital_status === 'divorced' ? 'checked' : '' %>\">\n Divorced\n </label>\n <label class=\"checkbox-label <%= applicant_info.marital_status === 'widowed' ? 'checked' : '' %>\">\n Widowed\n </label>\n </div>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">Job Title and Nature of Work:</span>\n <span class=\"underline align-left\"><%= applicant_info.occupation %></span>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">Identity documents:</span>\n <label class=\"checkbox-label <%= applicant_info.identity_type === 'nid' ? 'checked' : '' %>\">\n National ID Card\n </label>\n <label class=\"checkbox-label <%= applicant_info.identity_type === 'passport' ? 'checked' : '' %>\">\n Passport\n </label>\n <label class=\"checkbox-label <%= applicant_info.identity_type === 'birth' ? 'checked' : '' %>\">\n Birth Certificate\n </label>\n <label class=\"checkbox-label <%= applicant_info.identity_type === 'other' ? 'checked' : '' %>\">\n Others :\n </label>\n\n\n <!-- other field stays separate since it has extra input -->\n <label class=\"underline\"><%= applicant_info.identity_other_description %></label>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">Identity #</span>\n <span class=\"underline\"><%= applicant_info.identity_no %></span>\n <span class=\"label\">DOB:</span>\n <span class=\"underline\"><%= applicant_info.date_of_birth %></span>\n <span class=\"label\">Age:</span>\n <span class=\"underline xs\"><%= applicant_info.age %></span>\n <span class=\"label\">Nationality:</span>\n <span class=\"underline\"><%= applicant_info.nationality %></span>\n <span class=\"label\">Phone #:</span>\n <span class=\"underline\"><%= applicant_info.phone_number %></span>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">Current Address:</span>\n <span class=\"underline align-left\"><%= applicant_info.current_address %></span>\n </div>\n\n\n </div>\n\n\n\n <div class=\"form-container\">\n <div class=\"form-item mt-4\">\n <span class=\"label\">Declaration on FATCA implementation</span>\n </div>\n <div class=\"form-item\">\n <span class=\"label\">\n The Policyholder is not USA citizen / USA resident for tax purpose or holding Green Card.\n </span>\n </div>\n <div class=\"form-item\">\n <label class=\"checkbox-label <%= fatca_info.is_fatca === false ? 'checked' : '' %>\">No</label>\n <label class=\"checkbox-label <%= fatca_info.is_fatca === true ? 'checked' : '' %>\">Yes</label>\n <span class=\"label\">US TIN #:</span>\n <span class=\"underline\"><%= fatca_info.us_tin_no %></span>\n <span class=\"label\">FATCA Exemption Code (If have):</span>\n <span class=\"underline\"><%= fatca_info.fatca_exempt_code %></span>\n </div>\n <div class=\"form-item\">\n <span class=\"label\">\n If any of the certifications I have provided are incorrect, I will submit a new document within 30 days, and I certify that I am not subject to U.S. withholding tax.\n </span>\n </div>\n </div>\n\n\n\n <!-- Section 2 -->\n <div class=\"card-header mt-4\">INFORMATION ABOUT THE PRODUCT\n </div>\n <div class=\"table-container\">\n <table>\n <thead>\n <tr>\n <th><div class=\"cell\">NAME OF PRODUCT AND TERMS</div></th>\n <th><div class=\"cell\">SUM ASSURED (USD)</div></th>\n <th><div class=\"cell\">MODE OF PAYMENT</div></th>\n <th>\n <div class=\"cell\">PREMIUM (USD)</div>\n </th>\n </tr>\n </thead>\n <tbody>\n <% product_payment_info?.products?.forEach(function(product) { %>\n <tr>\n <td><div class=\"cell\"><%= product.name %> <%= product.term %></div></td>\n <td><div class=\"cell\"><%= product.sum_assured %></div></td>\n <td><div class=\"cell\"><%= product.payment_mode %></div></td>\n <td><div class=\"cell\"><%= product.premium %></div></td>\n </tr>\n <% }) %>\n </tbody>\n </table>\n </div>\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"question-label\">Method of payment:</span>\n <label class=\"checkbox-label <%= product_payment_info.payment_method === 'transfer_to_plac' ? 'checked' : '' %>\">\n Credit to Phillip Life Account\n </label>\n <label class=\"checkbox-label <%= product_payment_info.payment_method === 'other' ? 'checked' : '' %>\">\n Through Phillip Life's partner\n </label>\n </div>\n </div>\n\n <!-- Section 3 -->\n <div class=\"card-header mt-4\">INFORMATION ABOUT THE BENEFICIARY(IES)</div>\n <div class=\"table-container\">\n <table>\n <thead>\n <tr>\n <th><div class=\"cell\">FULL NAME OF BENEFICIARY</div></th>\n <th><div class=\"cell\">AGE</div></th>\n <th><div class=\"cell\">RELATIONSHIP</div></th>\n <th><div class=\"cell\">IDENTITY NUMBER</div></th>\n <th><div class=\"cell\">% OF SHARE</div></th>\n </tr>\n </thead>\n <tbody>\n <% beneficiary_info?.forEach(function(beneficiary) { %>\n <tr>\n <td><div class=\"cell\"><%= beneficiary.full_name %></div></td>\n <td><div class=\"cell\"><%= beneficiary.age %></div></td>\n <td><div class=\"cell\"><%= beneficiary.relationship %></div></td>\n <td><div class=\"cell\"><%= beneficiary.id_number %></div></td>\n <td><div class=\"cell\"><%= beneficiary.percentage %></div></td>\n </tr>\n <% }) %>\n <tr>\n <td colspan=\"4\">\n <div class=\"cell\">\n Note:\n If the percentage is not specified the amount will be shared equally\n </div>\n </td>\n <td><div class=\"cell\">% Total 100 %</div></td>\n </tr>\n </tbody>\n </table>\n </div>\n\n <!-- Section 4 -->\n <div class=\"page-break\"></div>\n <div class=\"card-header\">\n HEALTH RELATED QUESTIONS\n </div>\n\n <!-- Question 1 -->\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"label\">1) Height:</span>\n <span class=\"underline sm\"><%= health_info.height %></span>\n <span class=\"label\">cm</span>\n <div class=\"space\"></div>\n <span class=\"label\">Weight:</span>\n <span class=\"underline sm\"><%= health_info.weight %></span>\n <span class=\"label\">Kg</span>\n <div class=\"space\"></div>\n <span class=\"question-label\">A) Do you smoke?</span>\n <label class=\"checkbox-label <%= health_info.is_smoke === false ? 'checked' : '' %>\">\n No\n </label>\n <label class=\"checkbox-label <%= health_info.is_smoke === true ? 'checked' : '' %>\">\n Yes\n </label>\n </div>\n\n <div class=\"form-item mb-4\">\n <span class=\"label\">How many</span>\n <% if (health_info.smoke_detail) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= health_info.smoke_detail %></span>\n <span class=\"unit\">per day</span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n </div>\n </div>\n\n <!-- Question 2 -->\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"question-label\">2) Do you drink alcohol?</span>\n <label class=\"checkbox-label <%= health_info.is_drink_alcohol === false ? 'checked' : '' %>\">\n No\n </label>\n <label class=\"checkbox-label <%= health_info.is_drink_alcohol === true ? 'checked' : '' %>\">\n Yes\n </label>\n </div>\n <div class=\"form-item mb-4\">\n <span class=\"label\">Please specify amount of drink per week</span>\n <% if (health_info.drink_alcohol_detail) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= health_info.drink_alcohol_detail %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n </div>\n </div>\n\n <!-- Question 3 -->\n <div class=\"form-container\">\n <span class=\"question-label\">\n 3) In the past 2 years, have you ever been hospitalized, undergone any surgical operation, or had abnormal results such as: Blood test, Urine test, X-ray, ECG, Ultrasound, Scan, Biopsy or any other test results.\n </span>\n <div class=\"form-item\">\n <label class=\"checkbox-label <%= health_info.is_hospitalized === false ? 'checked' : '' %>\">\n No\n </label>\n <label class=\"checkbox-label <%= health_info.is_hospitalized === true ? 'checked' : '' %>\">\n Yes\n </label>\n </div>\n\n <div class=\"form-item mb-4\">\n <span class=\"label\">provided more details:</span>\n <% if (health_info.hospitalized_detail) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= health_info.hospitalized_detail %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n </div>\n </div>\n\n <!-- Question 4 -->\n <div class=\"form-container\"> \n <span class=\"question-label\">\n 4) Have you ever been diagnosed with, consulted a medical practitioner or been given treatment for any of the following conditions: Hypertension, Diabetes, Heart diseases, Chest pain, Lung diseases, Liver disease, Renal diseases, Cancer, Stroke, AIDS, Mental illness, Disability or Deformity, Drug or Alcohol Abuse or Any other diseases are not mentioned above.\n </span>\n <div class=\"form-item\">\n <label class=\"checkbox-label <%= health_info.is_diagnosed === false ? 'checked' : '' %>\">\n No\n </label>\n <label class=\"checkbox-label <%= health_info.is_diagnosed === true ? 'checked' : '' %>\">\n Yes\n </label>\n \n </div>\n <div class=\"form-item mb-4\">\n <span class=\"label\">if yes, please provided more details:</span>\n <% if (health_info.diagnosed_detail) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= health_info.diagnosed_detail %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n </div>\n </div>\n\n <!-- Section 5 -->\n <div class=\"card-header mt-4\">DECLARATION BY THE APPLICANT</div>\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"label\">\n 1) I authorize and consent the Company to use all of my information provided in my application form for legal purposes such as marketing, market survey and customer service by company, affiliate, or business partner without my prior consent or notification. The Company shall not allow to disclose any information of any other purpose not related to the above-mentioned purpose without prior consent in writing.\n </span>\n </div>\n <div class=\"form-item\">\n <span class=\"label\">\n 2) I hereby confirm that I have read and understood all the information in this document. I declare that all the information provided in this application form is complete, accurate, and true.\n </span>\n </div>\n </div>\n <div class=\"table-container mt-4\">\n <table>\n <thead>\n <tr>\n <th style=\"width: 50%\">\n <div class=\"cell\">\n Signature or Thumb print of the Applicant\n </div>\n <div class=\"signature-space\"></div>\n </th>\n <th style=\"width: 50%\">\n <div class=\"cell\">Signature or Thumb print of the witness</div>\n <div class=\"signature-space\"></div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>\n <div class=\"form-container space-height\">\n <div class=\"form-item\">\n <div class=\"space\"></div>\n <span class=\"label\">Name</span>\n <% if (signature_info.applicant_name) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= signature_info.applicant_name %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n <div class=\"space\"></div> \n </div>\n </div>\n </td>\n <td>\n <div class=\"form-container space-height\">\n <div class=\"form-item\">\n <div class=\"space\"></div>\n <span class=\"label\">Name</span>\n <% if (signature_info.witness_name) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= signature_info.witness_name %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n <div class=\"space\"></div> \n </div>\n </div>\n </td>\n </tr>\n <tr>\n <td>\n <div class=\"form-container space-height\">\n <div class=\"form-item\">\n <div class=\"space\"></div>\n <span class=\"label\">Date</span>\n <% if (signature_info.applicant_signature_date) { %>\n <span class=\"underline with-unit\" >\n <span class=\"value\"><%= signature_info.applicant_signature_date %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n <div class=\"space\"></div> \n </div>\n </div>\n </td>\n <td>\n <div class=\"form-container space-height\">\n <div class=\"form-item\">\n <div class=\"space\"></div>\n <span class=\"label\">Date</span>\n <% if (signature_info.witness_signature_date) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= signature_info.witness_signature_date %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n <div class=\"space\"></div> \n </div>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </body>\n</html>\n";
1
+ export declare const SIO_FORM_EN_TEMPLATE = "\n<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n <title>SIO Insurance Application Form</title>\n <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">\n <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n <link href=\"https://fonts.googleapis.com/css2?family=Hanuman:wght@100..900&family=Moul&display=swap\" rel=\"stylesheet\">\n <style>\n body {\n font-family: Arial, Helvetica, system-ui, sans-serif;\n font-size: 12px;\n line-height: 1.4;\n margin: 1rem;\n /* Reduced from 2rem */\n background: #fff;\n color: #000;\n }\n\n .font-kh {\n font-family: 'Hanuman', sans-serif !important;\n }\n\n .space {\n width: 8px;\n }\n\n /* margin */\n .ml-4 {margin-left: 1rem; }\n .ml-8 {margin-left: 2rem; }\n\n .mr-4 {margin-right: 1rem; }\n .mr-8 {margin-right: 2rem; }\n\n .mt-4 {margin-top: 1rem; }\n .mt-8 {margin-top: 2rem; }\n\n .mb-4 {margin-bottom: 1rem; }\n .mb-8 {margin-bottom: 2rem; }\n\n /* alignment */\n .align-left { justify-content: flex-start !important; text-align: left; padding-left: 16px; }\n .align-right { justify-content: flex-end !important; text-align: right; padding-right: 16px; }\n .align-center { justify-content: center !important; text-align: center; }\n\n .space-height {\n height: 60px;\n align-items: center;\n }\n\n .signature-space {\n height: 100px;\n margin-top: 10px;\n }\n\n /* === Page header === */\n .page-header {\n margin-bottom: 0.5rem;\n page-break-inside: avoid;\n }\n\n .header-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n .title-logo {\n width: 125px;\n height: auto;\n }\n\n .title {\n font-weight: 700;\n font-size: 14px;\n line-height: 1;\n }\n\n .title-container {\n text-align: center;\n font-weight: 700;\n font-size: 14px;\n line-height: 1.4;\n margin: 0;\n }\n\n /* === Card Header === */\n .card-header {\n background-color: #0d6efd;\n color: white;\n text-align: center;\n padding: 0.1rem 0;\n border-radius: 6px 6px 0 0;\n font-size: 13px;\n font-weight: bold;\n margin-bottom: 0.5rem;\n /* Reduced */\n -webkit-print-color-adjust: exact;\n print-color-adjust: exact;\n }\n\n /* === Form Text === */\n .form-container {\n display: flex;\n flex-wrap: wrap;\n margin: 0;\n padding: 0;\n gap: 0.5rem;\n }\n\n .form-item {\n display: flex;\n align-items: flex-start;\n flex-wrap: wrap;\n width: 100%;\n }\n\n .label,\n .question-label {\n word-wrap: break-word;\n white-space: normal;\n font-weight: 500;\n color: #444;\n }\n\n /* Underline for blanks */\n .underline {\n border-bottom: 1px dashed #000;\n flex: 1;\n min-width: 60px;\n min-height: 1em;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n word-break: break-word;\n white-space: normal;\n -webkit-box-decoration-break: clone;\n box-decoration-break: clone;\n align-self: flex-end;\n color: #000;\n }\n\n /* size variants */\n .underline.xs { flex: none; width: 30px; min-width: unset; }\n .underline.sm { flex: none; width: 80px; min-width: unset; }\n .underline.md { flex: none; width: 180px; min-width: unset; }\n .underline.lg { flex: 2; }\n\n .underline.with-unit {\n flex: 1;\n min-width: 0;\n display: block;\n word-break: break-word;\n white-space: normal;\n border-bottom: none;\n line-height: 1.6em;\n text-align: left;\n padding-left: 4px;\n }\n\n .with-unit .value {\n display: inline;\n text-decoration: underline;\n text-decoration-style: dashed;\n text-decoration-color: #000; \n text-underline-offset: 3px; \n -webkit-box-decoration-break: clone;\n box-decoration-break: clone;\n vertical-align: baseline;\n }\n\n .unit {\n display: inline;\n white-space: nowrap;\n margin-left: 4px;\n text-decoration: none; \n }\n\n /* Checkbox labels */\n .checkbox-label {\n display: inline-flex;\n align-items: center;\n gap: 0.5rem;\n position: relative;\n cursor: pointer;\n padding-left: 0.2rem;\n user-select: none;\n margin-right: 0.5rem;\n }\n\n .checkbox-label::before {\n content: \"\";\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 2px solid #555;\n border-radius: 3px;\n background-color: #fff;\n box-sizing: border-box;\n flex-shrink: 0;\n }\n\n .checkbox-label.checked::after {\n content: \"\";\n position: absolute;\n top: 45%;\n left: calc(0.2rem + 7px);\n width: 6px;\n height: 12px;\n border: solid #0d6efd;\n border-width: 0 2px 2px 0;\n box-sizing: border-box;\n transform: translateY(-50%) rotate(45deg);\n pointer-events: none;\n }\n\n .page-break {\n page-break-before: always;\n }\n\n /* === Table data === */\n .table-container {\n margin: auto;\n margin-bottom: 4px;\n }\n\n table {\n width: 100%;\n border-collapse: collapse;\n }\n\n th,\n td {\n border: 1px solid #ccc;\n padding: 0;\n }\n\n .cell {\n min-height: 10px;\n padding: 4px 8px;\n display: flex;\n justify-content: center;\n text-align: center;\n }\n\n th {\n font-weight: 600;\n }\n\n /* === Print-specific: Footer with Page Numbers on the RIGHT === */\n @media print {\n body {\n margin: 0;\n padding-top: 10mm;\n }\n\n /* Make room for footer on the right side */\n @page {\n size: A4 portrait;\n margin: 15mm 15mm 20mm 10mm;\n /* increased right margin slightly for better spacing */\n\n @bottom-right {\n content: \"Page \" counter(page) \" of \" counter(pages);\n font-size: 11px;\n color: #555;\n }\n }\n\n /* Increment page counter */\n body {\n counter-increment: page;\n }\n\n .page-header,\n .title-container,\n table {\n page-break-inside: avoid;\n }\n\n .card-header {\n -webkit-print-color-adjust: exact;\n print-color-adjust: exact;\n }\n }\n </style>\n </head>\n\n <body>\n <div class=\"page-header mb-8\">\n <img src=\"data:image/png;base64,<%= logo_base64 %>\" alt=\"Logo\" class=\"title-logo\" />\n <div class=\"title-container\">\n <h1 class=\"title\">LIFE ASSURANCE APPLICATION FORM</h1>\n <h1 class=\"title\">\n SIMPLIFY FORM FOR CHOKCHEY FINANCE PLC (SIO)\n </h1>\n </div>\n </div>\n\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"label\">Branch Name and Code:</span>\n <span class=\"underline\">\n <%= branch_staff_app_info.branch_name %> / <%= branch_staff_app_info.branch_code %>\n </span>\n <span class=\"label\">Advisor's Name and Code:</span>\n <span class=\"underline\">\n <%= branch_staff_app_info.advisor_name %> / <%= branch_staff_app_info.advisor_code %>\n </span>\n </div>\n <div class=\"form-item\">\n <span class=\"label\">Bank staff's name and code:</span>\n <span class=\"underline\">\n <%= branch_staff_app_info.bank_staff_name %> / <%= branch_staff_app_info.bank_staff_code %>\n </span>\n <span class=\"label\">Application Number:</span>\n <span class=\"underline\">\n <%= branch_staff_app_info.application_no %>\n </span>\n </div>\n </div>\n\n <!-- Section 1 -->\n <div class=\"card-header mt-4\">INFORMATION ABOUT THE APPLICANT</div>\n\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"label\">Full Name as shown in identity documents: in KH Language:</span>\n <span class=\"underline font-kh\"><%= applicant_info.full_name_kh %></span>\n <span class=\"label\">EN Language:</span>\n <span class=\"underline\"><%= applicant_info.full_name %></span>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">Gender:</span>\n <label class=\"checkbox-label <%= applicant_info.gender === 'M' ? 'checked' : '' %>\">M</label>\n <label class=\"checkbox-label <%= applicant_info.gender === 'F' ? 'checked' : '' %>\">F</label>\n\n <div class=\"ml-8\"></div>\n\n <div>\n <span class=\"label\">Marital Status:</span>\n <label class=\"checkbox-label <%= applicant_info.marital_status === 'single' ? 'checked' : '' %>\">\n Single\n </label>\n <label class=\"checkbox-label <%= applicant_info.marital_status === 'married' ? 'checked' : '' %>\">\n Married\n </label>\n <label class=\"checkbox-label <%= applicant_info.marital_status === 'divorced' ? 'checked' : '' %>\">\n Divorced\n </label>\n <label class=\"checkbox-label <%= applicant_info.marital_status === 'widowed' ? 'checked' : '' %>\">\n Widowed\n </label>\n </div>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">Job Title and Nature of Work:</span>\n <span class=\"underline align-left\"><%= applicant_info.occupation %></span>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">Identity documents:</span>\n <label class=\"checkbox-label <%= applicant_info.identity_type === 'nid' ? 'checked' : '' %>\">\n National ID Card\n </label>\n <label class=\"checkbox-label <%= applicant_info.identity_type === 'passport' ? 'checked' : '' %>\">\n Passport\n </label>\n <label class=\"checkbox-label <%= applicant_info.identity_type === 'birth' ? 'checked' : '' %>\">\n Birth Certificate\n </label>\n <label class=\"checkbox-label <%= applicant_info.identity_type === 'other' ? 'checked' : '' %>\">\n Others :\n </label>\n\n\n <!-- other field stays separate since it has extra input -->\n <label class=\"underline\"><%= applicant_info.identity_other_description %></label>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">Identity #</span>\n <span class=\"underline\"><%= applicant_info.identity_no %></span>\n <span class=\"label\">DOB:</span>\n <span class=\"underline\"><%= applicant_info.date_of_birth %></span>\n <span class=\"label\">Age:</span>\n <span class=\"underline xs\"><%= applicant_info.age %></span>\n <span class=\"label\">Nationality:</span>\n <span class=\"underline\"><%= applicant_info.nationality %></span>\n <span class=\"label\">Phone #:</span>\n <span class=\"underline\"><%= applicant_info.phone_number %></span>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">Current Address:</span>\n <span class=\"underline align-left\"><%= applicant_info.current_address %></span>\n </div>\n\n\n </div>\n\n\n\n <div class=\"form-container\">\n <div class=\"form-item mt-4\">\n <span class=\"label\">Declaration on FATCA implementation</span>\n </div>\n <div class=\"form-item\">\n <span class=\"label\">\n The Policyholder is not USA citizen / USA resident for tax purpose or holding Green Card.\n </span>\n </div>\n <div class=\"form-item\">\n <label class=\"checkbox-label <%= fatca_info.is_fatca === false ? 'checked' : '' %>\">No</label>\n <label class=\"checkbox-label <%= fatca_info.is_fatca === true ? 'checked' : '' %>\">Yes</label>\n <span class=\"label\">US TIN #:</span>\n <span class=\"underline\"><%= fatca_info.us_tin_no %></span>\n <span class=\"label\">FATCA Exemption Code (If have):</span>\n <span class=\"underline\"><%= fatca_info.fatca_exempt_code %></span>\n </div>\n <div class=\"form-item\">\n <span class=\"label\">\n If any of the certifications I have provided are incorrect, I will submit a new document within 30 days, and I certify that I am not subject to U.S. withholding tax.\n </span>\n </div>\n </div>\n\n\n\n <!-- Section 2 -->\n <div class=\"card-header mt-4\">INFORMATION ABOUT THE PRODUCT\n </div>\n <div class=\"table-container\">\n <table>\n <thead>\n <tr>\n <th><div class=\"cell\">NAME OF PRODUCT AND TERMS</div></th>\n <th><div class=\"cell\">SUM ASSURED (USD)</div></th>\n <th><div class=\"cell\">MODE OF PAYMENT</div></th>\n <th>\n <div class=\"cell\">PREMIUM (USD)</div>\n </th>\n </tr>\n </thead>\n <tbody>\n <% product_payment_info?.products?.forEach(function(product) { %>\n <tr>\n <td><div class=\"cell\"><%= product.name %> <%= product.term %></div></td>\n <td><div class=\"cell\"><%= product.sum_assured %></div></td>\n <td><div class=\"cell\"><%= product.payment_mode %></div></td>\n <td><div class=\"cell\"><%= product.premium %></div></td>\n </tr>\n <% }) %>\n </tbody>\n </table>\n </div>\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"question-label\">Method of payment:</span>\n <label class=\"checkbox-label <%= product_payment_info.payment_method === 'transfer_to_plac' ? 'checked' : '' %>\">\n Credit to Phillip Life Account\n </label>\n <label class=\"checkbox-label <%= product_payment_info.payment_method === 'other' ? 'checked' : '' %>\">\n Through Phillip Life's partner\n </label>\n </div>\n </div>\n\n <!-- Section 3 -->\n <div class=\"card-header mt-4\">INFORMATION ABOUT THE BENEFICIARY(IES)</div>\n <div class=\"table-container\">\n <table>\n <thead>\n <tr>\n <th><div class=\"cell\">FULL NAME OF BENEFICIARY</div></th>\n <th><div class=\"cell\">AGE</div></th>\n <th><div class=\"cell\">RELATIONSHIP</div></th>\n <th><div class=\"cell\">IDENTITY NUMBER</div></th>\n <th><div class=\"cell\">% OF SHARE</div></th>\n </tr>\n </thead>\n <tbody>\n <% beneficiary_info?.forEach(function(beneficiary) { %>\n <tr>\n <td><div class=\"cell\"><%= beneficiary.full_name %></div></td>\n <td><div class=\"cell\"><%= beneficiary.age %></div></td>\n <td><div class=\"cell\"><%= beneficiary.relationship %></div></td>\n <td><div class=\"cell\"><%= beneficiary.id_number %></div></td>\n <td><div class=\"cell\"><%= beneficiary.percentage %></div></td>\n </tr>\n <% }) %>\n <tr>\n <td colspan=\"4\">\n <div class=\"cell\">\n Note:\n If the percentage is not specified the amount will be shared equally\n </div>\n </td>\n <td><div class=\"cell\">% Total 100 %</div></td>\n </tr>\n </tbody>\n </table>\n </div>\n\n <!-- Section 4 -->\n <div class=\"page-break\"></div>\n <div class=\"card-header\">\n HEALTH RELATED QUESTIONS\n </div>\n\n <!-- Question 1 -->\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"label\">1) Height:</span>\n <span class=\"underline sm\"><%= health_info.height %></span>\n <span class=\"label\">cm</span>\n <div class=\"space\"></div>\n <span class=\"label\">Weight:</span>\n <span class=\"underline sm\"><%= health_info.weight %></span>\n <span class=\"label\">Kg</span>\n <div class=\"space\"></div>\n <span class=\"question-label\">A) Do you smoke?</span>\n <label class=\"checkbox-label <%= health_info.is_smoke === false ? 'checked' : '' %>\">\n No\n </label>\n <label class=\"checkbox-label <%= health_info.is_smoke === true ? 'checked' : '' %>\">\n Yes\n </label>\n </div>\n\n <div class=\"form-item mb-4\">\n <span class=\"label\">How many</span>\n <% if (health_info.smoke_detail) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= health_info.smoke_detail %></span>\n <span class=\"unit\">per day</span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n </div>\n </div>\n\n <!-- Question 2 -->\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"question-label\">2) Do you drink alcohol?</span>\n <label class=\"checkbox-label <%= health_info.is_drink_alcohol === false ? 'checked' : '' %>\">\n No\n </label>\n <label class=\"checkbox-label <%= health_info.is_drink_alcohol === true ? 'checked' : '' %>\">\n Yes\n </label>\n </div>\n <div class=\"form-item mb-4\">\n <span class=\"label\">Please specify amount of drink per week</span>\n <% if (health_info.drink_alcohol_detail) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= health_info.drink_alcohol_detail %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n </div>\n </div>\n\n <!-- Question 3 -->\n <div class=\"form-container\">\n <span class=\"question-label\">\n 3) In the past 2 years, have you ever been hospitalized, undergone any surgical operation, or had abnormal results such as: Blood test, Urine test, X-ray, ECG, Ultrasound, Scan, Biopsy or any other test results.\n </span>\n <div class=\"form-item\">\n <label class=\"checkbox-label <%= health_info.is_hospitalized === false ? 'checked' : '' %>\">\n No\n </label>\n <label class=\"checkbox-label <%= health_info.is_hospitalized === true ? 'checked' : '' %>\">\n Yes\n </label>\n </div>\n\n <div class=\"form-item mb-4\">\n <span class=\"label\">provided more details:</span>\n <% if (health_info.hospitalized_detail) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= health_info.hospitalized_detail %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n </div>\n </div>\n\n <!-- Question 4 -->\n <div class=\"form-container\"> \n <span class=\"question-label\">\n 4) Have you ever been diagnosed with, consulted a medical practitioner or been given treatment for any of the following conditions: Hypertension, Diabetes, Heart diseases, Chest pain, Lung diseases, Liver disease, Renal diseases, Cancer, Stroke, AIDS, Mental illness, Disability or Deformity, Drug or Alcohol Abuse or Any other diseases are not mentioned above.\n </span>\n <div class=\"form-item\">\n <label class=\"checkbox-label <%= health_info.is_diagnosed === false ? 'checked' : '' %>\">\n No\n </label>\n <label class=\"checkbox-label <%= health_info.is_diagnosed === true ? 'checked' : '' %>\">\n Yes\n </label>\n \n </div>\n <div class=\"form-item mb-4\">\n <span class=\"label\">if yes, please provided more details:</span>\n <% if (health_info.diagnosed_detail) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= health_info.diagnosed_detail %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n </div>\n </div>\n\n <!-- Section 5 -->\n <div class=\"card-header mt-4\">DECLARATION BY THE APPLICANT</div>\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"label\">\n 1) I authorize and consent the Company to use all of my information provided in my application form for legal purposes such as marketing, market survey and customer service by company, affiliate, or business partner without my prior consent or notification. The Company shall not allow to disclose any information of any other purpose not related to the above-mentioned purpose without prior consent in writing.\n </span>\n </div>\n <div class=\"form-item\">\n <span class=\"label\">\n 2) I hereby confirm that I have read and understood all the information in this document. I declare that all the information provided in this application form is complete, accurate, and true.\n </span>\n </div>\n </div>\n <div class=\"table-container mt-4\">\n <table>\n <thead>\n <tr>\n <th style=\"width: 50%\">\n <div class=\"cell\">\n Signature or Thumb print of the Applicant\n </div>\n <div class=\"signature-space\"></div>\n </th>\n <th style=\"width: 50%\">\n <div class=\"cell\">Signature or Thumb print of the witness</div>\n <div class=\"signature-space\"></div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>\n <div class=\"form-container space-height\">\n <div class=\"form-item\">\n <div class=\"space\"></div>\n <span class=\"label\">Name</span>\n <% if (signature_info.applicant_name) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= signature_info.applicant_name %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n <div class=\"space\"></div> \n </div>\n </div>\n </td>\n <td>\n <div class=\"form-container space-height\">\n <div class=\"form-item\">\n <div class=\"space\"></div>\n <span class=\"label\">Name</span>\n <% if (signature_info.witness_name) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= signature_info.witness_name %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n <div class=\"space\"></div> \n </div>\n </div>\n </td>\n </tr>\n <tr>\n <td>\n <div class=\"form-container space-height\">\n <div class=\"form-item\">\n <div class=\"space\"></div>\n <span class=\"label\">Date</span>\n <% if (signature_info.applicant_signature_date) { %>\n <span class=\"underline with-unit\" >\n <span class=\"value\"><%= signature_info.applicant_signature_date %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n <div class=\"space\"></div> \n </div>\n </div>\n </td>\n <td>\n <div class=\"form-container space-height\">\n <div class=\"form-item\">\n <div class=\"space\"></div>\n <span class=\"label\">Date</span>\n <% if (signature_info.witness_signature_date) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= signature_info.witness_signature_date %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n <div class=\"space\"></div> \n </div>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </body>\n</html>\n";
@@ -209,17 +209,16 @@ exports.SIO_FORM_EN_TEMPLATE = `
209
209
  }
210
210
 
211
211
  .checkbox-label.checked::after {
212
- content: "";
212
+ content: "";
213
213
  position: absolute;
214
- top: 50%;
215
- left: 0.2rem;
216
- width: 20px;
217
- height: 20px;
218
- display: flex;
219
- align-items: center;
220
- justify-content: center;
221
- color: #0d6efd;
222
- transform: translateY(-50%);
214
+ top: 45%;
215
+ left: calc(0.2rem + 7px);
216
+ width: 6px;
217
+ height: 12px;
218
+ border: solid #0d6efd;
219
+ border-width: 0 2px 2px 0;
220
+ box-sizing: border-box;
221
+ transform: translateY(-50%) rotate(45deg);
223
222
  pointer-events: none;
224
223
  }
225
224
 
@@ -1 +1 @@
1
- export declare const SIO_FORM_KH_TEMPLATE = "\n<!doctype html>\n<html lang=\"km\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n <title>\u1796\u17B6\u1780\u17D2\u1799\u179F\u17D2\u1793\u17BE\u179F\u17BB\u17C6\u1792\u17B6\u1793\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\u17A2\u17B6\u1799\u17BB\u1787\u17B8\u179C\u17B7\u178F</title>\n <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">\n <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n <link href=\"https://fonts.googleapis.com/css2?family=Hanuman:wght@100..900&family=Moul&display=swap\" rel=\"stylesheet\">\n <style>\n body {\n font-family: \"Hanuman\", system-ui, sans-serif;\n font-size: 12px;\n line-height: 1.4;\n margin: 1rem;\n /* Reduced from 2rem */\n background: #fff;\n color: #000;\n }\n\n .space {\n width: 8px;\n }\n\n /* margin */\n .ml-4 {margin-left: 1rem; }\n .ml-8 {margin-left: 2rem; }\n\n .mr-4 {margin-right: 1rem; }\n .mr-8 {margin-right: 2rem; }\n\n .mt-4 {margin-top: 1rem; }\n .mt-8 {margin-top: 2rem; }\n\n .mb-4 {margin-bottom: 1rem; }\n .mb-8 {margin-bottom: 2rem; }\n\n /* alignment */\n .align-left { justify-content: flex-start !important; text-align: left; padding-left: 16px; }\n .align-right { justify-content: flex-end !important; text-align: right; padding-right: 16px; }\n .align-center { justify-content: center !important; text-align: center; }\n\n .space-height {\n height: 60px;\n align-items: center;\n }\n\n .signature-space {\n height: 100px;\n margin-top: 10px;\n }\n\n /* === Page header === */\n .page-header {\n margin-bottom: 0.5rem;\n page-break-inside: avoid;\n }\n\n .header-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n .title-logo {\n width: 125px;\n height: auto;\n }\n\n .title {\n font-weight: 700;\n font-size: 14px;\n line-height: 1;\n }\n\n .title-container {\n text-align: center;\n font-weight: 700;\n font-size: 14px;\n line-height: 1.4;\n margin: 0;\n }\n\n /* === Card Header === */\n .card-header {\n background-color: #0d6efd;\n color: white;\n text-align: center;\n padding: 0.1rem 0;\n border-radius: 6px 6px 0 0;\n font-weight: bold;\n margin-bottom: 0.5rem;\n /* Reduced */\n -webkit-print-color-adjust: exact;\n print-color-adjust: exact;\n }\n\n /* === Form Text === */\n .form-container {\n display: flex;\n flex-wrap: wrap;\n margin: 0;\n padding: 0;\n gap: 0.5rem;\n }\n\n .form-item {\n display: flex;\n align-items: flex-start;\n flex-wrap: wrap;\n width: 100%;\n }\n\n .label,\n .question-label {\n word-wrap: break-word;\n white-space: normal;\n font-weight: 500;\n color: #444;\n }\n\n /* Underline for blanks */\n .underline {\n border-bottom: 1px dashed #000;\n flex: 1;\n min-width: 60px;\n min-height: 1em;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n word-break: break-word;\n white-space: normal;\n -webkit-box-decoration-break: clone;\n box-decoration-break: clone;\n align-self: flex-end;\n color: #000;\n }\n\n /* size variants */\n .underline.xs { flex: none; width: 30px; min-width: unset; }\n .underline.sm { flex: none; width: 80px; min-width: unset; }\n .underline.md { flex: none; width: 180px; min-width: unset; }\n .underline.lg { flex: 2; }\n\n .underline.with-unit {\n flex: 1;\n min-width: 0;\n display: block;\n word-break: break-word;\n white-space: normal;\n border-bottom: none;\n line-height: 1.6em;\n text-align: left;\n padding-left: 4px;\n }\n\n .with-unit .value {\n display: inline;\n text-decoration: underline;\n text-decoration-style: dashed;\n text-decoration-color: #000; \n text-underline-offset: 3px; \n -webkit-box-decoration-break: clone;\n box-decoration-break: clone;\n vertical-align: baseline;\n }\n\n .unit {\n display: inline;\n white-space: nowrap;\n margin-left: 4px;\n text-decoration: none; \n }\n\n /* Checkbox labels */\n .checkbox-label {\n display: inline-flex;\n align-items: center;\n gap: 0.5rem;\n position: relative;\n cursor: pointer;\n padding-left: 0.2rem;\n user-select: none;\n }\n\n .checkbox-label::before {\n content: \"\";\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 2px solid #555;\n border-radius: 3px;\n background-color: #fff;\n box-sizing: border-box;\n flex-shrink: 0;\n }\n\n .checkbox-label.checked::after {\n content: \"\u2713\";\n position: absolute;\n top: 50%;\n left: 0.2rem;\n width: 20px;\n height: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 14px;\n color: #0d6efd;\n transform: translateY(-50%);\n pointer-events: none;\n }\n\n .page-break {\n page-break-before: always;\n }\n\n /* === Table data === */\n .table-container {\n margin: auto;\n margin-bottom: 4px;\n }\n\n table {\n width: 100%;\n border-collapse: collapse;\n }\n\n th,\n td {\n border: 1px solid #ccc;\n padding: 0;\n }\n\n .cell {\n min-height: 10px;\n padding: 4px 8px;\n display: flex;\n justify-content: center;\n text-align: center;\n }\n\n th {\n font-weight: 600;\n }\n\n /* === Print-specific: Footer with Page Numbers on the RIGHT === */\n @media print {\n body {\n margin: 0;\n padding-top: 10mm;\n }\n\n /* Make room for footer on the right side */\n @page {\n size: A4 portrait;\n margin: 15mm 15mm 20mm 10mm;\n /* increased right margin slightly for better spacing */\n\n @bottom-right {\n content: \"\u1791\u17C6\u1796\u17D0\u179A \" counter(page) \" \u1793\u17C3 \" counter(pages);\n font-size: 11px;\n color: #555;\n font-family: \"Battambang\", sans-serif;\n }\n }\n\n /* Increment page counter */\n body {\n counter-increment: page;\n }\n\n .page-header,\n .title-container,\n table {\n page-break-inside: avoid;\n }\n\n .card-header {\n -webkit-print-color-adjust: exact;\n print-color-adjust: exact;\n }\n }\n </style>\n </head>\n\n <body>\n <div class=\"page-header mb-8\">\n <img src=\"data:image/png;base64,<%= logo_base64 %>\" alt=\"Logo\" class=\"title-logo\" />\n <div class=\"title-container\">\n <h1 class=\"title\">\u1796\u17B6\u1780\u17D2\u1799\u179F\u17D2\u1793\u17BE\u179F\u17BB\u17C6\u1792\u17B6\u1793\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\u17A2\u17B6\u1799\u17BB\u1787\u17B8\u179C\u17B7\u178F</h1>\n <h1 class=\"title\">\n \u179F\u1798\u17D2\u179A\u17B6\u1794\u17CB\u1791\u1798\u17D2\u179A\u1784\u17CB\u179F\u17B6\u1798\u1789\u17D2\u1789\u179F\u1798\u17D2\u179A\u17B6\u1794\u17CB\u17A2\u178F\u17B7\u1790\u17B7\u1787\u1793\u1787\u17C4\u1782\u1787\u17D0\u1799\u17A0\u17D2\u179C\u17B6\u1799\u1793\u17C2\u1793 (SIO)\n </h1>\n </div>\n </div>\n\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"label\">\u1788\u17D2\u1798\u17C4\u17C7\u1793\u17B7\u1784\u179B\u17C1\u1781\u1780\u17BC\u178A\u179F\u17B6\u1781\u17B6</span>\n <span class=\"underline\">\n <%= branch_staff_app_info.branch_name %> / <%= branch_staff_app_info.branch_code %>\n </span>\n <span class=\"label\">\u1788\u17D2\u1798\u17C4\u17C7\u1793\u17B7\u1784\u179B\u17C1\u1781\u1780\u17BC\u178A\u1794\u17BB\u1782\u17D2\u1782\u179B\u17B7\u1780\u1792\u17B6\u1793\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\u17CB</span>\n <span class=\"underline\">\n <%= branch_staff_app_info.advisor_name %> / <%= branch_staff_app_info.advisor_code %>\n </span>\n </div>\n <div class=\"form-item\">\n <span class=\"label\">\u1788\u17D2\u1798\u17C4\u17C7\u1793\u17B7\u1784\u179B\u17C1\u1781\u1780\u17BC\u178A\u1794\u17BB\u1782\u17D2\u1782\u179B\u17B7\u1780\u1792\u1793\u17B6\u1782\u17B6\u179A</span>\n <span class=\"underline\">\n <%= branch_staff_app_info.bank_staff_name %> / <%= branch_staff_app_info.bank_staff_code %>\n </span>\n <span class=\"label\">\u179B\u17C1\u1781\u1796\u17B6\u1780\u17D2\u1799\u179F\u17D2\u1793\u17BE\u179F\u17BB\u17C6</span>\n <span class=\"underline\">\n <%= branch_staff_app_info.application_no %>\n </span>\n </div>\n </div>\n\n <!-- Section 1 -->\n <div class=\"card-header mt-4\">\u1796\u17D0\u178F\u17CC\u1798\u17B6\u1793\u17A2\u17C6\u1796\u17B8\u17A2\u17D2\u1793\u1780\u179F\u17D2\u1793\u17BE\u179F\u17BB\u17C6\u1794\u178E\u17D2\u178E\u179F\u1793\u17D2\u1799\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\u17CB</div>\n\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"label\">\u1788\u17D2\u1798\u17C4\u17C7\u1796\u17C1\u1789\u178A\u17BC\u1785\u1794\u1784\u17D2\u17A0\u17B6\u1789\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784\u17AF\u1780\u179F\u17B6\u179A\u17A2\u178F\u17D2\u178F\u179F\u1789\u17D2\u1789\u17B6\u178E \u1787\u17B6\u1797\u17B6\u179F\u17B6\u1781\u17D2\u1798\u17C2\u179A:</span>\n <span class=\"underline\"><%= applicant_info.full_name_kh %></span>\n <span class=\"label\">\u1787\u17B6\u1797\u17B6\u179F\u17B6\u17A2\u1784\u17CB\u1782\u17D2\u179B\u17C1\u179F</span>\n <span class=\"underline\"><%= applicant_info.full_name %></span>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">\u1797\u17C1\u1791:</span>\n <label class=\"checkbox-label <%= applicant_info.gender === 'M' ? 'checked' : '' %>\">\u1794\u17D2\u179A\u17BB\u179F</label>\n <label class=\"checkbox-label <%= applicant_info.gender === 'F' ? 'checked' : '' %>\">\u179F\u17D2\u179A\u17B8</label>\n\n <div class=\"ml-8\"></div>\n\n <div>\n <span class=\"label\">\u179F\u17D2\u1790\u17B6\u1793\u1797\u17B6\u1796\u1782\u17D2\u179A\u17BD\u179F\u17B6\u179A:</span>\n <label class=\"checkbox-label <%= applicant_info.marital_status === 'single' ? 'checked' : '' %>\">\n \u1793\u17C5\u179B\u17B8\u179C\n </label>\n <label class=\"checkbox-label <%= applicant_info.marital_status === 'married' ? 'checked' : '' %>\">\n \u179A\u17C0\u1794\u1780\u17B6\u179A\u17A0\u17BE\u1799\n </label>\n <label class=\"checkbox-label <%= applicant_info.marital_status === 'divorced' ? 'checked' : '' %>\">\n \u179B\u17C2\u1784\u179B\u17C7\n </label>\n <label class=\"checkbox-label <%= applicant_info.marital_status === 'widowed' ? 'checked' : '' %>\">\n \u1798\u17C1\u1798\u17C9\u17B6\u1799/\u1796\u17C4\u17C7\u1798\u17C9\u17B6\u1799\n </label>\n </div>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">\u178F\u17BD\u1793\u17B6\u1791\u17B8 \u1793\u17B7\u1784\u1794\u17D2\u179A\u1797\u17C1\u1791\u1780\u17B6\u179A\u1784\u17B6\u179A:</span>\n <span class=\"underline align-left\"><%= applicant_info.occupation %></span>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">\u17AF\u1780\u179F\u17B6\u179A\u1794\u1789\u17D2\u1785\u17B6\u1780\u17CB\u17A2\u178F\u17D2\u178F\u179F\u1789\u17D2\u1789\u17B6\u178E:</span>\n <label class=\"checkbox-label <%= applicant_info.identity_type === 'nid' ? 'checked' : '' %>\">\n \u17A2\u178F\u17D2\u178F\u179F\u1789\u17D2\u1789\u17B6\u178E\u1794\u178E\u17D2\u178E\n </label>\n <label class=\"checkbox-label <%= applicant_info.identity_type === 'passport' ? 'checked' : '' %>\">\n \u179B\u17B7\u1781\u17B7\u178F\u1786\u17D2\u179B\u1784\u178A\u17C2\u1793\n </label>\n <label class=\"checkbox-label <%= applicant_info.identity_type === 'birth' ? 'checked' : '' %>\">\n \u179F\u17C6\u1794\u17BB\u178F\u17D2\u179A\u1780\u17C6\u178E\u17BE\u178F\n </label>\n <label class=\"checkbox-label <%= applicant_info.identity_type === 'other' ? 'checked' : '' %>\">\n \u1795\u17D2\u179F\u17C1\u1784\u1791\u17C0\u178F:\n </label>\n\n\n <!-- other field stays separate since it has extra input -->\n <label class=\"underline\"><%= applicant_info.identity_other_description %></label>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">\u179B\u17C1\u1781\u17A2\u178F\u17D2\u178F\u179F\u1789\u17D2\u1789\u17B6\u178E:</span>\n <span class=\"underline\"><%= applicant_info.identity_no %></span>\n <span class=\"label\">\u1790\u17D2\u1784\u17C3\u1781\u17C2\u1786\u17D2\u1793\u17B6\u17C6\u1780\u17C6\u178E\u17BE\u178F:</span>\n <span class=\"underline\"><%= applicant_info.date_of_birth %></span>\n <span class=\"label\">\u17A2\u17B6\u1799\u17BB:</span>\n <span class=\"underline xs\"><%= applicant_info.age %></span>\n <span class=\"label\">\u179F\u1789\u17D2\u1785\u17B6\u178F\u17B7:</span>\n <span class=\"underline\"><%= applicant_info.nationality %></span>\n <span class=\"label\">\u179B\u17C1\u1781\u1791\u17BC\u179A\u179F\u17D0\u1796\u17D2\u1791:</span>\n <span class=\"underline\"><%= applicant_info.phone_number %></span>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793\u1794\u1785\u17D2\u1785\u17BB\u1794\u17D2\u1794\u1793\u17D2\u1793:</span>\n <span class=\"underline align-left\"><%= applicant_info.current_address %></span>\n </div>\n\n\n </div>\n\n\n\n <div class=\"form-container\">\n <div class=\"form-item mt-4\">\n <span class=\"label\">\u179F\u17C1\u1785\u1780\u17D2\u178A\u17B8\u1794\u17D2\u179A\u1780\u17B6\u179F\u179F\u1798\u17D2\u179A\u17B6\u1794\u17CB\u1780\u17B6\u179A\u17A2\u1793\u17BB\u179C\u178F\u17D2\u178A FATCA</span>\n </div>\n <div class=\"form-item\">\n <span class=\"label\">\u17A2\u17D2\u1793\u1780\u179F\u17D2\u1793\u17BE\u179A\u179F\u17BB\u17C6\u1794\u178E\u17D2\u178E\u179F\u1793\u17D2\u1799\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\u17CB\u1798\u17B7\u1793\u1798\u17C2\u1793\u1787\u17B6\u1796\u179B\u179A\u178A\u17D2\u178B\u17B6\u17A2\u17B6\u1798\u17C1\u179A\u17B7\u1780 \u17AC\n \u1787\u17B6\u1794\u17CB\u1796\u1793\u17D2\u1792\u179F\u17D2\u1793\u17B6\u1780\u17CB\u1793\u17C5\u17A2\u17B6\u1798\u17C1\u179A\u17B7\u1780 \u17AC \u1798\u17B6\u1793\u179F\u17B7\u1791\u17D2\u1792\u17B7\u1780\u17B6\u1793\u17CB Green Card \u1793\u17C4\u17C7\u1791\u17C1\u17D4\n </span>\n </div>\n <div class=\"form-item\">\n <label class=\"checkbox-label <%= fatca_info.is_fatca === false ? 'checked' : '' %>\">\u1798\u17B7\u1793\u1798\u17C2\u1793</label>\n <label class=\"checkbox-label <%= fatca_info.is_fatca === true ? 'checked' : '' %>\">\u1798\u17C2\u1793</label>\n <div class=\"ml-4\">\n <span class=\"label\">US TIN:</span>\n <span class=\"underline\"><%= fatca_info.us_tin_no %></span>\n <span class=\"label\">\u179B\u17C1\u1781\u1780\u17BC\u178A\u179B\u17BE\u1780\u179B\u17C2\u1784 FATCA (\u1794\u17D2\u179A\u179F\u17B7\u1793\u1798\u17B6\u1793):</span>\n <span class=\"underline\"><%= fatca_info.fatca_exempt_code %></span>\n </div>\n </div>\n <div class=\"form-item mt-4\">\n <span class=\"label\">\n \u1794\u17D2\u179A\u179F\u17B7\u1793\u1794\u17BE\u1780\u17B6\u179A\u1794\u1789\u17D2\u1785\u17B6\u1780\u17CB\u17A2\u17C7\u17A2\u17B6\u1784\u178E\u17B6\u1798\u17BD\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\n \u1781\u17D2\u1789\u17BB\u17C6\u1793\u17B9\u1784\u1794\u17D2\u179A\u1782\u179B\u17CB\u1787\u17BC\u1793\u1793\u17BC\u179C\u17AF\u1780\u179F\u17B6\u179A\u1790\u17D2\u1798\u17B8\u1780\u17D2\u1793\u17BB\u1784\u179A\u1799\u17C7\u1796\u17C1\u179B \u17E3\u17E0\u1790\u17D2\u1784\u17C3\n \u17A0\u17BE\u1799\u17A2\u17C7\u17A2\u17B6\u1784\u1790\u17B6\u1781\u17D2\u1789\u17BB\u17C6\u1798\u17B7\u1793\u1787\u17B6\u1794\u17CB\u1796\u1793\u17D2\u1792\u1780\u17B6\u178F\u17CB\u1791\u17BB\u1780\u179A\u1794\u179F\u17CB\u179F\u17A0\u179A\u178A\u17D2\u178B\u17A2\u17B6\u1798\u17C1\u179A\u17B7\u1780\u1791\u17C1\n </span>\n </div>\n </div>\n\n\n\n <!-- Section 2 -->\n <div class=\"card-header mt-4\">\u1796\u17D0\u178F\u17CC\u1798\u17B6\u1793\u17A2\u17C6\u1796\u17B8\u1795\u179B\u17B7\u178F\u1795\u179B</div>\n <div class=\"table-container\">\n <table>\n <thead>\n <tr>\n <th><div class=\"cell\">\u1788\u17D2\u1798\u17C4\u17C7\u1795\u179B\u17B7\u178F\u1795\u179B \u1793\u17B7\u1784\u179A\u1799\u17C7\u1796\u17C1\u179B\u1792\u17B6\u1793\u17B6</div></th>\n <th><div class=\"cell\">\u1791\u17B9\u1780\u1794\u17D2\u179A\u17B6\u1780\u17CB\u178F\u17D2\u179A\u17BC\u179C\u1792\u17B6\u1793\u17B6(\u178A\u17BB\u179B\u17D2\u179B\u17B6\u179A\u17A2\u17B6\u1798\u17C1\u179A\u17B7\u1780)</div></th>\n <th><div class=\"cell\">\u179A\u1794\u17C0\u1794\u1794\u1784\u17CB\u1794\u17BB\u1796\u17D2\u179C\u179B\u17B6\u1797</div></th>\n <th>\n <div class=\"cell\">\u1794\u17BB\u1796\u17D2\u179C\u179B\u17B6\u1797\u1792\u17B6\u1793\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\u17CB(\u178A\u17BB\u179B\u17D2\u179B\u17B6\u179A\u17A2\u17B6\u1798\u17C1\u179A\u17B7\u1780)</div>\n </th>\n </tr>\n </thead>\n <tbody>\n <% product_payment_info?.products?.forEach(function(product) { %>\n <tr>\n <td><div class=\"cell\"><%= product.name %> <%= product.term %></div></td>\n <td><div class=\"cell\"><%= product.sum_assured %></div></td>\n <td><div class=\"cell\"><%= product.payment_mode %></div></td>\n <td><div class=\"cell\"><%= product.premium %></div></td>\n </tr>\n <% }) %>\n </tbody>\n </table>\n </div>\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"question-label\">\u179C\u17B7\u1792\u17B8\u179F\u17B6\u179F\u17D2\u179A\u17D2\u178A\u1794\u1784\u17CB\u1794\u17BB\u1796\u17D2\u179C\u179B\u17B6\u1797\u1792\u17B6\u1793\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\u17CB:</span>\n <label class=\"checkbox-label <%= product_payment_info.payment_method === 'transfer_to_plac' ? 'checked' : '' %>\">\n \u1780\u17B6\u179A\u1795\u17D2\u1791\u17C1\u179A\u1794\u17D2\u179A\u17B6\u1780\u17CB\u1785\u17BC\u179B\u1791\u17C5\u1780\u17D2\u1793\u17BB\u1784\u1782\u178E\u1793\u17B8\u179A\u1794\u179F\u17CB\u17A0\u17D2\u179C\u17B8\u179B\u17B8\u17A1\u17B6\u1799\u17A0\u17D2\u179C\u17CD\n </label>\n <label class=\"checkbox-label <%= product_payment_info.payment_method === 'other' ? 'checked' : '' %>\">\n \u178F\u17B6\u1798\u179A\u1799\u17C7\u178A\u17C3\u1782\u17BC\u179A\u179A\u1794\u179F\u17CB\u17A0\u17D2\u179C\u17B8\u179B\u17B8\u17A1\u17B6\u1799\u17A0\u17D2\u179C\u17CD\n </label>\n </div>\n </div>\n\n <!-- Section 3 -->\n <div class=\"card-header mt-4\">\u1796\u17D0\u178F\u17CC\u1798\u17B6\u1793\u17A2\u17C6\u1796\u17B8\u17A2\u17D2\u1793\u1780\u1791\u1791\u17BD\u179B\u1795\u179B</div>\n <div class=\"table-container\">\n <table>\n <thead>\n <tr>\n <th><div class=\"cell\">\u1788\u17D2\u1798\u17C4\u17C7\u1796\u17C1\u1789\u179A\u1794\u179F\u17CB\u17A2\u17D2\u1793\u1780\u1791\u1791\u17BD\u179B\u1795\u179B</div></th>\n <th><div class=\"cell\">\u17A2\u17B6\u1799\u17BB</div></th>\n <th><div class=\"cell\">\u1791\u17C6\u1793\u17B6\u1780\u17CB\u1791\u17C6\u1793\u1784</div></th>\n <th><div class=\"cell\">\u179B\u17C1\u1781\u17A2\u178F\u17D2\u178F\u179F\u1789\u17D2\u1789\u17B6\u178E</div></th>\n <th><div class=\"cell\">% \u1793\u17C3\u1780\u17B6\u179A\u1794\u17C2\u1784\u1785\u17C2\u1780</div></th>\n </tr>\n </thead>\n <tbody>\n <% beneficiary_info?.forEach(function(beneficiary) { %>\n <tr>\n <td><div class=\"cell\"><%= beneficiary.full_name %></div></td>\n <td><div class=\"cell\"><%= beneficiary.age %></div></td>\n <td><div class=\"cell\"><%= beneficiary.relationship %></div></td>\n <td><div class=\"cell\"><%= beneficiary.id_number %></div></td>\n <td><div class=\"cell\"><%= beneficiary.percentage %></div></td>\n </tr>\n <% }) %>\n <tr>\n <td colspan=\"4\">\n <div class=\"cell\">\n \u1780\u178E\u178F\u17CB\u179F\u1798\u17D2\u1782\u17B6\u179B\u17CB\u17D6\n \u1794\u17D2\u179A\u179F\u17B7\u1793\u1794\u17BE\u1797\u17B6\u1782\u179A\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17BC\u179C\u1794\u17B6\u1793\u1794\u1789\u17D2\u1787\u17B6\u1780\u17CB\u1785\u17C6\u1793\u17BD\u1793\u1791\u17B9\u1780\u1794\u17D2\u179A\u17B6\u1780\u17CB\u1793\u17B9\u1784\u178F\u17D2\u179A\u17BC\u179C\u1794\u17C2\u1784\u1785\u17C2\u1780\u179F\u17D2\u1798\u17BE\u17D7\u1782\u17D2\u1793\u17B6\n </div>\n </td>\n <td><div class=\"cell\">% \u179F\u179A\u17BB\u1794\u179F\u17D2\u1798\u17BE\u179A \u17E1\u17E0\u17E0%</div></td>\n </tr>\n </tbody>\n </table>\n </div>\n\n <!-- Section 4 -->\n <div class=\"page-break\"></div>\n <div class=\"card-header\">\n \u1796\u17D0\u178F\u17CC\u1798\u17B6\u1793\u1796\u17B6\u1780\u17CB\u1796\u17D0\u1793\u17D2\u1791\u1793\u17B9\u1784\u179F\u17BB\u1781\u1797\u17B6\u1796\u179A\u1794\u179F\u17CB \u17A2\u17D2\u1793\u1780\u179F\u17D2\u1793\u17BE\u179F\u17BB\u17C6\u1794\u178E\u17D2\u178E\u179F\u1793\u17D2\u1799\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\u17CB\n </div>\n\n <!-- Question 1 -->\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"label\">1) \u1780\u1798\u17D2\u1796\u179F\u17CB:</span>\n <span class=\"underline sm\"><%= health_info.height %></span>\n <span class=\"label\">\u179F.\u1798</span>\n <div class=\"space\"></div>\n <span class=\"label\">\u1791\u1798\u17D2\u1784\u1793\u17CB:</span>\n <span class=\"underline sm\"><%= health_info.weight %></span>\n <span class=\"label\">\u1782.\u1780</span>\n <div class=\"space\"></div>\n <span class=\"question-label\">\u178F\u17BE\u179B\u17C4\u1780\u17A2\u17D2\u1793\u1780\u1796\u17B7\u179F\u17B6\u179A\u1794\u17B6\u179A\u17B8\u178A\u17C2\u179A\u17AC\u1791\u17C1?:</span>\n <label class=\"checkbox-label <%= health_info.is_smoke === false ? 'checked' : '' %>\">\n \u1798\u17B7\u1793\u1798\u17B6\u1793\n </label>\n <label class=\"checkbox-label <%= health_info.is_smoke === true ? 'checked' : '' %>\">\n \u1798\u17B6\u1793\n </label>\n </div>\n\n <div class=\"form-item mb-4\">\n <span class=\"label\">\u1785\u17C6\u1793\u17BD\u1793\u17D6</span>\n <% if (health_info.smoke_detail) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= health_info.smoke_detail %></span>\n <span class=\"unit\">\u178A\u17BE\u1798\u1780\u17D2\u1793\u17BB\u1784\u1798\u17BD\u1799\u179F\u1794\u17D2\u178A\u17B6\u17A0\u17CD</span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n </div>\n </div>\n\n <!-- Question 2 -->\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"question-label\">2) \u178F\u17BE\u179B\u17C4\u1780\u17A2\u17D2\u1793\u1780\u1796\u17B7\u179F\u17B6\u179A\u1782\u17D2\u179A\u17BF\u1784\u179F\u17D2\u179A\u179C\u17B9\u1784\u178A\u17C2\u179A\u17AC\u1791\u17C1?:</span>\n <label class=\"checkbox-label <%= health_info.is_drink_alcohol === false ? 'checked' : '' %>\">\n \u1798\u17B7\u1793\u1798\u17B6\u1793\n </label>\n <label class=\"checkbox-label <%= health_info.is_drink_alcohol === true ? 'checked' : '' %>\">\n \u1798\u17B6\u1793\n </label>\n </div>\n <div class=\"form-item mb-4\">\n <span class=\"label\">\u1785\u17C6\u1793\u17BD\u1793</span>\n <% if (health_info.drink_alcohol_detail) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= health_info.drink_alcohol_detail %></span>\n <span class=\"unit\">\u1780\u17D2\u1793\u17BB\u1784\u1798\u17BD\u1799\u1790\u17D2\u1784\u17C3</span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <span class=\"label\">\u1780\u17D2\u1793\u17BB\u1784\u1798\u17BD\u1799\u1790\u17D2\u1784\u17C3</span>\n <% } %>\n </div>\n </div>\n\n <!-- Question 3 -->\n <div class=\"form-container\">\n <span class=\"question-label\">\n 3) \u1780\u17D2\u1793\u17BB\u1784\u179A\u1799\u17C8\u1796\u17C1\u179B\u17E0\u17E2(\u1796\u17B8\u179A)\u1786\u17D2\u1793\u17B6\u17C6\u1785\u17BB\u1784\u1780\u17D2\u179A\u17C4\u1799\u1793\u17C1\u17C7\u178F\u17BE\u179B\u17C4\u1780\u17A2\u17D2\u1793\u1780\u1792\u17D2\u179B\u17B6\u1794\u17CB\u1794\u17B6\u1793\u179F\u1798\u17D2\u179A\u17B6\u1780\u1780\u17D2\u1793\u17BB\u1784\u1798\u1793\u17D2\u1791\u17B8\u179A\u1796\u17C1\u1791\u17D2\u1799\u1792\u17D2\u179B\u17B6\u1794\u17CB\u1794\u17B6\u1793\u1791\u1791\u17BD\u179B\u1780\u17B6\u179A\u179C\u17C7\u1780\u17B6\u178F\u17CB\n \u17AC\u1792\u17D2\u179B\u17B6\u1794\u17CB\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793\u179B\u1791\u17D2\u1792\u1795\u179B\u1781\u17BB\u179F\u1794\u17D2\u179A\u1780\u17D2\u179A\u178F\u17B8\u17A2\u17C6\u1796\u17B8 \u1780\u17B6\u179A\u179C\u17B7\u1797\u17B6\u1782\u1788\u17B6\u1798 \u1780\u17B6\u179A\u179C\u17B7\u1797\u17B6\u1782\u1791\u17B9\u1780\u1793\u17C4\u1798\n \u1780\u17B6\u179A\u1790\u178F\u1780\u17B6\u17C6\u179A\u179F\u17D2\u1798\u17B8\u17A2\u17BB\u17B7\u1785 (X-ray) \u1798\u17C9\u17B6\u179F\u17BB\u17B7\u1793\u179C\u17B6\u179F\u17CB\u1785\u1784\u17D2\u179C\u17B6\u1780\u17CB\u1794\u17C1\u17C7\u178A\u17BC\u1784 \u17A2\u17C1\u1780\u17BC\u179F\u17B6\u179F\u17D2\u179A\u17D2\u178A\n \u179F\u17D2\u1780\u17C1\u1793\u1780\u17B6\u179A\u1785\u17D2\u179A\u17B9\u1794\u179F\u17B6\u1785\u17CB\u1799\u1780\u1796\u17B7\u1793\u17B7\u178F\u17D2\u1799\n \u17AC\u179B\u1791\u17D2\u1792\u1795\u179B\u179C\u17B7\u1797\u17B6\u1782\u1795\u17D2\u179F\u17C1\u1784\u17D7\u1791\u17C0\u178F\u178A\u17C2\u179B\u1798\u17B7\u1793\u1794\u17B6\u1793\u179A\u17C0\u1794\u179A\u17B6\u1794\u17CB\u1781\u17B6\u1784\u178A\u17BE\u1798\u1796\u17B8\u1782\u17D2\u179A\u17BC\u1796\u17C1\u1791\u17D2\u1799\u178A\u17C2\u179A\u17AC\u1791\u17C1?:\n </span>\n <div class=\"form-item\">\n <label class=\"checkbox-label <%= health_info.is_hospitalized === false ? 'checked' : '' %>\">\n \u1798\u17B7\u1793\u1798\u17B6\u1793\n </label>\n <label class=\"checkbox-label <%= health_info.is_hospitalized === true ? 'checked' : '' %>\">\n \u1798\u17B6\u1793\n </label>\n </div>\n\n <div class=\"form-item mb-4\">\n <span class=\"label\">\u1794\u17BE\u1798\u17B6\u1793\u179F\u17BC\u1798\u1795\u17D2\u178A\u179B\u17CB\u1796\u17D0\u178F\u17CD\u1798\u17B6\u1793\u179B\u1798\u17D2\u17A2\u17B7\u178F\u17D6</span>\n <% if (health_info.hospitalized_detail) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= health_info.hospitalized_detail %></span>\n <span class=\"unit\">\u1780\u17D2\u1793\u17BB\u1784\u1798\u17BD\u1799\u1790\u17D2\u1784\u17C3</span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n </div>\n </div>\n\n <!-- Question 4 -->\n <div class=\"form-container\"> \n <span class=\"question-label\">\n 4) \u178F\u17BE\u179B\u17C4\u1780\u17A2\u17D2\u1793\u1780\u1792\u17D2\u179B\u17B6\u1794\u17CB\u1794\u17B6\u1793\u1792\u17D2\u179C\u17BE\u179A\u17C4\u1782\u179C\u17B7\u1793\u17B7\u1785\u17D2\u1786\u17D0\u1799 \u1796\u17B7\u1782\u17D2\u179A\u17C4\u17C7\u1787\u17C6\u1784\u17BA \u17AC\u1791\u1791\u17BD\u179B\u1780\u17B6\u179A\u1796\u17D2\u1799\u17B6\u1794\u17B6\u179B\u178A\u17BC\u1785\u1787\u17B6\n \u179B\u17BE\u179F\u179F\u1798\u17D2\u1796\u17B6\u1792\u1788\u17B6\u1798 \u1791\u17B9\u1780\u1793\u17C4\u1798\u1795\u17D2\u17A2\u17C2\u1798 \u1787\u17C6\u1784\u17BA\u1794\u17C1\u17C7\u178A\u17BC\u1784 \u1785\u17BB\u1780\u1791\u17D2\u179A\u17BC\u1784 \u1787\u17C6\u1784\u17BA\u179F\u17BD\u178F \u1787\u17C6\u1784\u17BA\u1790\u17D2\u179B\u17BE\u1798\n \u1787\u17C6\u1784\u17BA\u178F\u1798\u17D2\u179A\u1784\u1793\u17C4\u1798 \u1798\u17A0\u17B6\u179A\u17B8\u1780 \u1787\u17C6\u1784\u17BA\u178A\u17B6\u1785\u17CB\u179F\u179F\u17C3\u1788\u17B6\u1798\u1781\u17BD\u179A\u1780\u17D2\u1794\u17B6\u179B \u1787\u17C6\u1784\u17BA\u17A2\u17C1\u178A\u179F\u17CD \u1787\u17C6\u1784\u17BA\u1795\u17D2\u179B\u17BC\u179C\u1785\u17B7\u178F\u17D2\u178F\n \u1796\u17B7\u1780\u17B6\u179A\u1797\u17B6\u1796 \u17AC\u179A\u17B6\u1784\u1780\u17B6\u1799\u1798\u17B7\u1793\u1794\u17D2\u179A\u1780\u17D2\u179A\u178F\u17B8 \u1794\u17D2\u179A\u17BE\u1794\u17D2\u179A\u17B6\u179F\u17CB\u1790\u17D2\u1793\u17B6\u17C6\u1789\u17C0\u1793 \u17AC\u1789\u17C0\u1793\u179F\u17D2\u179A\u17B6\n \u17AC\u1787\u17C6\u1784\u17BA\u1795\u17D2\u179F\u17C1\u1784\u1791\u17C0\u178F\u178A\u17C2\u179B\u1798\u17B7\u1793\u1794\u17B6\u1793\u179A\u17C0\u1794\u179A\u17B6\u1794\u17CB\u1781\u17B6\u1784\u179B\u17BE\u178A\u17C2\u179A\u17AC\u1791\u17C1?\n </span>\n <div class=\"form-item\">\n <label class=\"checkbox-label <%= health_info.is_diagnosed === false ? 'checked' : '' %>\">\n \u1798\u17B7\u1793\u1798\u17B6\u1793\n </label>\n <label class=\"checkbox-label <%= health_info.is_diagnosed === true ? 'checked' : '' %>\">\n \u1798\u17B6\u1793\n </label>\n \n </div>\n <div class=\"form-item mb-4\">\n <span class=\"label\">\u1794\u17BE\u1798\u17B6\u1793\u179F\u17BC\u1798\u1794\u1789\u17D2\u1787\u17B6\u1780\u17CB\u179B\u1798\u17D2\u17A2\u17B7\u178F\u1781\u17B6\u1784\u1780\u17D2\u179A\u17C4\u1798\u17D6</span>\n <% if (health_info.diagnosed_detail) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= health_info.diagnosed_detail %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n </div>\n </div>\n\n <!-- Section 5 -->\n <div class=\"card-header mt-8\">\u179F\u17C1\u1785\u1780\u17D2\u178A\u17B8\u1794\u17D2\u179A\u1780\u17B6\u179F\u179A\u1794\u179F\u17CB\u17A2\u17D2\u1793\u1780\u179F\u17D2\u1793\u17BE\u179F\u17BB\u17C6\u1792\u17B6\u1793\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\u17CB</div>\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"label\"\n >1) \u1781\u17D2\u1789\u17BB\u17C6\u17A2\u1793\u17BB\u1789\u17D2\u1789\u17B6\u178F \u1793\u17B7\u1784\u1799\u179B\u17CB\u1796\u17D2\u179A\u1798\u17B2\u17D2\u1799\u1780\u17D2\u179A\u17BB\u1798\u17A0\u17CA\u17BB\u1793\u1794\u17D2\u179A\u17BE\u1794\u17D2\u179A\u17B6\u179F\u17CB\u1796\u17D0\u178F\u17CC\u1798\u17B6\u1793\n \u1793\u17B7\u1784\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1791\u17B6\u17C6\u1784\u179F\u17D2\u179A\u17BB\u1784\u178A\u17C2\u179B\u1781\u17D2\u1789\u17BB\u17C6\u1794\u17B6\u1793\u1795\u17D2\u178A\u179B\u17CB\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784\u1796\u17B6\u1780\u17D2\u1799\u179F\u17D2\u1793\u17BE\u179F\u17BB\u17C6\u179A\u1794\u179F\u17CB\u1781\u17D2\u1789\u17BB\u17C6\n \u1780\u17D2\u1793\u17BB\u1784\u1782\u17C4\u179B\u1794\u17C6\u178E\u1784 \u179F\u17D2\u179A\u1794\u178F\u17B6\u1798\u1785\u17D2\u1794\u17B6\u1794\u17CB\u178A\u17BC\u1785\u1787\u17B6\u1780\u17B6\u179A\u1795\u17D2\u179F\u1796\u17D2\u179C\u1795\u17D2\u179F\u17B6\u1799\u1791\u17B8\u1795\u17D2\u179F\u17B6\u179A \u1780\u17B6\u179A\u179F\u17B7\u1780\u17D2\u179F\u17B6\u1791\u17B8\u1795\u17D2\u179F\u17B6\u179A\n \u1793\u17B7\u1784 \u1780\u17B6\u179A\u1794\u1798\u17D2\u179A\u17BE\u17A2\u178F\u17B7\u1790\u17B7\u1787\u1793\u178A\u17C4\u1799\u1780\u17D2\u179A\u17BB\u1798\u17A0\u17CA\u17BB\u1793 \u179F\u1798\u17D2\u1796\u17D0\u1793\u17D2\u1792\u1780\u17D2\u179A\u17BB\u1798\u17A0\u17CA\u17BB\u1793 \u17AC \u1787\u17B6\u178A\u17C3\u1782\u17BC\n \u1796\u17B6\u178E\u17B7\u1787\u17D2\u1787\u1780\u1798\u17D2\u1798\u179A\u1794\u179F\u17CB\u1780\u17D2\u179A\u17BB\u1798\u17A0\u17CA\u17BB\u1793\u178A\u17C4\u1799\u1798\u17B7\u1793\u1785\u17B6\u17C6\u1794\u17B6\u1785\u17CB\u1798\u17B6\u1793\u1780\u17B6\u179A\u1799\u179B\u17CB\u1796\u17D2\u179A\u1798\n \u1793\u17B7\u1784\u1787\u17BC\u1793\u178A\u17C6\u178E\u17B9\u1784\u1794\u1793\u17D2\u1790\u17C2\u1798\u1796\u17B8\u1781\u17D2\u1789\u17BB\u17C6\u17A1\u17BE\u1799\u17D4 \u1780\u17D2\u179A\u17BB\u1798\u17A0\u17CA\u17BB\u1793\u1798\u17B7\u1793\u178F\u17D2\u179A\u17BC\u179C\u1794\u17B6\u1793\u17A2\u1793\u17BB\u1789\u17D2\u1789\u17B6\u178F\u17B2\u17D2\u1799\u1794\u1789\u17D2\u1785\u17C1\u1789\n \u1796\u17D0\u178F\u17CC\u1798\u17B6\u1793\u178E\u17B6\u1798\u17BD\u1799\u1791\u17C5\u1797\u17B6\u1782\u17B8\u1791\u17B8\u1794\u17B8\u178E\u17B6\u1798\u17BD\u1799\u17AC\u1794\u17D2\u179A\u17BE\u1794\u17D2\u179A\u17B6\u179F\u17CB\u1796\u17D0\u178F\u17CC\u1798\u17B6\u1793\u1793\u17C4\u17C7\u179F\u1798\u17D2\u179A\u17B6\u1794\u17CB\u1782\u17C4\u179B\u1794\u17C6\u178E\u1784\u1795\u17D2\u179F\u17C1\u1784\u1791\u17C0\u178F\u178A\u17C2\u179B\u1798\u17B7\u1793\u1791\u17B6\u1780\u17CB\u1791\u1784\u1793\u17B9\u1784\u1782\u17C4\u179B\u1794\u17C6\u178E\u1784\n \u1791\u17B6\u17C6\u1784\u17A1\u17B6\u1799\u1781\u17B6\u1784\u179B\u17BE\u17A1\u17BE\u1799 \u1794\u17D2\u179A\u179F\u17B7\u1793\u1794\u17BE\u1782\u17D2\u1798\u17B6\u1793\u1780\u17B6\u179A\u1799\u179B\u17CB\u1796\u17D2\u179A\u1798\u1796\u17D2\u179A\u17C0\u1784\u1787\u17B6\u179B\u17B6\u1799\u179B\u1780\u17D2\u1781\u178E\u17CD\u17A2\u1780\u17D2\u179F\u179A\u1793\u17C4\u17C7\u17D4</span\n >\n </div>\n <div class=\"form-item\">\n <span class=\"label\">\n 2) \u1781\u17D2\u1789\u17BB\u17C6\u179F\u17BC\u1798\u17A2\u17C7\u17A2\u17B6\u1784\u1790\u17B6\u1794\u17B6\u1793\u17A2\u17B6\u1793 \u1793\u17B7\u1784\u1799\u179B\u17CB\u179F\u17D2\u179A\u1794\u1793\u17BC\u179C\u1782\u17D2\u179A\u1794\u17CB\u1796\u17D0\u178F\u17CC\u1798\u17B6\u1793\u1780\u17D2\u1793\u17BB\u1784\u17AF\u1780\u179F\u17B6\u179A\u1793\u17C1\u17C7\u17D4\n \u1781\u17D2\u1789\u17BB\u17C6\u179F\u17BC\u1798\u1794\u17D2\u179A\u1780\u17B6\u179F\u1790\u17B6\u1782\u17D2\u179A\u1794\u17CB\u1796\u17D0\u178F\u17CC\u1798\u17B6\u1793\u178A\u17C2\u179B\u1794\u17B6\u1793\u1795\u17D2\u178A\u179B\u17CB\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784\u1796\u17B6\u1780\u17D2\u1799\u179F\u17D2\u1793\u17BE\u179F\u17BB\u17C6\u1793\u17C1\u17C7\n \u1796\u17B7\u178F\u1787\u17B6\u1798\u17B6\u1793\u1797\u17B6\u1796\u1796\u17C1\u1789\u179B\u17C1\u1789 \u1793\u17B7\u1784\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1796\u17B7\u178F\u1794\u17D2\u179A\u17B6\u1780\u178A\u1798\u17C2\u1793\u17D4\n </span>\n </div>\n </div>\n <div class=\"table-container mt-4\">\n <table>\n <thead>\n <tr>\n <th style=\"width: 50%\">\n <div class=\"cell\">\n \u17A0\u178F\u17D2\u1790\u179B\u17C1\u1781\u17B6 \u17AC\u179F\u17D2\u1793\u17B6\u1798\u1798\u17C1\u178A\u17C3\u179A\u1794\u179F\u17CB\u17A2\u17D2\u1793\u1780\u179F\u17D2\u1793\u17BE\u179F\u17BB\u17C6\u1792\u17B6\u1793\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\n </div>\n <div class=\"signature-space\"></div>\n </th>\n <th style=\"width: 50%\">\n <div class=\"cell\">\u17A0\u178F\u17D2\u1790\u179B\u17C1\u1781\u17B6 \u17AC\u179F\u17D2\u1793\u17B6\u1798\u1798\u17C1\u178A\u17C3\u179A\u1794\u179F\u17CB\u179F\u17B6\u1780\u17D2\u179F\u17B8</div>\n <div class=\"signature-space\"></div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>\n <div class=\"form-container space-height\">\n <div class=\"form-item\">\n <div class=\"space\"></div>\n <span class=\"label\">\u1788\u17D2\u1798\u17C4\u17C7</span>\n <% if (signature_info.applicant_name) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= signature_info.applicant_name %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n <div class=\"space\"></div> \n </div>\n </div>\n </td>\n <td>\n <div class=\"form-container space-height\">\n <div class=\"form-item\">\n <div class=\"space\"></div>\n <span class=\"label\">\u1788\u17D2\u1798\u17C4\u17C7</span>\n <% if (signature_info.witness_name) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= signature_info.witness_name %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n <div class=\"space\"></div> \n </div>\n </div>\n </td>\n </tr>\n <tr>\n <td>\n <div class=\"form-container space-height\">\n <div class=\"form-item\">\n <div class=\"space\"></div>\n <span class=\"label\">\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791</span>\n <% if (signature_info.applicant_signature_date) { %>\n <span class=\"underline with-unit\" >\n <span class=\"value\"><%= signature_info.applicant_signature_date %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n <div class=\"space\"></div> \n </div>\n </div>\n </td>\n <td>\n <div class=\"form-container space-height\">\n <div class=\"form-item\">\n <div class=\"space\"></div>\n <span class=\"label\">\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791</span>\n <% if (signature_info.witness_signature_date) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= signature_info.witness_signature_date %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n <div class=\"space\"></div> \n </div>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </body>\n</html>\n";
1
+ export declare const SIO_FORM_KH_TEMPLATE = "\n<!doctype html>\n<html lang=\"km\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n <title>\u1796\u17B6\u1780\u17D2\u1799\u179F\u17D2\u1793\u17BE\u179F\u17BB\u17C6\u1792\u17B6\u1793\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\u17A2\u17B6\u1799\u17BB\u1787\u17B8\u179C\u17B7\u178F</title>\n <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">\n <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n <link href=\"https://fonts.googleapis.com/css2?family=Hanuman:wght@100..900&family=Moul&display=swap\" rel=\"stylesheet\">\n <style>\n body {\n font-family: \"Hanuman\", system-ui, sans-serif;\n font-size: 12px;\n line-height: 1.4;\n margin: 1rem;\n /* Reduced from 2rem */\n background: #fff;\n color: #000;\n }\n\n .space {\n width: 8px;\n }\n\n /* margin */\n .ml-4 {margin-left: 1rem; }\n .ml-8 {margin-left: 2rem; }\n\n .mr-4 {margin-right: 1rem; }\n .mr-8 {margin-right: 2rem; }\n\n .mt-4 {margin-top: 1rem; }\n .mt-8 {margin-top: 2rem; }\n\n .mb-4 {margin-bottom: 1rem; }\n .mb-8 {margin-bottom: 2rem; }\n\n /* alignment */\n .align-left { justify-content: flex-start !important; text-align: left; padding-left: 16px; }\n .align-right { justify-content: flex-end !important; text-align: right; padding-right: 16px; }\n .align-center { justify-content: center !important; text-align: center; }\n\n .space-height {\n height: 60px;\n align-items: center;\n }\n\n .signature-space {\n height: 100px;\n margin-top: 10px;\n }\n\n /* === Page header === */\n .page-header {\n margin-bottom: 0.5rem;\n page-break-inside: avoid;\n }\n\n .header-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n .title-logo {\n width: 125px;\n height: auto;\n }\n\n .title {\n font-weight: 700;\n font-size: 14px;\n line-height: 1;\n }\n\n .title-container {\n text-align: center;\n font-weight: 700;\n font-size: 14px;\n line-height: 1.4;\n margin: 0;\n }\n\n /* === Card Header === */\n .card-header {\n background-color: #0d6efd;\n color: white;\n text-align: center;\n padding: 0.1rem 0;\n border-radius: 6px 6px 0 0;\n font-weight: bold;\n margin-bottom: 0.5rem;\n /* Reduced */\n -webkit-print-color-adjust: exact;\n print-color-adjust: exact;\n }\n\n /* === Form Text === */\n .form-container {\n display: flex;\n flex-wrap: wrap;\n margin: 0;\n padding: 0;\n gap: 0.5rem;\n }\n\n .form-item {\n display: flex;\n align-items: flex-start;\n flex-wrap: wrap;\n width: 100%;\n }\n\n .label,\n .question-label {\n word-wrap: break-word;\n white-space: normal;\n font-weight: 500;\n color: #444;\n }\n\n /* Underline for blanks */\n .underline {\n border-bottom: 1px dashed #000;\n flex: 1;\n min-width: 60px;\n min-height: 1em;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n word-break: break-word;\n white-space: normal;\n -webkit-box-decoration-break: clone;\n box-decoration-break: clone;\n align-self: flex-end;\n color: #000;\n }\n\n /* size variants */\n .underline.xs { flex: none; width: 30px; min-width: unset; }\n .underline.sm { flex: none; width: 80px; min-width: unset; }\n .underline.md { flex: none; width: 180px; min-width: unset; }\n .underline.lg { flex: 2; }\n\n .underline.with-unit {\n flex: 1;\n min-width: 0;\n display: block;\n word-break: break-word;\n white-space: normal;\n border-bottom: none;\n line-height: 1.6em;\n text-align: left;\n padding-left: 4px;\n }\n\n .with-unit .value {\n display: inline;\n text-decoration: underline;\n text-decoration-style: dashed;\n text-decoration-color: #000; \n text-underline-offset: 3px; \n -webkit-box-decoration-break: clone;\n box-decoration-break: clone;\n vertical-align: baseline;\n }\n\n .unit {\n display: inline;\n white-space: nowrap;\n margin-left: 4px;\n text-decoration: none; \n }\n\n /* Checkbox labels */\n .checkbox-label {\n display: inline-flex;\n align-items: center;\n gap: 0.5rem;\n position: relative;\n cursor: pointer;\n padding-left: 0.2rem;\n user-select: none;\n }\n\n .checkbox-label::before {\n content: \"\";\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n border: 2px solid #555;\n border-radius: 3px;\n background-color: #fff;\n box-sizing: border-box;\n flex-shrink: 0;\n }\n\n .checkbox-label.checked::after {\n content: \"\";\n position: absolute;\n top: 45%;\n left: calc(0.2rem + 7px);\n width: 6px;\n height: 12px;\n border: solid #0d6efd;\n border-width: 0 2px 2px 0;\n box-sizing: border-box;\n transform: translateY(-50%) rotate(45deg);\n pointer-events: none;\n }\n\n .page-break {\n page-break-before: always;\n }\n\n /* === Table data === */\n .table-container {\n margin: auto;\n margin-bottom: 4px;\n }\n\n table {\n width: 100%;\n border-collapse: collapse;\n }\n\n th,\n td {\n border: 1px solid #ccc;\n padding: 0;\n }\n\n .cell {\n min-height: 10px;\n padding: 4px 8px;\n display: flex;\n justify-content: center;\n text-align: center;\n }\n\n th {\n font-weight: 600;\n }\n\n /* === Print-specific: Footer with Page Numbers on the RIGHT === */\n @media print {\n body {\n margin: 0;\n padding-top: 10mm;\n }\n\n /* Make room for footer on the right side */\n @page {\n size: A4 portrait;\n margin: 15mm 15mm 20mm 10mm;\n /* increased right margin slightly for better spacing */\n\n @bottom-right {\n content: \"\u1791\u17C6\u1796\u17D0\u179A \" counter(page) \" \u1793\u17C3 \" counter(pages);\n font-size: 11px;\n color: #555;\n font-family: \"Battambang\", sans-serif;\n }\n }\n\n /* Increment page counter */\n body {\n counter-increment: page;\n }\n\n .page-header,\n .title-container,\n table {\n page-break-inside: avoid;\n }\n\n .card-header {\n -webkit-print-color-adjust: exact;\n print-color-adjust: exact;\n }\n }\n </style>\n </head>\n\n <body>\n <div class=\"page-header mb-8\">\n <img src=\"data:image/png;base64,<%= logo_base64 %>\" alt=\"Logo\" class=\"title-logo\" />\n <div class=\"title-container\">\n <h1 class=\"title\">\u1796\u17B6\u1780\u17D2\u1799\u179F\u17D2\u1793\u17BE\u179F\u17BB\u17C6\u1792\u17B6\u1793\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\u17A2\u17B6\u1799\u17BB\u1787\u17B8\u179C\u17B7\u178F</h1>\n <h1 class=\"title\">\n \u179F\u1798\u17D2\u179A\u17B6\u1794\u17CB\u1791\u1798\u17D2\u179A\u1784\u17CB\u179F\u17B6\u1798\u1789\u17D2\u1789\u179F\u1798\u17D2\u179A\u17B6\u1794\u17CB\u17A2\u178F\u17B7\u1790\u17B7\u1787\u1793\u1787\u17C4\u1782\u1787\u17D0\u1799\u17A0\u17D2\u179C\u17B6\u1799\u1793\u17C2\u1793 (SIO)\n </h1>\n </div>\n </div>\n\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"label\">\u1788\u17D2\u1798\u17C4\u17C7\u1793\u17B7\u1784\u179B\u17C1\u1781\u1780\u17BC\u178A\u179F\u17B6\u1781\u17B6</span>\n <span class=\"underline\">\n <%= branch_staff_app_info.branch_name %> / <%= branch_staff_app_info.branch_code %>\n </span>\n <span class=\"label\">\u1788\u17D2\u1798\u17C4\u17C7\u1793\u17B7\u1784\u179B\u17C1\u1781\u1780\u17BC\u178A\u1794\u17BB\u1782\u17D2\u1782\u179B\u17B7\u1780\u1792\u17B6\u1793\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\u17CB</span>\n <span class=\"underline\">\n <%= branch_staff_app_info.advisor_name %> / <%= branch_staff_app_info.advisor_code %>\n </span>\n </div>\n <div class=\"form-item\">\n <span class=\"label\">\u1788\u17D2\u1798\u17C4\u17C7\u1793\u17B7\u1784\u179B\u17C1\u1781\u1780\u17BC\u178A\u1794\u17BB\u1782\u17D2\u1782\u179B\u17B7\u1780\u1792\u1793\u17B6\u1782\u17B6\u179A</span>\n <span class=\"underline\">\n <%= branch_staff_app_info.bank_staff_name %> / <%= branch_staff_app_info.bank_staff_code %>\n </span>\n <span class=\"label\">\u179B\u17C1\u1781\u1796\u17B6\u1780\u17D2\u1799\u179F\u17D2\u1793\u17BE\u179F\u17BB\u17C6</span>\n <span class=\"underline\">\n <%= branch_staff_app_info.application_no %>\n </span>\n </div>\n </div>\n\n <!-- Section 1 -->\n <div class=\"card-header mt-4\">\u1796\u17D0\u178F\u17CC\u1798\u17B6\u1793\u17A2\u17C6\u1796\u17B8\u17A2\u17D2\u1793\u1780\u179F\u17D2\u1793\u17BE\u179F\u17BB\u17C6\u1794\u178E\u17D2\u178E\u179F\u1793\u17D2\u1799\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\u17CB</div>\n\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"label\">\u1788\u17D2\u1798\u17C4\u17C7\u1796\u17C1\u1789\u178A\u17BC\u1785\u1794\u1784\u17D2\u17A0\u17B6\u1789\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784\u17AF\u1780\u179F\u17B6\u179A\u17A2\u178F\u17D2\u178F\u179F\u1789\u17D2\u1789\u17B6\u178E \u1787\u17B6\u1797\u17B6\u179F\u17B6\u1781\u17D2\u1798\u17C2\u179A:</span>\n <span class=\"underline\"><%= applicant_info.full_name_kh %></span>\n <span class=\"label\">\u1787\u17B6\u1797\u17B6\u179F\u17B6\u17A2\u1784\u17CB\u1782\u17D2\u179B\u17C1\u179F</span>\n <span class=\"underline\"><%= applicant_info.full_name %></span>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">\u1797\u17C1\u1791:</span>\n <label class=\"checkbox-label <%= applicant_info.gender === 'M' ? 'checked' : '' %>\">\u1794\u17D2\u179A\u17BB\u179F</label>\n <label class=\"checkbox-label <%= applicant_info.gender === 'F' ? 'checked' : '' %>\">\u179F\u17D2\u179A\u17B8</label>\n\n <div class=\"ml-8\"></div>\n\n <div>\n <span class=\"label\">\u179F\u17D2\u1790\u17B6\u1793\u1797\u17B6\u1796\u1782\u17D2\u179A\u17BD\u179F\u17B6\u179A:</span>\n <label class=\"checkbox-label <%= applicant_info.marital_status === 'single' ? 'checked' : '' %>\">\n \u1793\u17C5\u179B\u17B8\u179C\n </label>\n <label class=\"checkbox-label <%= applicant_info.marital_status === 'married' ? 'checked' : '' %>\">\n \u179A\u17C0\u1794\u1780\u17B6\u179A\u17A0\u17BE\u1799\n </label>\n <label class=\"checkbox-label <%= applicant_info.marital_status === 'divorced' ? 'checked' : '' %>\">\n \u179B\u17C2\u1784\u179B\u17C7\n </label>\n <label class=\"checkbox-label <%= applicant_info.marital_status === 'widowed' ? 'checked' : '' %>\">\n \u1798\u17C1\u1798\u17C9\u17B6\u1799/\u1796\u17C4\u17C7\u1798\u17C9\u17B6\u1799\n </label>\n </div>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">\u178F\u17BD\u1793\u17B6\u1791\u17B8 \u1793\u17B7\u1784\u1794\u17D2\u179A\u1797\u17C1\u1791\u1780\u17B6\u179A\u1784\u17B6\u179A:</span>\n <span class=\"underline align-left\"><%= applicant_info.occupation %></span>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">\u17AF\u1780\u179F\u17B6\u179A\u1794\u1789\u17D2\u1785\u17B6\u1780\u17CB\u17A2\u178F\u17D2\u178F\u179F\u1789\u17D2\u1789\u17B6\u178E:</span>\n <label class=\"checkbox-label <%= applicant_info.identity_type === 'nid' ? 'checked' : '' %>\">\n \u17A2\u178F\u17D2\u178F\u179F\u1789\u17D2\u1789\u17B6\u178E\u1794\u178E\u17D2\u178E\n </label>\n <label class=\"checkbox-label <%= applicant_info.identity_type === 'passport' ? 'checked' : '' %>\">\n \u179B\u17B7\u1781\u17B7\u178F\u1786\u17D2\u179B\u1784\u178A\u17C2\u1793\n </label>\n <label class=\"checkbox-label <%= applicant_info.identity_type === 'birth' ? 'checked' : '' %>\">\n \u179F\u17C6\u1794\u17BB\u178F\u17D2\u179A\u1780\u17C6\u178E\u17BE\u178F\n </label>\n <label class=\"checkbox-label <%= applicant_info.identity_type === 'other' ? 'checked' : '' %>\">\n \u1795\u17D2\u179F\u17C1\u1784\u1791\u17C0\u178F:\n </label>\n\n\n <!-- other field stays separate since it has extra input -->\n <label class=\"underline\"><%= applicant_info.identity_other_description %></label>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">\u179B\u17C1\u1781\u17A2\u178F\u17D2\u178F\u179F\u1789\u17D2\u1789\u17B6\u178E:</span>\n <span class=\"underline\"><%= applicant_info.identity_no %></span>\n <span class=\"label\">\u1790\u17D2\u1784\u17C3\u1781\u17C2\u1786\u17D2\u1793\u17B6\u17C6\u1780\u17C6\u178E\u17BE\u178F:</span>\n <span class=\"underline\"><%= applicant_info.date_of_birth %></span>\n <span class=\"label\">\u17A2\u17B6\u1799\u17BB:</span>\n <span class=\"underline xs\"><%= applicant_info.age %></span>\n <span class=\"label\">\u179F\u1789\u17D2\u1785\u17B6\u178F\u17B7:</span>\n <span class=\"underline\"><%= applicant_info.nationality %></span>\n <span class=\"label\">\u179B\u17C1\u1781\u1791\u17BC\u179A\u179F\u17D0\u1796\u17D2\u1791:</span>\n <span class=\"underline\"><%= applicant_info.phone_number %></span>\n </div>\n\n <div class=\"form-item\">\n <span class=\"label\">\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793\u1794\u1785\u17D2\u1785\u17BB\u1794\u17D2\u1794\u1793\u17D2\u1793:</span>\n <span class=\"underline align-left\"><%= applicant_info.current_address %></span>\n </div>\n\n\n </div>\n\n\n\n <div class=\"form-container\">\n <div class=\"form-item mt-4\">\n <span class=\"label\">\u179F\u17C1\u1785\u1780\u17D2\u178A\u17B8\u1794\u17D2\u179A\u1780\u17B6\u179F\u179F\u1798\u17D2\u179A\u17B6\u1794\u17CB\u1780\u17B6\u179A\u17A2\u1793\u17BB\u179C\u178F\u17D2\u178A FATCA</span>\n </div>\n <div class=\"form-item\">\n <span class=\"label\">\u17A2\u17D2\u1793\u1780\u179F\u17D2\u1793\u17BE\u179A\u179F\u17BB\u17C6\u1794\u178E\u17D2\u178E\u179F\u1793\u17D2\u1799\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\u17CB\u1798\u17B7\u1793\u1798\u17C2\u1793\u1787\u17B6\u1796\u179B\u179A\u178A\u17D2\u178B\u17B6\u17A2\u17B6\u1798\u17C1\u179A\u17B7\u1780 \u17AC\n \u1787\u17B6\u1794\u17CB\u1796\u1793\u17D2\u1792\u179F\u17D2\u1793\u17B6\u1780\u17CB\u1793\u17C5\u17A2\u17B6\u1798\u17C1\u179A\u17B7\u1780 \u17AC \u1798\u17B6\u1793\u179F\u17B7\u1791\u17D2\u1792\u17B7\u1780\u17B6\u1793\u17CB Green Card \u1793\u17C4\u17C7\u1791\u17C1\u17D4\n </span>\n </div>\n <div class=\"form-item\">\n <label class=\"checkbox-label <%= fatca_info.is_fatca === false ? 'checked' : '' %>\">\u1798\u17B7\u1793\u1798\u17C2\u1793</label>\n <label class=\"checkbox-label <%= fatca_info.is_fatca === true ? 'checked' : '' %>\">\u1798\u17C2\u1793</label>\n <div class=\"ml-4\">\n <span class=\"label\">US TIN:</span>\n <span class=\"underline\"><%= fatca_info.us_tin_no %></span>\n <span class=\"label\">\u179B\u17C1\u1781\u1780\u17BC\u178A\u179B\u17BE\u1780\u179B\u17C2\u1784 FATCA (\u1794\u17D2\u179A\u179F\u17B7\u1793\u1798\u17B6\u1793):</span>\n <span class=\"underline\"><%= fatca_info.fatca_exempt_code %></span>\n </div>\n </div>\n <div class=\"form-item mt-4\">\n <span class=\"label\">\n \u1794\u17D2\u179A\u179F\u17B7\u1793\u1794\u17BE\u1780\u17B6\u179A\u1794\u1789\u17D2\u1785\u17B6\u1780\u17CB\u17A2\u17C7\u17A2\u17B6\u1784\u178E\u17B6\u1798\u17BD\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\n \u1781\u17D2\u1789\u17BB\u17C6\u1793\u17B9\u1784\u1794\u17D2\u179A\u1782\u179B\u17CB\u1787\u17BC\u1793\u1793\u17BC\u179C\u17AF\u1780\u179F\u17B6\u179A\u1790\u17D2\u1798\u17B8\u1780\u17D2\u1793\u17BB\u1784\u179A\u1799\u17C7\u1796\u17C1\u179B \u17E3\u17E0\u1790\u17D2\u1784\u17C3\n \u17A0\u17BE\u1799\u17A2\u17C7\u17A2\u17B6\u1784\u1790\u17B6\u1781\u17D2\u1789\u17BB\u17C6\u1798\u17B7\u1793\u1787\u17B6\u1794\u17CB\u1796\u1793\u17D2\u1792\u1780\u17B6\u178F\u17CB\u1791\u17BB\u1780\u179A\u1794\u179F\u17CB\u179F\u17A0\u179A\u178A\u17D2\u178B\u17A2\u17B6\u1798\u17C1\u179A\u17B7\u1780\u1791\u17C1\n </span>\n </div>\n </div>\n\n\n\n <!-- Section 2 -->\n <div class=\"card-header mt-4\">\u1796\u17D0\u178F\u17CC\u1798\u17B6\u1793\u17A2\u17C6\u1796\u17B8\u1795\u179B\u17B7\u178F\u1795\u179B</div>\n <div class=\"table-container\">\n <table>\n <thead>\n <tr>\n <th><div class=\"cell\">\u1788\u17D2\u1798\u17C4\u17C7\u1795\u179B\u17B7\u178F\u1795\u179B \u1793\u17B7\u1784\u179A\u1799\u17C7\u1796\u17C1\u179B\u1792\u17B6\u1793\u17B6</div></th>\n <th><div class=\"cell\">\u1791\u17B9\u1780\u1794\u17D2\u179A\u17B6\u1780\u17CB\u178F\u17D2\u179A\u17BC\u179C\u1792\u17B6\u1793\u17B6(\u178A\u17BB\u179B\u17D2\u179B\u17B6\u179A\u17A2\u17B6\u1798\u17C1\u179A\u17B7\u1780)</div></th>\n <th><div class=\"cell\">\u179A\u1794\u17C0\u1794\u1794\u1784\u17CB\u1794\u17BB\u1796\u17D2\u179C\u179B\u17B6\u1797</div></th>\n <th>\n <div class=\"cell\">\u1794\u17BB\u1796\u17D2\u179C\u179B\u17B6\u1797\u1792\u17B6\u1793\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\u17CB(\u178A\u17BB\u179B\u17D2\u179B\u17B6\u179A\u17A2\u17B6\u1798\u17C1\u179A\u17B7\u1780)</div>\n </th>\n </tr>\n </thead>\n <tbody>\n <% product_payment_info?.products?.forEach(function(product) { %>\n <tr>\n <td><div class=\"cell\"><%= product.name %> <%= product.term %></div></td>\n <td><div class=\"cell\"><%= product.sum_assured %></div></td>\n <td><div class=\"cell\"><%= product.payment_mode %></div></td>\n <td><div class=\"cell\"><%= product.premium %></div></td>\n </tr>\n <% }) %>\n </tbody>\n </table>\n </div>\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"question-label\">\u179C\u17B7\u1792\u17B8\u179F\u17B6\u179F\u17D2\u179A\u17D2\u178A\u1794\u1784\u17CB\u1794\u17BB\u1796\u17D2\u179C\u179B\u17B6\u1797\u1792\u17B6\u1793\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\u17CB:</span>\n <label class=\"checkbox-label <%= product_payment_info.payment_method === 'transfer_to_plac' ? 'checked' : '' %>\">\n \u1780\u17B6\u179A\u1795\u17D2\u1791\u17C1\u179A\u1794\u17D2\u179A\u17B6\u1780\u17CB\u1785\u17BC\u179B\u1791\u17C5\u1780\u17D2\u1793\u17BB\u1784\u1782\u178E\u1793\u17B8\u179A\u1794\u179F\u17CB\u17A0\u17D2\u179C\u17B8\u179B\u17B8\u17A1\u17B6\u1799\u17A0\u17D2\u179C\u17CD\n </label>\n <label class=\"checkbox-label <%= product_payment_info.payment_method === 'other' ? 'checked' : '' %>\">\n \u178F\u17B6\u1798\u179A\u1799\u17C7\u178A\u17C3\u1782\u17BC\u179A\u179A\u1794\u179F\u17CB\u17A0\u17D2\u179C\u17B8\u179B\u17B8\u17A1\u17B6\u1799\u17A0\u17D2\u179C\u17CD\n </label>\n </div>\n </div>\n\n <!-- Section 3 -->\n <div class=\"card-header mt-4\">\u1796\u17D0\u178F\u17CC\u1798\u17B6\u1793\u17A2\u17C6\u1796\u17B8\u17A2\u17D2\u1793\u1780\u1791\u1791\u17BD\u179B\u1795\u179B</div>\n <div class=\"table-container\">\n <table>\n <thead>\n <tr>\n <th><div class=\"cell\">\u1788\u17D2\u1798\u17C4\u17C7\u1796\u17C1\u1789\u179A\u1794\u179F\u17CB\u17A2\u17D2\u1793\u1780\u1791\u1791\u17BD\u179B\u1795\u179B</div></th>\n <th><div class=\"cell\">\u17A2\u17B6\u1799\u17BB</div></th>\n <th><div class=\"cell\">\u1791\u17C6\u1793\u17B6\u1780\u17CB\u1791\u17C6\u1793\u1784</div></th>\n <th><div class=\"cell\">\u179B\u17C1\u1781\u17A2\u178F\u17D2\u178F\u179F\u1789\u17D2\u1789\u17B6\u178E</div></th>\n <th><div class=\"cell\">% \u1793\u17C3\u1780\u17B6\u179A\u1794\u17C2\u1784\u1785\u17C2\u1780</div></th>\n </tr>\n </thead>\n <tbody>\n <% beneficiary_info?.forEach(function(beneficiary) { %>\n <tr>\n <td><div class=\"cell\"><%= beneficiary.full_name %></div></td>\n <td><div class=\"cell\"><%= beneficiary.age %></div></td>\n <td><div class=\"cell\"><%= beneficiary.relationship %></div></td>\n <td><div class=\"cell\"><%= beneficiary.id_number %></div></td>\n <td><div class=\"cell\"><%= beneficiary.percentage %></div></td>\n </tr>\n <% }) %>\n <tr>\n <td colspan=\"4\">\n <div class=\"cell\">\n \u1780\u178E\u178F\u17CB\u179F\u1798\u17D2\u1782\u17B6\u179B\u17CB\u17D6\n \u1794\u17D2\u179A\u179F\u17B7\u1793\u1794\u17BE\u1797\u17B6\u1782\u179A\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17BC\u179C\u1794\u17B6\u1793\u1794\u1789\u17D2\u1787\u17B6\u1780\u17CB\u1785\u17C6\u1793\u17BD\u1793\u1791\u17B9\u1780\u1794\u17D2\u179A\u17B6\u1780\u17CB\u1793\u17B9\u1784\u178F\u17D2\u179A\u17BC\u179C\u1794\u17C2\u1784\u1785\u17C2\u1780\u179F\u17D2\u1798\u17BE\u17D7\u1782\u17D2\u1793\u17B6\n </div>\n </td>\n <td><div class=\"cell\">% \u179F\u179A\u17BB\u1794\u179F\u17D2\u1798\u17BE\u179A \u17E1\u17E0\u17E0%</div></td>\n </tr>\n </tbody>\n </table>\n </div>\n\n <!-- Section 4 -->\n <div class=\"page-break\"></div>\n <div class=\"card-header\">\n \u1796\u17D0\u178F\u17CC\u1798\u17B6\u1793\u1796\u17B6\u1780\u17CB\u1796\u17D0\u1793\u17D2\u1791\u1793\u17B9\u1784\u179F\u17BB\u1781\u1797\u17B6\u1796\u179A\u1794\u179F\u17CB \u17A2\u17D2\u1793\u1780\u179F\u17D2\u1793\u17BE\u179F\u17BB\u17C6\u1794\u178E\u17D2\u178E\u179F\u1793\u17D2\u1799\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\u17CB\n </div>\n\n <!-- Question 1 -->\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"label\">1) \u1780\u1798\u17D2\u1796\u179F\u17CB:</span>\n <span class=\"underline sm\"><%= health_info.height %></span>\n <span class=\"label\">\u179F.\u1798</span>\n <div class=\"space\"></div>\n <span class=\"label\">\u1791\u1798\u17D2\u1784\u1793\u17CB:</span>\n <span class=\"underline sm\"><%= health_info.weight %></span>\n <span class=\"label\">\u1782.\u1780</span>\n <div class=\"space\"></div>\n <span class=\"question-label\">\u178F\u17BE\u179B\u17C4\u1780\u17A2\u17D2\u1793\u1780\u1796\u17B7\u179F\u17B6\u179A\u1794\u17B6\u179A\u17B8\u178A\u17C2\u179A\u17AC\u1791\u17C1?:</span>\n <label class=\"checkbox-label <%= health_info.is_smoke === false ? 'checked' : '' %>\">\n \u1798\u17B7\u1793\u1798\u17B6\u1793\n </label>\n <label class=\"checkbox-label <%= health_info.is_smoke === true ? 'checked' : '' %>\">\n \u1798\u17B6\u1793\n </label>\n </div>\n\n <div class=\"form-item mb-4\">\n <span class=\"label\">\u1785\u17C6\u1793\u17BD\u1793\u17D6</span>\n <% if (health_info.smoke_detail) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= health_info.smoke_detail %></span>\n <span class=\"unit\">\u178A\u17BE\u1798\u1780\u17D2\u1793\u17BB\u1784\u1798\u17BD\u1799\u179F\u1794\u17D2\u178A\u17B6\u17A0\u17CD</span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n </div>\n </div>\n\n <!-- Question 2 -->\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"question-label\">2) \u178F\u17BE\u179B\u17C4\u1780\u17A2\u17D2\u1793\u1780\u1796\u17B7\u179F\u17B6\u179A\u1782\u17D2\u179A\u17BF\u1784\u179F\u17D2\u179A\u179C\u17B9\u1784\u178A\u17C2\u179A\u17AC\u1791\u17C1?:</span>\n <label class=\"checkbox-label <%= health_info.is_drink_alcohol === false ? 'checked' : '' %>\">\n \u1798\u17B7\u1793\u1798\u17B6\u1793\n </label>\n <label class=\"checkbox-label <%= health_info.is_drink_alcohol === true ? 'checked' : '' %>\">\n \u1798\u17B6\u1793\n </label>\n </div>\n <div class=\"form-item mb-4\">\n <span class=\"label\">\u1785\u17C6\u1793\u17BD\u1793</span>\n <% if (health_info.drink_alcohol_detail) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= health_info.drink_alcohol_detail %></span>\n <span class=\"unit\">\u1780\u17D2\u1793\u17BB\u1784\u1798\u17BD\u1799\u1790\u17D2\u1784\u17C3</span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <span class=\"label\">\u1780\u17D2\u1793\u17BB\u1784\u1798\u17BD\u1799\u1790\u17D2\u1784\u17C3</span>\n <% } %>\n </div>\n </div>\n\n <!-- Question 3 -->\n <div class=\"form-container\">\n <span class=\"question-label\">\n 3) \u1780\u17D2\u1793\u17BB\u1784\u179A\u1799\u17C8\u1796\u17C1\u179B\u17E0\u17E2(\u1796\u17B8\u179A)\u1786\u17D2\u1793\u17B6\u17C6\u1785\u17BB\u1784\u1780\u17D2\u179A\u17C4\u1799\u1793\u17C1\u17C7\u178F\u17BE\u179B\u17C4\u1780\u17A2\u17D2\u1793\u1780\u1792\u17D2\u179B\u17B6\u1794\u17CB\u1794\u17B6\u1793\u179F\u1798\u17D2\u179A\u17B6\u1780\u1780\u17D2\u1793\u17BB\u1784\u1798\u1793\u17D2\u1791\u17B8\u179A\u1796\u17C1\u1791\u17D2\u1799\u1792\u17D2\u179B\u17B6\u1794\u17CB\u1794\u17B6\u1793\u1791\u1791\u17BD\u179B\u1780\u17B6\u179A\u179C\u17C7\u1780\u17B6\u178F\u17CB\n \u17AC\u1792\u17D2\u179B\u17B6\u1794\u17CB\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793\u179B\u1791\u17D2\u1792\u1795\u179B\u1781\u17BB\u179F\u1794\u17D2\u179A\u1780\u17D2\u179A\u178F\u17B8\u17A2\u17C6\u1796\u17B8 \u1780\u17B6\u179A\u179C\u17B7\u1797\u17B6\u1782\u1788\u17B6\u1798 \u1780\u17B6\u179A\u179C\u17B7\u1797\u17B6\u1782\u1791\u17B9\u1780\u1793\u17C4\u1798\n \u1780\u17B6\u179A\u1790\u178F\u1780\u17B6\u17C6\u179A\u179F\u17D2\u1798\u17B8\u17A2\u17BB\u17B7\u1785 (X-ray) \u1798\u17C9\u17B6\u179F\u17BB\u17B7\u1793\u179C\u17B6\u179F\u17CB\u1785\u1784\u17D2\u179C\u17B6\u1780\u17CB\u1794\u17C1\u17C7\u178A\u17BC\u1784 \u17A2\u17C1\u1780\u17BC\u179F\u17B6\u179F\u17D2\u179A\u17D2\u178A\n \u179F\u17D2\u1780\u17C1\u1793\u1780\u17B6\u179A\u1785\u17D2\u179A\u17B9\u1794\u179F\u17B6\u1785\u17CB\u1799\u1780\u1796\u17B7\u1793\u17B7\u178F\u17D2\u1799\n \u17AC\u179B\u1791\u17D2\u1792\u1795\u179B\u179C\u17B7\u1797\u17B6\u1782\u1795\u17D2\u179F\u17C1\u1784\u17D7\u1791\u17C0\u178F\u178A\u17C2\u179B\u1798\u17B7\u1793\u1794\u17B6\u1793\u179A\u17C0\u1794\u179A\u17B6\u1794\u17CB\u1781\u17B6\u1784\u178A\u17BE\u1798\u1796\u17B8\u1782\u17D2\u179A\u17BC\u1796\u17C1\u1791\u17D2\u1799\u178A\u17C2\u179A\u17AC\u1791\u17C1?:\n </span>\n <div class=\"form-item\">\n <label class=\"checkbox-label <%= health_info.is_hospitalized === false ? 'checked' : '' %>\">\n \u1798\u17B7\u1793\u1798\u17B6\u1793\n </label>\n <label class=\"checkbox-label <%= health_info.is_hospitalized === true ? 'checked' : '' %>\">\n \u1798\u17B6\u1793\n </label>\n </div>\n\n <div class=\"form-item mb-4\">\n <span class=\"label\">\u1794\u17BE\u1798\u17B6\u1793\u179F\u17BC\u1798\u1795\u17D2\u178A\u179B\u17CB\u1796\u17D0\u178F\u17CD\u1798\u17B6\u1793\u179B\u1798\u17D2\u17A2\u17B7\u178F\u17D6</span>\n <% if (health_info.hospitalized_detail) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= health_info.hospitalized_detail %></span>\n <span class=\"unit\">\u1780\u17D2\u1793\u17BB\u1784\u1798\u17BD\u1799\u1790\u17D2\u1784\u17C3</span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n </div>\n </div>\n\n <!-- Question 4 -->\n <div class=\"form-container\"> \n <span class=\"question-label\">\n 4) \u178F\u17BE\u179B\u17C4\u1780\u17A2\u17D2\u1793\u1780\u1792\u17D2\u179B\u17B6\u1794\u17CB\u1794\u17B6\u1793\u1792\u17D2\u179C\u17BE\u179A\u17C4\u1782\u179C\u17B7\u1793\u17B7\u1785\u17D2\u1786\u17D0\u1799 \u1796\u17B7\u1782\u17D2\u179A\u17C4\u17C7\u1787\u17C6\u1784\u17BA \u17AC\u1791\u1791\u17BD\u179B\u1780\u17B6\u179A\u1796\u17D2\u1799\u17B6\u1794\u17B6\u179B\u178A\u17BC\u1785\u1787\u17B6\n \u179B\u17BE\u179F\u179F\u1798\u17D2\u1796\u17B6\u1792\u1788\u17B6\u1798 \u1791\u17B9\u1780\u1793\u17C4\u1798\u1795\u17D2\u17A2\u17C2\u1798 \u1787\u17C6\u1784\u17BA\u1794\u17C1\u17C7\u178A\u17BC\u1784 \u1785\u17BB\u1780\u1791\u17D2\u179A\u17BC\u1784 \u1787\u17C6\u1784\u17BA\u179F\u17BD\u178F \u1787\u17C6\u1784\u17BA\u1790\u17D2\u179B\u17BE\u1798\n \u1787\u17C6\u1784\u17BA\u178F\u1798\u17D2\u179A\u1784\u1793\u17C4\u1798 \u1798\u17A0\u17B6\u179A\u17B8\u1780 \u1787\u17C6\u1784\u17BA\u178A\u17B6\u1785\u17CB\u179F\u179F\u17C3\u1788\u17B6\u1798\u1781\u17BD\u179A\u1780\u17D2\u1794\u17B6\u179B \u1787\u17C6\u1784\u17BA\u17A2\u17C1\u178A\u179F\u17CD \u1787\u17C6\u1784\u17BA\u1795\u17D2\u179B\u17BC\u179C\u1785\u17B7\u178F\u17D2\u178F\n \u1796\u17B7\u1780\u17B6\u179A\u1797\u17B6\u1796 \u17AC\u179A\u17B6\u1784\u1780\u17B6\u1799\u1798\u17B7\u1793\u1794\u17D2\u179A\u1780\u17D2\u179A\u178F\u17B8 \u1794\u17D2\u179A\u17BE\u1794\u17D2\u179A\u17B6\u179F\u17CB\u1790\u17D2\u1793\u17B6\u17C6\u1789\u17C0\u1793 \u17AC\u1789\u17C0\u1793\u179F\u17D2\u179A\u17B6\n \u17AC\u1787\u17C6\u1784\u17BA\u1795\u17D2\u179F\u17C1\u1784\u1791\u17C0\u178F\u178A\u17C2\u179B\u1798\u17B7\u1793\u1794\u17B6\u1793\u179A\u17C0\u1794\u179A\u17B6\u1794\u17CB\u1781\u17B6\u1784\u179B\u17BE\u178A\u17C2\u179A\u17AC\u1791\u17C1?\n </span>\n <div class=\"form-item\">\n <label class=\"checkbox-label <%= health_info.is_diagnosed === false ? 'checked' : '' %>\">\n \u1798\u17B7\u1793\u1798\u17B6\u1793\n </label>\n <label class=\"checkbox-label <%= health_info.is_diagnosed === true ? 'checked' : '' %>\">\n \u1798\u17B6\u1793\n </label>\n \n </div>\n <div class=\"form-item mb-4\">\n <span class=\"label\">\u1794\u17BE\u1798\u17B6\u1793\u179F\u17BC\u1798\u1794\u1789\u17D2\u1787\u17B6\u1780\u17CB\u179B\u1798\u17D2\u17A2\u17B7\u178F\u1781\u17B6\u1784\u1780\u17D2\u179A\u17C4\u1798\u17D6</span>\n <% if (health_info.diagnosed_detail) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= health_info.diagnosed_detail %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n </div>\n </div>\n\n <!-- Section 5 -->\n <div class=\"card-header mt-8\">\u179F\u17C1\u1785\u1780\u17D2\u178A\u17B8\u1794\u17D2\u179A\u1780\u17B6\u179F\u179A\u1794\u179F\u17CB\u17A2\u17D2\u1793\u1780\u179F\u17D2\u1793\u17BE\u179F\u17BB\u17C6\u1792\u17B6\u1793\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\u17CB</div>\n <div class=\"form-container\">\n <div class=\"form-item\">\n <span class=\"label\"\n >1) \u1781\u17D2\u1789\u17BB\u17C6\u17A2\u1793\u17BB\u1789\u17D2\u1789\u17B6\u178F \u1793\u17B7\u1784\u1799\u179B\u17CB\u1796\u17D2\u179A\u1798\u17B2\u17D2\u1799\u1780\u17D2\u179A\u17BB\u1798\u17A0\u17CA\u17BB\u1793\u1794\u17D2\u179A\u17BE\u1794\u17D2\u179A\u17B6\u179F\u17CB\u1796\u17D0\u178F\u17CC\u1798\u17B6\u1793\n \u1793\u17B7\u1784\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1791\u17B6\u17C6\u1784\u179F\u17D2\u179A\u17BB\u1784\u178A\u17C2\u179B\u1781\u17D2\u1789\u17BB\u17C6\u1794\u17B6\u1793\u1795\u17D2\u178A\u179B\u17CB\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784\u1796\u17B6\u1780\u17D2\u1799\u179F\u17D2\u1793\u17BE\u179F\u17BB\u17C6\u179A\u1794\u179F\u17CB\u1781\u17D2\u1789\u17BB\u17C6\n \u1780\u17D2\u1793\u17BB\u1784\u1782\u17C4\u179B\u1794\u17C6\u178E\u1784 \u179F\u17D2\u179A\u1794\u178F\u17B6\u1798\u1785\u17D2\u1794\u17B6\u1794\u17CB\u178A\u17BC\u1785\u1787\u17B6\u1780\u17B6\u179A\u1795\u17D2\u179F\u1796\u17D2\u179C\u1795\u17D2\u179F\u17B6\u1799\u1791\u17B8\u1795\u17D2\u179F\u17B6\u179A \u1780\u17B6\u179A\u179F\u17B7\u1780\u17D2\u179F\u17B6\u1791\u17B8\u1795\u17D2\u179F\u17B6\u179A\n \u1793\u17B7\u1784 \u1780\u17B6\u179A\u1794\u1798\u17D2\u179A\u17BE\u17A2\u178F\u17B7\u1790\u17B7\u1787\u1793\u178A\u17C4\u1799\u1780\u17D2\u179A\u17BB\u1798\u17A0\u17CA\u17BB\u1793 \u179F\u1798\u17D2\u1796\u17D0\u1793\u17D2\u1792\u1780\u17D2\u179A\u17BB\u1798\u17A0\u17CA\u17BB\u1793 \u17AC \u1787\u17B6\u178A\u17C3\u1782\u17BC\n \u1796\u17B6\u178E\u17B7\u1787\u17D2\u1787\u1780\u1798\u17D2\u1798\u179A\u1794\u179F\u17CB\u1780\u17D2\u179A\u17BB\u1798\u17A0\u17CA\u17BB\u1793\u178A\u17C4\u1799\u1798\u17B7\u1793\u1785\u17B6\u17C6\u1794\u17B6\u1785\u17CB\u1798\u17B6\u1793\u1780\u17B6\u179A\u1799\u179B\u17CB\u1796\u17D2\u179A\u1798\n \u1793\u17B7\u1784\u1787\u17BC\u1793\u178A\u17C6\u178E\u17B9\u1784\u1794\u1793\u17D2\u1790\u17C2\u1798\u1796\u17B8\u1781\u17D2\u1789\u17BB\u17C6\u17A1\u17BE\u1799\u17D4 \u1780\u17D2\u179A\u17BB\u1798\u17A0\u17CA\u17BB\u1793\u1798\u17B7\u1793\u178F\u17D2\u179A\u17BC\u179C\u1794\u17B6\u1793\u17A2\u1793\u17BB\u1789\u17D2\u1789\u17B6\u178F\u17B2\u17D2\u1799\u1794\u1789\u17D2\u1785\u17C1\u1789\n \u1796\u17D0\u178F\u17CC\u1798\u17B6\u1793\u178E\u17B6\u1798\u17BD\u1799\u1791\u17C5\u1797\u17B6\u1782\u17B8\u1791\u17B8\u1794\u17B8\u178E\u17B6\u1798\u17BD\u1799\u17AC\u1794\u17D2\u179A\u17BE\u1794\u17D2\u179A\u17B6\u179F\u17CB\u1796\u17D0\u178F\u17CC\u1798\u17B6\u1793\u1793\u17C4\u17C7\u179F\u1798\u17D2\u179A\u17B6\u1794\u17CB\u1782\u17C4\u179B\u1794\u17C6\u178E\u1784\u1795\u17D2\u179F\u17C1\u1784\u1791\u17C0\u178F\u178A\u17C2\u179B\u1798\u17B7\u1793\u1791\u17B6\u1780\u17CB\u1791\u1784\u1793\u17B9\u1784\u1782\u17C4\u179B\u1794\u17C6\u178E\u1784\n \u1791\u17B6\u17C6\u1784\u17A1\u17B6\u1799\u1781\u17B6\u1784\u179B\u17BE\u17A1\u17BE\u1799 \u1794\u17D2\u179A\u179F\u17B7\u1793\u1794\u17BE\u1782\u17D2\u1798\u17B6\u1793\u1780\u17B6\u179A\u1799\u179B\u17CB\u1796\u17D2\u179A\u1798\u1796\u17D2\u179A\u17C0\u1784\u1787\u17B6\u179B\u17B6\u1799\u179B\u1780\u17D2\u1781\u178E\u17CD\u17A2\u1780\u17D2\u179F\u179A\u1793\u17C4\u17C7\u17D4</span\n >\n </div>\n <div class=\"form-item\">\n <span class=\"label\">\n 2) \u1781\u17D2\u1789\u17BB\u17C6\u179F\u17BC\u1798\u17A2\u17C7\u17A2\u17B6\u1784\u1790\u17B6\u1794\u17B6\u1793\u17A2\u17B6\u1793 \u1793\u17B7\u1784\u1799\u179B\u17CB\u179F\u17D2\u179A\u1794\u1793\u17BC\u179C\u1782\u17D2\u179A\u1794\u17CB\u1796\u17D0\u178F\u17CC\u1798\u17B6\u1793\u1780\u17D2\u1793\u17BB\u1784\u17AF\u1780\u179F\u17B6\u179A\u1793\u17C1\u17C7\u17D4\n \u1781\u17D2\u1789\u17BB\u17C6\u179F\u17BC\u1798\u1794\u17D2\u179A\u1780\u17B6\u179F\u1790\u17B6\u1782\u17D2\u179A\u1794\u17CB\u1796\u17D0\u178F\u17CC\u1798\u17B6\u1793\u178A\u17C2\u179B\u1794\u17B6\u1793\u1795\u17D2\u178A\u179B\u17CB\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784\u1796\u17B6\u1780\u17D2\u1799\u179F\u17D2\u1793\u17BE\u179F\u17BB\u17C6\u1793\u17C1\u17C7\n \u1796\u17B7\u178F\u1787\u17B6\u1798\u17B6\u1793\u1797\u17B6\u1796\u1796\u17C1\u1789\u179B\u17C1\u1789 \u1793\u17B7\u1784\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1796\u17B7\u178F\u1794\u17D2\u179A\u17B6\u1780\u178A\u1798\u17C2\u1793\u17D4\n </span>\n </div>\n </div>\n <div class=\"table-container mt-4\">\n <table>\n <thead>\n <tr>\n <th style=\"width: 50%\">\n <div class=\"cell\">\n \u17A0\u178F\u17D2\u1790\u179B\u17C1\u1781\u17B6 \u17AC\u179F\u17D2\u1793\u17B6\u1798\u1798\u17C1\u178A\u17C3\u179A\u1794\u179F\u17CB\u17A2\u17D2\u1793\u1780\u179F\u17D2\u1793\u17BE\u179F\u17BB\u17C6\u1792\u17B6\u1793\u17B6\u179A\u17C9\u17B6\u1794\u17CB\u179A\u1784\n </div>\n <div class=\"signature-space\"></div>\n </th>\n <th style=\"width: 50%\">\n <div class=\"cell\">\u17A0\u178F\u17D2\u1790\u179B\u17C1\u1781\u17B6 \u17AC\u179F\u17D2\u1793\u17B6\u1798\u1798\u17C1\u178A\u17C3\u179A\u1794\u179F\u17CB\u179F\u17B6\u1780\u17D2\u179F\u17B8</div>\n <div class=\"signature-space\"></div>\n </th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>\n <div class=\"form-container space-height\">\n <div class=\"form-item\">\n <div class=\"space\"></div>\n <span class=\"label\">\u1788\u17D2\u1798\u17C4\u17C7</span>\n <% if (signature_info.applicant_name) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= signature_info.applicant_name %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n <div class=\"space\"></div> \n </div>\n </div>\n </td>\n <td>\n <div class=\"form-container space-height\">\n <div class=\"form-item\">\n <div class=\"space\"></div>\n <span class=\"label\">\u1788\u17D2\u1798\u17C4\u17C7</span>\n <% if (signature_info.witness_name) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= signature_info.witness_name %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n <div class=\"space\"></div> \n </div>\n </div>\n </td>\n </tr>\n <tr>\n <td>\n <div class=\"form-container space-height\">\n <div class=\"form-item\">\n <div class=\"space\"></div>\n <span class=\"label\">\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791</span>\n <% if (signature_info.applicant_signature_date) { %>\n <span class=\"underline with-unit\" >\n <span class=\"value\"><%= signature_info.applicant_signature_date %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n <div class=\"space\"></div> \n </div>\n </div>\n </td>\n <td>\n <div class=\"form-container space-height\">\n <div class=\"form-item\">\n <div class=\"space\"></div>\n <span class=\"label\">\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791</span>\n <% if (signature_info.witness_signature_date) { %>\n <span class=\"underline with-unit\">\n <span class=\"value\"><%= signature_info.witness_signature_date %></span>\n </span>\n <% } else { %>\n <span class=\"underline\"></span>\n <% } %>\n <div class=\"space\"></div> \n </div>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </body>\n</html>\n";
@@ -203,18 +203,16 @@ exports.SIO_FORM_KH_TEMPLATE = `
203
203
  }
204
204
 
205
205
  .checkbox-label.checked::after {
206
- content: "";
206
+ content: "";
207
207
  position: absolute;
208
- top: 50%;
209
- left: 0.2rem;
210
- width: 20px;
211
- height: 20px;
212
- display: flex;
213
- align-items: center;
214
- justify-content: center;
215
- font-size: 14px;
216
- color: #0d6efd;
217
- transform: translateY(-50%);
208
+ top: 45%;
209
+ left: calc(0.2rem + 7px);
210
+ width: 6px;
211
+ height: 12px;
212
+ border: solid #0d6efd;
213
+ border-width: 0 2px 2px 0;
214
+ box-sizing: border-box;
215
+ transform: translateY(-50%) rotate(45deg);
218
216
  pointer-events: none;
219
217
  }
220
218
 
@@ -63,7 +63,7 @@ __decorate([
63
63
  ], ExchangeRateEntity.prototype, "logs", void 0);
64
64
  exports.ExchangeRateEntity = ExchangeRateEntity = __decorate([
65
65
  (0, typeorm_1.Entity)({ schema: "core", name: "exchange_rates" }),
66
- (0, typeorm_1.Index)("ux_exchange_rates_base_quote_rate_date", ["base_currency_code", "quote_currency_code", "rate_date"], { unique: true }),
66
+ (0, typeorm_1.Index)("ix_exchange_rates_base_quote_rate_date", ["base_currency_code", "quote_currency_code", "rate_date"]),
67
67
  (0, typeorm_1.Index)("ix_exchange_rates_rate_date", ["rate_date"]),
68
68
  (0, typeorm_1.Index)("ix_exchange_rates_base_quote", [
69
69
  "base_currency_code",
@@ -6,6 +6,7 @@ import { CustomerContactEntity } from "./customer_contact.entity";
6
6
  import { CustomerAddressEntity } from "./customer_address.entity";
7
7
  import { CustomerIdentifierEntity } from "./customer_identifier.entity";
8
8
  import { CustomerEmploymentEntity } from "./customer_employment.entity";
9
+ import { CustomerLoanInfoEntity } from "./customer_loan_info.entity";
9
10
  import { OrganizationEntity, OrganizationStaffEntity } from "../core";
10
11
  export declare class CustomerEntity extends _BaseEntity {
11
12
  id: string;
@@ -26,6 +27,7 @@ export declare class CustomerEntity extends _BaseEntity {
26
27
  addresses?: CustomerAddressEntity[];
27
28
  identifiers?: CustomerIdentifierEntity[];
28
29
  employments?: CustomerEmploymentEntity[];
30
+ loan_infos?: CustomerLoanInfoEntity[];
29
31
  org?: OrganizationEntity;
30
32
  created_by_org_staff?: OrganizationStaffEntity;
31
33
  }
@@ -19,6 +19,7 @@ const customer_contact_entity_1 = require("./customer_contact.entity");
19
19
  const customer_address_entity_1 = require("./customer_address.entity");
20
20
  const customer_identifier_entity_1 = require("./customer_identifier.entity");
21
21
  const customer_employment_entity_1 = require("./customer_employment.entity");
22
+ const customer_loan_info_entity_1 = require("./customer_loan_info.entity");
22
23
  const core_1 = require("../core");
23
24
  const utils_1 = require("../../utils");
24
25
  let CustomerEntity = class CustomerEntity extends _base_entity_1._BaseEntity {
@@ -117,6 +118,12 @@ __decorate([
117
118
  }),
118
119
  __metadata("design:type", Array)
119
120
  ], CustomerEntity.prototype, "employments", void 0);
121
+ __decorate([
122
+ (0, typeorm_1.OneToMany)(() => customer_loan_info_entity_1.CustomerLoanInfoEntity, (l) => l.customer, {
123
+ cascade: true,
124
+ }),
125
+ __metadata("design:type", Array)
126
+ ], CustomerEntity.prototype, "loan_infos", void 0);
120
127
  __decorate([
121
128
  (0, typeorm_1.ManyToOne)(() => core_1.OrganizationEntity, { nullable: true, onDelete: "RESTRICT" }),
122
129
  (0, typeorm_1.JoinColumn)({ name: "org_id" }),
@@ -0,0 +1,16 @@
1
+ import { _BaseEntity } from "../_base_entity";
2
+ import { CustomerEntity } from "./customer.entity";
3
+ export declare class CustomerLoanInfoEntity extends _BaseEntity {
4
+ id: string;
5
+ loan_no: string;
6
+ customer_id: string;
7
+ loan_term?: number | null;
8
+ loan_amount?: number | null;
9
+ issue_date?: string | null;
10
+ currency?: string | null;
11
+ branch_code?: string | null;
12
+ branch_name?: string | null;
13
+ external_ref?: string | null;
14
+ metadata?: Record<string, any> | null;
15
+ customer: CustomerEntity;
16
+ }
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.CustomerLoanInfoEntity = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const _base_entity_1 = require("../_base_entity");
15
+ const customer_entity_1 = require("./customer.entity");
16
+ let CustomerLoanInfoEntity = class CustomerLoanInfoEntity extends _base_entity_1._BaseEntity {
17
+ };
18
+ exports.CustomerLoanInfoEntity = CustomerLoanInfoEntity;
19
+ __decorate([
20
+ (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
21
+ __metadata("design:type", String)
22
+ ], CustomerLoanInfoEntity.prototype, "id", void 0);
23
+ __decorate([
24
+ (0, typeorm_1.Column)({ type: "varchar", length: 50, unique: true }),
25
+ __metadata("design:type", String)
26
+ ], CustomerLoanInfoEntity.prototype, "loan_no", void 0);
27
+ __decorate([
28
+ (0, typeorm_1.Column)({ type: "uuid" }),
29
+ __metadata("design:type", String)
30
+ ], CustomerLoanInfoEntity.prototype, "customer_id", void 0);
31
+ __decorate([
32
+ (0, typeorm_1.Column)({ type: "int", nullable: true }),
33
+ __metadata("design:type", Object)
34
+ ], CustomerLoanInfoEntity.prototype, "loan_term", void 0);
35
+ __decorate([
36
+ (0, typeorm_1.Column)({ type: "numeric", precision: 18, scale: 2, nullable: true }),
37
+ __metadata("design:type", Object)
38
+ ], CustomerLoanInfoEntity.prototype, "loan_amount", void 0);
39
+ __decorate([
40
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
41
+ __metadata("design:type", Object)
42
+ ], CustomerLoanInfoEntity.prototype, "issue_date", void 0);
43
+ __decorate([
44
+ (0, typeorm_1.Column)({ type: "varchar", length: 10, nullable: true }),
45
+ __metadata("design:type", Object)
46
+ ], CustomerLoanInfoEntity.prototype, "currency", void 0);
47
+ __decorate([
48
+ (0, typeorm_1.Column)({ type: "varchar", length: 50, nullable: true }),
49
+ __metadata("design:type", Object)
50
+ ], CustomerLoanInfoEntity.prototype, "branch_code", void 0);
51
+ __decorate([
52
+ (0, typeorm_1.Column)({ type: "varchar", length: 150, nullable: true }),
53
+ __metadata("design:type", Object)
54
+ ], CustomerLoanInfoEntity.prototype, "branch_name", void 0);
55
+ __decorate([
56
+ (0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: true }),
57
+ __metadata("design:type", Object)
58
+ ], CustomerLoanInfoEntity.prototype, "external_ref", void 0);
59
+ __decorate([
60
+ (0, typeorm_1.Column)({ type: "jsonb", nullable: true }),
61
+ __metadata("design:type", Object)
62
+ ], CustomerLoanInfoEntity.prototype, "metadata", void 0);
63
+ __decorate([
64
+ (0, typeorm_1.ManyToOne)(() => customer_entity_1.CustomerEntity, (customer) => customer.loan_infos, {
65
+ onDelete: "CASCADE",
66
+ }),
67
+ (0, typeorm_1.JoinColumn)({ name: "customer_id" }),
68
+ __metadata("design:type", customer_entity_1.CustomerEntity)
69
+ ], CustomerLoanInfoEntity.prototype, "customer", void 0);
70
+ exports.CustomerLoanInfoEntity = CustomerLoanInfoEntity = __decorate([
71
+ (0, typeorm_1.Entity)({ schema: "customer", name: "customer_loans_info" }),
72
+ (0, typeorm_1.Index)("idx_customer_loans_info_customer_id", ["customer_id"]),
73
+ (0, typeorm_1.Index)("idx_customer_loans_info_loan_no", ["loan_no"]),
74
+ (0, typeorm_1.Index)("idx_customer_loans_info_external_ref", ["external_ref"])
75
+ ], CustomerLoanInfoEntity);
@@ -5,5 +5,6 @@ import { CustomerCorporateProfileEntity } from "./customer_corporate_profile.ent
5
5
  import { CustomerIdentifierEntity } from "./customer_identifier.entity";
6
6
  import { CustomerIndividualProfileEntity } from "./customer_individual_profile.entity";
7
7
  import { CustomerEmploymentEntity } from "./customer_employment.entity";
8
- export declare const CUSTOMER_ENTITIES: readonly [typeof CustomerEntity, typeof CustomerAddressEntity, typeof CustomerContactEntity, typeof CustomerCorporateProfileEntity, typeof CustomerIdentifierEntity, typeof CustomerIndividualProfileEntity, typeof CustomerEmploymentEntity];
9
- export { CustomerEntity, CustomerAddressEntity, CustomerContactEntity, CustomerCorporateProfileEntity, CustomerIdentifierEntity, CustomerIndividualProfileEntity, CustomerEmploymentEntity, };
8
+ import { CustomerLoanInfoEntity } from "./customer_loan_info.entity";
9
+ export declare const CUSTOMER_ENTITIES: readonly [typeof CustomerEntity, typeof CustomerAddressEntity, typeof CustomerContactEntity, typeof CustomerCorporateProfileEntity, typeof CustomerIdentifierEntity, typeof CustomerIndividualProfileEntity, typeof CustomerEmploymentEntity, typeof CustomerLoanInfoEntity];
10
+ export { CustomerEntity, CustomerAddressEntity, CustomerContactEntity, CustomerCorporateProfileEntity, CustomerIdentifierEntity, CustomerIndividualProfileEntity, CustomerEmploymentEntity, CustomerLoanInfoEntity, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CustomerEmploymentEntity = exports.CustomerIndividualProfileEntity = exports.CustomerIdentifierEntity = exports.CustomerCorporateProfileEntity = exports.CustomerContactEntity = exports.CustomerAddressEntity = exports.CustomerEntity = exports.CUSTOMER_ENTITIES = void 0;
3
+ exports.CustomerLoanInfoEntity = exports.CustomerEmploymentEntity = exports.CustomerIndividualProfileEntity = exports.CustomerIdentifierEntity = exports.CustomerCorporateProfileEntity = exports.CustomerContactEntity = exports.CustomerAddressEntity = exports.CustomerEntity = exports.CUSTOMER_ENTITIES = void 0;
4
4
  const customer_entity_1 = require("./customer.entity");
5
5
  Object.defineProperty(exports, "CustomerEntity", { enumerable: true, get: function () { return customer_entity_1.CustomerEntity; } });
6
6
  const customer_address_entity_1 = require("./customer_address.entity");
@@ -15,6 +15,8 @@ const customer_individual_profile_entity_1 = require("./customer_individual_prof
15
15
  Object.defineProperty(exports, "CustomerIndividualProfileEntity", { enumerable: true, get: function () { return customer_individual_profile_entity_1.CustomerIndividualProfileEntity; } });
16
16
  const customer_employment_entity_1 = require("./customer_employment.entity");
17
17
  Object.defineProperty(exports, "CustomerEmploymentEntity", { enumerable: true, get: function () { return customer_employment_entity_1.CustomerEmploymentEntity; } });
18
+ const customer_loan_info_entity_1 = require("./customer_loan_info.entity");
19
+ Object.defineProperty(exports, "CustomerLoanInfoEntity", { enumerable: true, get: function () { return customer_loan_info_entity_1.CustomerLoanInfoEntity; } });
18
20
  exports.CUSTOMER_ENTITIES = [
19
21
  customer_entity_1.CustomerEntity,
20
22
  customer_address_entity_1.CustomerAddressEntity,
@@ -23,4 +25,5 @@ exports.CUSTOMER_ENTITIES = [
23
25
  customer_identifier_entity_1.CustomerIdentifierEntity,
24
26
  customer_individual_profile_entity_1.CustomerIndividualProfileEntity,
25
27
  customer_employment_entity_1.CustomerEmploymentEntity,
28
+ customer_loan_info_entity_1.CustomerLoanInfoEntity,
26
29
  ];
@@ -70,6 +70,7 @@ var UnderwritingQuestionComponents;
70
70
  UnderwritingQuestionComponents["Q_INS_COMP_5"] = "Q-INS-COMP-5";
71
71
  UnderwritingQuestionComponents["Q_INS_COMP_6"] = "Q-INS-COMP-6";
72
72
  UnderwritingQuestionComponents["Q_INS_COMP_7"] = "Q-INS-COMP-7";
73
+ // SIO
73
74
  UnderwritingQuestionComponents["Q_USA_COMP_1"] = "Q-USA-COMP-1";
74
75
  UnderwritingQuestionComponents["Q_USA_COMP_2"] = "Q-USA-COMP-2";
75
76
  })(UnderwritingQuestionComponents || (exports.UnderwritingQuestionComponents = UnderwritingQuestionComponents = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plac-micro-common",
3
- "version": "1.3.82",
3
+ "version": "1.3.84",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {