A dynamic, customizable, and print-ready tool for generating professional mortgage proposals.
index.html # Main Application
README.md # This Documentation
assets/ # (optional, for logos or branding)
- Open
index.htmlin any modern browser. - Edit fields: Click on any value to update.
- Add/Remove Options: Use the “Add Option” and “Remove Option” buttons.
- Upload your logo (file upload or direct URL).
- Print or Save as PDF: Click “Print to PDF”.
-
You can pre-populate the proposal via a Base64-encoded hash in the URL:
file:///path/to/index.html?hash=BASE64_ENCODED_DATA -
The order of fields matches the
populateFieldsFromHash()function in JavaScript. -
⚠️ For automation or API use only; not for manual editing.
| Section | Editable? | Notes |
|---|---|---|
| Cover Page | Yes | Client and Advisor info, Logo |
| Financial Requirements | Yes | Add/remove mortgage options dynamically |
| Transaction Fees | Yes | Add/remove columns/rows, auto-summarization |
| Bank Fees | Yes | Per bank option |
| Required Documents | Yes | Salaried/Business Client Lists, editable |
- Colors/Fonts/Branding:
Edit the<style>section inindex.html. - Rows/Sections:
Add/remove<tr>elements for more/less details. - Max Options:
Currently, up to 3 mortgage options are supported for clarity.
- Click
Print to PDFfor a presentation-quality output. - On print, input fields become styled text for clarity.
- Logos auto-place to cover/footer as appropriate.
- Emphasized fields (thick borders) highlight critical values.
- Uses CSS
@media printfor perfect pagination and style.
| Tech | Purpose |
|---|---|
| HTML5 | Markup |
| CSS3 | Styling, print media |
| Vanilla JS | Logic, dynamic rendering |
| Cleave.js | Input formatting (numbers) |
- ✔️ Review all fields before printing.
- ✔️ Always upload the correct logo.
- ✔️ Use Base64-encoded hashes only if you know the data structure.
- ✔️ Stick to max 3 options for legibility.
- Print layout may vary slightly between browsers—always preview before sharing.
- The encoded hash must follow the required field order.
- For security, only use trusted input for automation.
Proprietary – Internal or client-authorized use only.
For technical issues or feature requests, please contact your IT representative or project maintainer.
“Professional proposals made effortless, accurate, and beautiful.”