frappe / print_designer

Visual print designer for Frappe / ERPNext
GNU Affero General Public License v3.0
214 stars 116 forks source link

Issue on v1.1.0 #225

Closed kittiu closed 2 months ago

kittiu commented 5 months ago

Hello, months back, I do use this module and think it was quite stable. Now, as I back to use it again with the lastest vesion, it is not as snappy.

For example, when saved, it take many seconds to get saved. Is it recommended to use the latest version on production now?

Thanks!

maharshivpatel commented 5 months ago

I recently merged breaking changes so if you are satisfied with the current formats. I would suggest to wait for some time.

the latest version has some features that will allow you to create formats with dynamic heights but it can break some formats if you update the app & modify the format.

it is slow because it generates a preview image for you when you save. I will remove it in the next weekly release as the preview image is not used anywhere yet 😅 .

I will move it to the server side soon.

kittiu commented 5 months ago

Understood! Thanks for your prompt response. This is an amazing module, and it could help us a lot in long term. We can wait. So, for the previous stable version, which commit do you recommend?

maharshivpatel commented 5 months ago

You can use the latest version and report the issues i will try to fix them as soon as possible.

The old formats will print the same as before.

when you change something and save it, it will ask you to make a copy and convert it to a newer version 😅.

if you face some serious issues and want to use the old version you can use v1.0.0

table column style issue was not working for newly added columns, fixed by #226 .

kittiu commented 5 months ago

OK, may I report something here, what I did as I am also asked to copy as new version.

Old Version

image

The Old Version, I did printed it OK, like this.

image image

For the New Version, something is a bit off from the beginning.

image

image

Line is missing.

image

maharshivpatel commented 5 months ago

@kittiu would you mind sharing the format?

you share your format like this :

You can paste the data here ( change any personal info )

https://github.com/frappe/print_designer/assets/39730881/b7b761c7-a2b1-43d4-a3b3-0dde25ba9699

kittiu commented 5 months ago

This is original

{"name":"JV/KV Voucher","owner":"kittiu@ecosoft.co.th","creation":"2024-01-27 09:46:15.429119","modified":"2024-04-09 13:57:16.301676","modified_by":"kittiu@ecosoft.co.th","docstatus":0,"idx":0,"print_designer_after_table":"[]","print_designer_settings":"{\"currentDoc\":\"KV24000004\",\"currentFonts\":[\"Inter\"],\"currentPageSize\":\"A4\",\"globalStyles\":{\"barcode\":{\"isDynamic\":false,\"isGlobalStyle\":true,\"mainCssRule\":{},\"mainRuleSelector\":\".barcode\",\"style\":{\"backgroundColor\":\"\",\"border\":\"none\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"borderStyle\":\"solid\",\"borderWidth\":\"0px\",\"boxShadow\":\"none\",\"display\":\"block\",\"margin\":\"0px\",\"minHeight\":\"0px\",\"minWidth\":\"0px\",\"opacity\":1,\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"paddingTop\":\"0px\",\"userSelect\":\"none\",\"whiteSpace\":\"normal\"},\"styleEditMode\":\"main\",\"type\":\"barcode\"},\"dynamicText\":{\"isDynamic\":true,\"isGlobalStyle\":true,\"labelCssRule\":{},\"labelDisplayStyle\":\"standard\",\"labelRuleSelector\":\".dynamicText .label-text\",\"labelStyle\":{\"backgroundColor\":\"#ffffff\",\"border\":\"none\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"borderStyle\":\"solid\",\"borderWidth\":\"0px\",\"boxShadow\":\"none\",\"color\":\"#000000\",\"fontFamily\":\"Inter\",\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":600,\"letterSpacing\":\"0px\",\"lineHeight\":1.25,\"margin\":\"0px\",\"minHeight\":\"0px\",\"minWidth\":\"0px\",\"opacity\":1,\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"paddingTop\":\"0px\",\"textAlign\":\"left\",\"textDecoration\":\"none\",\"textTransform\":\"none\",\"userSelect\":\"none\",\"whiteSpace\":\"normal\",\"zIndex\":1},\"mainCssRule\":{},\"mainRuleSelector\":\".dynamicText\",\"style\":{\"backgroundColor\":\"#ffffff\",\"border\":\"none\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"borderStyle\":\"solid\",\"borderWidth\":\"0px\",\"boxShadow\":\"none\",\"color\":\"#000000\",\"contenteditable\":false,\"display\":\"inline-block\",\"fontFamily\":\"Inter\",\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":400,\"letterSpacing\":\"0px\",\"lineHeight\":1.25,\"margin\":\"0px\",\"minHeight\":\"0px\",\"minWidth\":\"0px\",\"opacity\":1,\"overflow\":\"hidden\",\"overflowWrap\":\"break-word\",\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"paddingTop\":\"0px\",\"textAlign\":\"left\",\"textDecoration\":\"none\",\"textTransform\":\"none\",\"userSelect\":\"none\",\"whiteSpace\":\"normal\"},\"styleEditMode\":\"main\",\"type\":\"text\"},\"image\":{\"isDynamic\":false,\"isGlobalStyle\":true,\"mainCssRule\":{},\"mainRuleSelector\":\".image\",\"style\":{\"backgroundColor\":\"\",\"backgroundPosition\":\"center center\",\"backgroundRepeat\":\"no-repeat\",\"backgroundSize\":\"contain\",\"border\":\"none\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"borderStyle\":\"solid\",\"borderWidth\":\"0px\",\"boxShadow\":\"none\",\"display\":\"block\",\"margin\":\"0px\",\"minHeight\":\"0px\",\"minWidth\":\"0px\",\"objectFit\":\"scale-down\",\"objectPosition\":\"center center\",\"opacity\":1,\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"paddingTop\":\"0px\",\"userSelect\":\"none\",\"whiteSpace\":\"normal\"},\"styleEditMode\":\"main\",\"type\":\"image\"},\"rectangle\":{\"isDynamic\":false,\"isGlobalStyle\":true,\"mainCssRule\":{},\"mainRuleSelector\":\".rectangle\",\"style\":{\"backgroundColor\":\"#ffffff\",\"border\":\"1px solid black\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"borderStyle\":\"solid\",\"borderWidth\":\"1px\",\"boxShadow\":\"none\",\"boxSizing\":\"border-box\",\"color\":\"#000000\",\"margin\":\"0px\",\"minHeight\":\"0px\",\"minWidth\":\"0px\",\"opacity\":1,\"outline\":\"none\",\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"paddingTop\":\"0px\",\"userSelect\":\"none\",\"whiteSpace\":\"normal\",\"zIndex\":0},\"styleEditMode\":\"main\",\"type\":\"rectangle\"},\"staticText\":{\"isDynamic\":false,\"isGlobalStyle\":true,\"labelDisplayStyle\":\"standard\",\"mainCssRule\":{},\"mainRuleSelector\":\".staticText\",\"style\":{\"backgroundColor\":\"#ffffff\",\"border\":\"none\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"borderStyle\":\"solid\",\"borderWidth\":\"0px\",\"boxShadow\":\"none\",\"color\":\"#000000\",\"contenteditable\":false,\"display\":\"inline-block\",\"fontFamily\":\"Inter\",\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":400,\"letterSpacing\":\"0px\",\"lineHeight\":1.25,\"margin\":\"0px\",\"minHeight\":\"0px\",\"minWidth\":\"0px\",\"opacity\":1,\"overflow\":\"hidden\",\"overflowWrap\":\"break-word\",\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"paddingTop\":\"0px\",\"textAlign\":\"left\",\"textDecoration\":\"none\",\"textTransform\":\"none\",\"userSelect\":\"none\",\"whiteSpace\":\"normal\",\"zIndex\":1},\"styleEditMode\":\"main\",\"type\":\"text\"},\"table\":{\"altStyle\":{},\"headerCssRule\":{},\"headerRuleSelector\":\".printTable th\",\"headerStyle\":{\"backgroundColor\":\"#ffffff\",\"border\":\"none\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"borderStyle\":\"solid\",\"borderWidth\":\"1px\",\"boxShadow\":\"none\",\"color\":\"#000000\",\"fontFamily\":\"Inter\",\"fontSize\":\"11px\",\"fontStyle\":\"normal\",\"fontWeight\":600,\"letterSpacing\":\"0px\",\"lineHeight\":1.25,\"margin\":\"0px\",\"minHeight\":\"0px\",\"minWidth\":\"0px\",\"opacity\":1,\"paddingBottom\":\"10px\",\"paddingLeft\":\"10px\",\"paddingRight\":\"10px\",\"paddingTop\":\"10px\",\"textAlign\":\"left\",\"textDecoration\":\"none\",\"textTransform\":\"none\",\"userSelect\":\"none\",\"whiteSpace\":\"normal\",\"zIndex\":1},\"isDynamic\":true,\"isGlobalStyle\":true,\"labelCssRule\":{},\"labelDisplayStyle\":\"standard\",\"labelRuleSelector\":\".printTable .label-text\",\"labelStyle\":{\"backgroundColor\":\"#ffffff\",\"border\":\"none\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"borderStyle\":\"solid\",\"borderWidth\":\"0px\",\"boxShadow\":\"none\",\"color\":\"#000000\",\"fontFamily\":\"Inter\",\"fontSize\":\"10px\",\"fontStyle\":\"normal\",\"fontWeight\":600,\"letterSpacing\":\"0px\",\"lineHeight\":1.25,\"margin\":\"0px\",\"minHeight\":\"0px\",\"minWidth\":\"0px\",\"opacity\":1,\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"paddingTop\":\"0px\",\"textAlign\":\"left\",\"textDecoration\":\"none\",\"textTransform\":\"none\",\"userSelect\":\"none\",\"verticalAlign\":\"baseline\",\"whiteSpace\":\"normal\",\"zIndex\":1},\"mainCssRule\":{},\"mainRuleSelector\":\".printTable td\",\"style\":{\"backgroundColor\":\"#ffffff\",\"border\":\"none\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"borderStyle\":\"solid\",\"borderWidth\":\"1px\",\"boxShadow\":\"none\",\"color\":\"#000000\",\"contenteditable\":false,\"fontFamily\":\"Inter\",\"fontSize\":\"10px\",\"fontStyle\":\"normal\",\"fontWeight\":400,\"letterSpacing\":\"0px\",\"lineHeight\":1.25,\"margin\":\"0px\",\"minHeight\":\"0px\",\"minWidth\":\"0px\",\"opacity\":1,\"overflowWrap\":\"break-word\",\"paddingBottom\":\"10px\",\"paddingLeft\":\"10px\",\"paddingRight\":\"10px\",\"paddingTop\":\"10px\",\"textAlign\":\"left\",\"textDecoration\":\"none\",\"textTransform\":\"none\",\"userSelect\":\"none\",\"verticalAlign\":\"baseline\",\"whiteSpace\":\"normal\"},\"styleEditMode\":\"main\",\"type\":\"table\"}},\"isHeaderFooterAuto\":false,\"page\":{\"UOM\":\"mm\",\"footerHeight\":236.82908203124998,\"footerHeightWithMargin\":236.82908203124998,\"headerHeight\":307.0364074707031,\"headerHeightWithMargin\":307.0364074707031,\"height\":1122.52,\"marginBottom\":0,\"marginLeft\":0,\"marginRight\":0,\"marginTop\":0,\"width\":793.701},\"pdfPrintDPI\":96,\"printBodyFonts\":{\"Inter\":{\"italic\":[],\"weight\":[400,600]}},\"printFooterFonts\":{\"Inter\":{\"italic\":[],\"weight\":[400,600,700]}},\"printHeaderFonts\":{\"Inter\":{\"italic\":[],\"weight\":[400,600,700]}},\"schema_version\":\"1.0.1\",\"textControlType\":\"dynamic\",\"userProvidedJinja\":\"<style>\\n    .print-th {\\n        background-color: #bdbdbd !important;\\n        font-size: 14px !important;\\n        border-width: 1px !important;\\n        border-radius: 0px !important;\\n        border-top-style: hidden !important;\\n        border-bottom-style: hidden !important;\\n        border-left-style: hidden !important;\\n        border-right-style: hidden !important;\\n        border-color: #ffffff !important;\\n        user-select: all;\\n        border-top-style: solid !important;\\n        border-bottom-style: solid !important;\\n        border-left-style: solid !important;\\n    }\\n    .print-td {\\n        font-size: 12px !important;\\n        border-top-style: hidden !important;\\n        border-bottom-style: hidden !important;\\n        border-left-style: hidden !important;\\n        border-right-style: hidden !important;\\n        border-width: 1px !important;\\n        border-color: #ffffff !important;\\n        user-select: all;\\n        border-bottom-style: solid !important;\\n        border-left-style: solid !important;\\n    }\\n</style>\\n{% set gls = frappe.get_all('GL Entry', filters={'voucher_no': doc.name}, fields=['party', 'account', 'debit', 'credit', 'cost_center'], order_by='debit desc, credit desc') %}\\n<div\\n  style=\\\"\\n    position: absolute;\\n    top: 0px;\\n    left: 32.55931652832032px;\\n    width: 728.5823669433594px;\\n  \\\"\\n  class=\\\"table-container\\\"\\n>\\n  <table\\n    class=\\\"printTable\\\"\\n    style=\\\"position: relative; width: 100%; max-width: 728.5823669433594px\\\"\\n  >\\n    <thead>\\n      <tr>\\n        <th class=\\\"print-th\\\">\\n          Partner\\n        </th>\\n        <th class=\\\"print-th\\\">\\n          Account\\n        </th>\\n        <th class=\\\"print-th\\\" style=\\\"text-align: right;\\\">\\n          Debit\\n        </th>\\n        <th class=\\\"print-th\\\" style=\\\"text-align: right;\\\">\\n          Credit\\n        </th>\\n        <th class=\\\"print-th\\\">\\n          Budget Type\\n        </th>\\n      </tr>\\n    </thead>\\n    <tbody>\\n        \\n    {% for gl in gls %}\\n      <tr>\\n        <td class=\\\"print-td\\\">\\n            {{ gl[\\\"party\\\"] or \\\"\\\" }}\\n        </td>\\n        <td class=\\\"print-td\\\">\\n            {{ gl[\\\"account\\\"] or \\\"\\\" }}\\n        </td>\\n        <td class=\\\"print-td\\\" style=\\\"text-align: right;\\\">\\n            {{ gl[\\\"debit\\\"] and \\\"{:,.2f}\\\".format(gl[\\\"debit\\\"]) or \\\"\\\" }}\\n        </td>\\n        <td class=\\\"print-td\\\" style=\\\"text-align: right;\\\">\\n            {{ gl[\\\"credit\\\"] and \\\"{:,.2f}\\\".format(gl[\\\"credit\\\"]) or \\\"\\\" }}\\n        </td>\\n        <td class=\\\"print-td\\\">\\n            {{ gl[\\\"cost_center\\\"] or \\\"\\\" }}\\n        </td>\\n      </tr>\\n    {% endfor %}\\n    </tbody>\\n  </table>\\n</div>\\n\"}","print_designer_header":"[{\"id\": \"nSsuaczBhv\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": false, \"dynamicContent\": [], \"selectedDynamicText\": null, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"startX\": 89, \"startY\": 162, \"pageX\": 323, \"pageY\": 250, \"width\": 2, \"height\": 23, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {}, \"labelStyle\": {}, \"classes\": [], \"printY\": 162, \"isDynamicHeight\": false}, {\"id\": \"wOfdrgFJMk\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": false, \"dynamicContent\": [], \"selectedDynamicText\": null, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"startX\": 572, \"startY\": 206, \"pageX\": 790, \"pageY\": 294, \"width\": 2, \"height\": 23, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {}, \"labelStyle\": {}, \"classes\": [], \"printY\": 206, \"isDynamicHeight\": false}, {\"id\": \"brapDwHvbN\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": false, \"dynamicContent\": [], \"selectedDynamicText\": null, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"startX\": 613, \"startY\": 186, \"pageX\": 831, \"pageY\": 275, \"width\": 2, \"height\": 23, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {}, \"labelStyle\": {}, \"classes\": [], \"printY\": 186, \"isDynamicHeight\": false}, {\"id\": \"PVcOMsHkxj\", \"type\": \"text\", \"content\": \"Doc. Date :<br>Currency :<br>Reference Doc. :<br>\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": true, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": false, \"startX\": 37.795275591, \"startY\": 153.5039370094, \"pageX\": 314.5454406738281, \"pageY\": -140.6363525390625, \"width\": 112.32670593261719, \"height\": 91.58806610107422, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"lineHeight\": 2, \"fontWeight\": \"700\"}, \"classes\": [], \"printY\": 153.5039370094}, {\"id\": \"lcTAqKYIoh\", \"type\": \"text\", \"content\": \"<br>\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": false, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": true, \"startX\": 181.45452880859375, \"startY\": 157.63636779785156, \"pageX\": 415.45452880859375, \"pageY\": 242.63636779785156, \"width\": 3, \"height\": 35.79999923706055, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"lineHeight\": 2}, \"classes\": [], \"printY\": 157.63636779785156}, {\"id\": \"ANPrDGwETe\", \"type\": \"text\", \"content\": \"{{ frappe.format(doc.posting_date, 'Date') }}\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": true, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": true, \"startX\": 400, \"startY\": 154.10866141885597, \"pageX\": 662, \"pageY\": 247, \"width\": 104.66249084472656, \"height\": 35.79999923706055, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"lineHeight\": 2}, \"classes\": [], \"printY\": 154.10866141885597}, {\"id\": \"yxQtkmhxjc\", \"type\": \"text\", \"content\": \"Doc. Type :<br>Doc. No. :<br>Reversal Of :<br>\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": true, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": false, \"startX\": 510, \"startY\": 153.5039370094, \"pageX\": 781, \"pageY\": 238, \"width\": 142.98121643066406, \"height\": 91.80000305175781, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"letterSpacing\": \"0px\", \"lineHeight\": 2, \"fontWeight\": \"700\"}, \"classes\": [], \"printY\": 153.5039370094}, {\"id\": \"EHyzkMoQtN\", \"type\": \"text\", \"content\": \"<br>{{ doc.name }}<br>{{ doc.reversal_of or \\\"\\\" }}<br>\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": false, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": true, \"startX\": 624, \"startY\": 153.5039370094, \"pageX\": 921, \"pageY\": 231, \"width\": 86.7249984741211, \"height\": 91.80000305175781, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"lineHeight\": 2}, \"classes\": [], \"printY\": 153.5039370094}, {\"id\": \"sdOlKnKeBW\", \"type\": \"rectangle\", \"childrens\": [], \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"startX\": 31.35050000000001, \"startY\": 248, \"pageX\": 176, \"pageY\": 317, \"width\": 731, \"height\": 0.3124847412109375, \"styleEditMode\": \"main\", \"style\": {\"borderBottomStyle\": \"hidden\", \"borderLeftStyle\": \"hidden\", \"borderRightStyle\": \"hidden\", \"borderColor\": \"#000000\"}, \"classes\": [], \"printY\": 248}, {\"id\": \"wFeYIamWff\", \"type\": \"text\", \"content\": \"Text:\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": false, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": false, \"startX\": 37.795275591, \"startY\": 263.11023622330003, \"pageX\": 188, \"pageY\": 285, \"width\": 36.125, \"height\": 25.30000114440918, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"fontWeight\": \"700\"}, \"classes\": [], \"printY\": 263.11023622330003}, {\"id\": \"CVTgivkGjm\", \"type\": \"text\", \"content\": \"{{ doc.user_remark or \\\"\\\" }}\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": true, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": true, \"startX\": 102.39999389648438, \"startY\": 263.11023622330003, \"pageX\": 294, \"pageY\": 277, \"width\": 652.4499816894531, \"height\": 39.699995040893555, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {}, \"classes\": [], \"printY\": 263.11023622330003}, {\"id\": \"AhpwIYneRm\", \"type\": \"text\", \"content\": \"{{ doc.name[:2] }}\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": false, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": true, \"startX\": 622, \"startY\": 146, \"pageX\": 864, \"pageY\": 249, \"width\": 38.900001525878906, \"height\": 42.79999923706055, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"fontSize\": \"28px\", \"fontWeight\": \"700\"}, \"classes\": [], \"printY\": 146}, {\"id\": \"uCAEUSAEdx\", \"type\": \"text\", \"content\": \"<br>\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": false, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": false, \"startX\": 708, \"startY\": 188, \"pageX\": 956, \"pageY\": 301, \"width\": 3, \"height\": 25.30000114440918, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {}, \"classes\": [], \"printY\": 188}, {\"id\": \"hBwwnSKQOs\", \"type\": \"text\", \"content\": \"{{ frappe.format(doc.creation, 'Date') }}<br>{{ doc.accounts[0].account_currency }}<br>{{ doc.cheque_no or \\\"\\\" }}<br>\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": true, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": true, \"startX\": 158.90908813476562, \"startY\": 153.486614175051, \"pageX\": 411, \"pageY\": 210, \"width\": 98.05113792419434, \"height\": 93.59517669677734, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"lineHeight\": 2}, \"classes\": [], \"printY\": 153.486614175051}, {\"id\": \"gEKPjLohkQ\", \"type\": \"text\", \"content\": \"Posting Date :<br>Rate :<br>{{ doc.name[:2] == \\\"KV\\\" and \\\"Acceptance Date :\\\" or \\\"\\\" }}<br>\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": true, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": true, \"startX\": 266, \"startY\": 153.486614175051, \"pageX\": 499, \"pageY\": 270, \"width\": 128.6761245727539, \"height\": 91.58806610107422, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"lineHeight\": 2, \"fontWeight\": \"700\"}, \"classes\": [], \"printY\": 153.486614175051}, {\"id\": \"AMfJXZHuok\", \"type\": \"text\", \"content\": \"-- \\u0e1b\\u0e01\\u0e1b\\u0e34\\u0e14 --\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": false, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": false, \"startX\": 347.0010699157715, \"startY\": 51.984375, \"pageX\": 581.1968383789062, \"pageY\": 168.984375, \"width\": 99.70000457763672, \"height\": 32.80000114440918, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"fontSize\": \"20px\", \"fontWeight\": \"600\"}, \"classes\": [], \"printY\": 51.984375}, {\"id\": \"thYnJcpqwt\", \"type\": \"text\", \"content\": \"{{ doc.name[:2] }} Voucher\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": false, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": true, \"startX\": 337.7629984741211, \"startY\": 82.25, \"pageX\": 604.1374664306641, \"pageY\": 196.25, \"width\": 115.7874984741211, \"height\": 32.80000114440918, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"fontSize\": \"20px\", \"fontWeight\": \"700\"}, \"classes\": [], \"printY\": 82.25}, {\"id\": \"voTGcGwcLY\", \"type\": \"text\", \"content\": \"{% set rates =frappe.get_all('GL Entry', filters={'voucher_no': doc.name}, fields=['transaction_exchange_rate']) %}{{rates and rates[0]['transaction_exchange_rate'] or \\\"1\\\" }}\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": false, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": true, \"startX\": 399.9781188964844, \"startY\": 184.89374923706055, \"pageX\": 545.9781188964844, \"pageY\": 303.89374923706055, \"width\": 20.162500381469727, \"height\": 25.30000114440918, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {}, \"classes\": [], \"printY\": 184.89374923706055}, {\"id\": \"wyTLcbsTrm\", \"type\": \"text\", \"content\": \"{{ doc.name[:2] == \\\"KV\\\" and (frappe.format(doc.cheque_date, 'Date') or \\\"\\\") or \\\"\\\" }}\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": false, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": true, \"startX\": 399.9749755859375, \"startY\": 209.18749809265137, \"pageX\": 545.9749755859375, \"pageY\": 290.18749809265137, \"width\": 3, \"height\": 23, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"lineHeight\": 2}, \"classes\": [], \"printY\": 209.18749809265137}]","print_designer_footer":"[{\"id\": \"RBvFCPOuxd\", \"type\": \"text\", \"content\": \"Created By :\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": false, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": false, \"startX\": 83, \"startY\": 994.9984252086659, \"pageX\": 258, \"pageY\": 562, \"width\": 83.70000457763672, \"height\": 25.30000114440918, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {}, \"classes\": [], \"printY\": 109.30750723991594}, {\"id\": \"GIdausMYBV\", \"type\": \"text\", \"content\": \"Approved By :\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": false, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": false, \"startX\": 396, \"startY\": 994.9984252086659, \"pageX\": 652, \"pageY\": 548, \"width\": 94.57500457763672, \"height\": 25.30000114440918, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {}, \"classes\": [], \"printY\": 109.30750723991594}, {\"id\": \"IIfvNGArkJ\", \"type\": \"rectangle\", \"childrens\": [], \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"startX\": 173.4000244140625, \"startY\": 994.9984252086659, \"pageX\": 348.4000244140625, \"pageY\": 546.6000366210938, \"width\": 201.40933227539062, \"height\": 25.31251335144043, \"styleEditMode\": \"main\", \"style\": {\"borderTopStyle\": \"hidden\", \"borderLeftStyle\": \"hidden\", \"borderRightStyle\": \"hidden\"}, \"classes\": [], \"printY\": 109.30750723991594}, {\"id\": \"UpFNoWGVKE\", \"type\": \"rectangle\", \"childrens\": [], \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"startX\": 504, \"startY\": 994.9984252086659, \"pageX\": 688, \"pageY\": 537, \"width\": 201.411023624439, \"height\": 25.32283464597, \"styleEditMode\": \"main\", \"style\": {\"borderTopStyle\": \"hidden\", \"borderLeftStyle\": \"hidden\", \"borderRightStyle\": \"hidden\"}, \"classes\": [], \"printY\": 109.30750723991594}, {\"id\": \"vbkORJdnGk\", \"type\": \"text\", \"content\": \"Total Debit :\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": true, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": false, \"startX\": 234.44744873046875, \"startY\": 908.8031496154999, \"pageX\": 579, \"pageY\": 480, \"width\": 113.38582677299999, \"height\": 30.039772033691406, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"fontSize\": \"14px\", \"fontWeight\": \"700\"}, \"classes\": [], \"printY\": 23.112231646749933}, {\"id\": \"JaCajHfDKl\", \"type\": \"text\", \"content\": \"Total Credit :\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": true, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": false, \"startX\": 492.09088134765625, \"startY\": 908.8031496154999, \"pageX\": 814, \"pageY\": 479, \"width\": 113.38582677299999, \"height\": 30.039772033691406, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"fontSize\": \"14px\", \"fontWeight\": \"700\"}, \"classes\": [], \"printY\": 23.112231646749933}, {\"id\": \"rIkUtqezny\", \"type\": \"text\", \"content\": \"{{ \\\"{:,.2f}\\\".format(doc.total_debit) }}\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": false, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": true, \"startX\": 355, \"startY\": 908.8031496154999, \"pageX\": 672, \"pageY\": 477, \"width\": 77.0999984741211, \"height\": 25.30000114440918, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"fontSize\": \"14px\"}, \"classes\": [], \"printY\": 23.112231646749933}, {\"id\": \"GFKFIlfEXO\", \"type\": \"text\", \"content\": \"{{ \\\"{:,.2f}\\\".format(doc.total_credit) }}\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": false, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": true, \"startX\": 613, \"startY\": 908.8031496154999, \"pageX\": 919, \"pageY\": 475, \"width\": 77.0999984741211, \"height\": 25.30000114440918, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"fontSize\": \"14px\"}, \"classes\": [], \"printY\": 23.112231646749933}, {\"id\": \"qtoDpWDBSR\", \"type\": \"rectangle\", \"childrens\": [], \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"startX\": 31.3512873972345, \"startY\": 891.991455078125, \"pageX\": 273, \"pageY\": 579, \"width\": 730.998425205531, \"height\": 0.008544921875, \"styleEditMode\": \"main\", \"style\": {\"borderTopStyle\": \"hidden\", \"borderLeftStyle\": \"hidden\", \"borderRightStyle\": \"hidden\"}, \"classes\": [], \"printY\": 6.300537109375}, {\"id\": \"hSYnhDkaqo\", \"type\": \"text\", \"content\": \"Date :\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": false, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": false, \"startX\": 124, \"startY\": 1039.3700787525, \"pageX\": 340, \"pageY\": 736, \"width\": 40.92499923706055, \"height\": 25.30000114440918, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {}, \"classes\": [], \"printY\": 153.67916078374992}, {\"id\": \"wzWPNGhTdr\", \"type\": \"text\", \"content\": \"Date :\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": false, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": false, \"startX\": 450, \"startY\": 1039.3700787525, \"pageX\": 672, \"pageY\": 747.5714111328125, \"width\": 40.92499923706055, \"height\": 25.30000114440918, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {}, \"classes\": [], \"printY\": 153.67916078374992}, {\"id\": \"pSCMfBnVyo\", \"type\": \"rectangle\", \"childrens\": [], \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"startX\": 173.404724411508, \"startY\": 1053, \"pageX\": 399, \"pageY\": 737, \"width\": 201.411023624439, \"height\": 6, \"styleEditMode\": \"main\", \"style\": {\"borderTopStyle\": \"hidden\", \"borderLeftStyle\": \"hidden\", \"borderRightStyle\": \"hidden\"}, \"classes\": [], \"printY\": 167.30908203125}, {\"id\": \"rXIOomRAIu\", \"type\": \"rectangle\", \"childrens\": [], \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"startX\": 504.000000005985, \"startY\": 1053.014173240851, \"pageX\": 730, \"pageY\": 736, \"width\": 201.411023624439, \"height\": 5, \"styleEditMode\": \"main\", \"style\": {\"borderTopStyle\": \"hidden\", \"borderLeftStyle\": \"hidden\", \"borderRightStyle\": \"hidden\"}, \"classes\": [], \"printY\": 167.32325527210105}, {\"id\": \"nYtkNzkuyL\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": false, \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"page\", \"value\": \"0\", \"fieldtype\": \"Document\", \"label\": \"Current Page :\", \"is_labelled\": false, \"is_static\": false, \"style\": {}, \"labelStyle\": {}, \"nextLine\": false, \"labelStyleEditing\": false, \"spanRef\": null, \"suffix\": null}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"uIfntTAunS\", \"value\": \"/\", \"fieldtype\": \"StaticText\", \"is_static\": true, \"is_labelled\": false, \"nextLine\": false, \"parseJinja\": false, \"style\": {}, \"spanRef\": null}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"topage\", \"value\": \"999\", \"fieldtype\": \"Document\", \"label\": \"Total Pages :\", \"is_labelled\": false, \"is_static\": false, \"style\": {}, \"labelStyle\": {}, \"nextLine\": false, \"labelStyleEditing\": false, \"spanRef\": null, \"suffix\": null}], \"selectedDynamicText\": null, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"startX\": 718.110236229, \"startY\": 1077.1653543435, \"pageX\": 787, \"pageY\": 684, \"width\": 47.95000076293945, \"height\": 25.30000114440918, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {}, \"labelStyle\": {}, \"classes\": [], \"printY\": 191.47443637474998, \"isDynamicHeight\": false}, {\"id\": \"lWyudvSnsu\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": false, \"dynamicContent\": [], \"selectedDynamicText\": null, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"startX\": 776, \"startY\": 985, \"pageX\": 922, \"pageY\": 585, \"width\": 2, \"height\": 23, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {}, \"labelStyle\": {}, \"classes\": [], \"printY\": 99.30908203125, \"isDynamicHeight\": false}]","print_designer_body":"[{\"id\": \"TdruNBNbsc\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": false, \"dynamicContent\": [], \"selectedDynamicText\": null, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"startX\": 78, \"startY\": 311, \"pageX\": 311, \"pageY\": 400, \"width\": 2, \"height\": 23, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {}, \"labelStyle\": {}, \"classes\": [], \"printY\": 3.963592529296875, \"isDynamicHeight\": false}, {\"id\": \"uyXsmFPljW\", \"type\": \"text\", \"content\": \"&nbsp;\", \"contenteditable\": false, \"isDynamic\": false, \"isFixedSize\": true, \"isDraggable\": false, \"isResizable\": false, \"isDropZone\": false, \"parseJinja\": false, \"startX\": 11.20001220703125, \"startY\": 667.4000244140625, \"pageX\": 315.20001220703125, \"pageY\": 299.4000244140625, \"width\": -3.0994415283203125e-06, \"height\": 2.400022506713867, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {}, \"classes\": [], \"printY\": 360.3636169433594}]","print_designer":1,"doc_type":"Journal Entry","module":"Accounts","standard":"No","print_designer_template_app":"print_designer","custom_format":0,"disabled":0,"print_format_type":"Jinja","raw_printing":0,"margin_top":15,"margin_bottom":15,"margin_left":15,"margin_right":15,"align_labels_right":0,"show_section_headings":0,"line_breaks":0,"absolute_value":0,"font_size":14,"page_number":"Hide","css":":root { --scale-factor: 1.25px; --modal-x: 0px; --modal-y: 0px; } .staticText { display: inline-block; font-family: Inter; font-size: 14px; font-weight: 400; color: rgb(0, 0, 0); text-align: left; font-style: normal; text-decoration: none; text-transform: none; line-height: 1.25; letter-spacing: 0px; border: 0px solid rgb(0, 0, 0); border-radius: 0px; background-color: rgb(255, 255, 255); padding: 0px; margin: 0px; min-width: 0px; min-height: 0px; box-shadow: none; overflow: hidden; overflow-wrap: break-word; white-space: normal; user-select: none; opacity: 1; z-index: 1; } .dynamicText { display: inline-block; font-family: Inter; font-size: 14px; font-weight: 400; color: rgb(0, 0, 0); text-align: left; font-style: normal; text-decoration: none; text-transform: none; line-height: 1.25; letter-spacing: 0px; border: 0px solid rgb(0, 0, 0); border-radius: 0px; background-color: rgb(255, 255, 255); padding: 0px; margin: 0px; min-width: 0px; min-height: 0px; box-shadow: none; overflow: hidden; overflow-wrap: break-word; white-space: normal; user-select: none; opacity: 1; } .dynamicText .label-text { font-family: Inter; font-size: 14px; font-weight: 600; color: rgb(0, 0, 0); text-align: left; font-style: normal; text-decoration: none; text-transform: none; line-height: 1.25; letter-spacing: 0px; border: 0px solid rgb(0, 0, 0); border-radius: 0px; background-color: rgb(255, 255, 255); padding: 0px; margin: 0px; min-width: 0px; min-height: 0px; box-shadow: none; white-space: normal; user-select: none; opacity: 1; z-index: 1; } .rectangle { display: inline-flex; place-content: flex-start; align-items: flex-start; flex: 1 1 0%; padding: 0px; margin: 0px; white-space: normal; user-select: none; min-width: 0px; min-height: 0px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); border: 1px solid rgb(0, 0, 0); box-sizing: border-box; outline: none; border-radius: 0px; box-shadow: none; opacity: 1; z-index: 0; } .image { display: block; border: 0px solid rgb(0, 0, 0); border-radius: 0px; padding: 0px; margin: 0px; min-width: 0px; min-height: 0px; box-shadow: none; white-space: normal; user-select: none; object-fit: scale-down; object-position: center center; background-size: contain; background-position: center center; background-repeat: no-repeat; opacity: 1; } .barcode { display: block; border: 0px solid rgb(0, 0, 0); border-radius: 0px; padding: 0px; margin: 0px; min-width: 0px; min-height: 0px; box-shadow: none; white-space: normal; user-select: none; opacity: 1; } .printTable td { font-family: Inter; font-size: 10px; font-weight: 400; color: rgb(0, 0, 0); text-align: left; font-style: normal; text-decoration: none; text-transform: none; line-height: 1.25; letter-spacing: 0px; border: 1px solid rgb(0, 0, 0); border-radius: 0px; background-color: rgb(255, 255, 255); padding: 10px; margin: 0px; min-width: 0px; min-height: 0px; box-shadow: none; overflow-wrap: break-word; white-space: normal; user-select: none; vertical-align: baseline; opacity: 1; } .printTable .label-text { font-family: Inter; font-size: 10px; font-weight: 600; color: rgb(0, 0, 0); text-align: left; font-style: normal; text-decoration: none; text-transform: none; line-height: 1.25; letter-spacing: 0px; border: 0px solid rgb(0, 0, 0); border-radius: 0px; background-color: rgb(255, 255, 255); padding: 0px; margin: 0px; min-width: 0px; min-height: 0px; box-shadow: none; white-space: normal; user-select: none; opacity: 1; vertical-align: baseline; z-index: 1; } .printTable th { font-family: Inter; font-size: 11px; font-weight: 600; color: rgb(0, 0, 0); text-align: left; font-style: normal; text-decoration: none; text-transform: none; line-height: 1.25; letter-spacing: 0px; border: 1px solid rgb(0, 0, 0); border-radius: 0px; background-color: rgb(255, 255, 255); padding: 10px; margin: 0px; min-width: 0px; min-height: 0px; box-shadow: none; white-space: normal; user-select: none; opacity: 1; z-index: 1; } :root, ::after, ::before { --print-width: 210.000mm; --print-height: 297.000mm; --print-container-width: 210.000mm; --print-container-height: 297.000mm; --print-margin-top: 0mm; --print-margin-bottom: 0.000mm; --print-margin-left: 0mm; --print-margin-right: 0.000mm; }@page { size: 210mm 297mm; margin: 0mm; } @page { size: 210mm 297mm; margin: 0mm; } @page { size: 210mm 297mm; margin: 0mm; }","print_format_builder":0,"print_format_builder_beta":0,"doctype":"Print Format","__onload":{"print_templates":[]},"__last_sync_on":"2024-04-09T09:59:00.134Z"}

This is the copied version

{"name":"JV/KV Voucher ( Copy  )","creation":"2024-04-09 15:48:03.475030","modified":"2024-04-09 15:48:03.475030","modified_by":"kittiu@ecosoft.co.th","owner":"kittiu@ecosoft.co.th","docstatus":0,"idx":0,"doc_type":"Journal Entry","module":"Accounts","standard":"No","custom_format":0,"disabled":0,"print_format_type":"Jinja","raw_printing":0,"margin_top":15,"margin_bottom":15,"margin_left":15,"margin_right":15,"align_labels_right":0,"show_section_headings":0,"line_breaks":0,"absolute_value":0,"font_size":14,"page_number":"Hide","print_format_builder":0,"print_format_builder_beta":0,"print_designer_settings":"{\"page\":{\"UOM\":\"mm\",\"footerHeight\":236.82908203124998,\"footerHeightWithMargin\":236.82908203124998,\"headerHeight\":307.0364074707031,\"headerHeightWithMargin\":307.0364074707031,\"height\":1122.52,\"marginBottom\":0,\"marginLeft\":0,\"marginRight\":0,\"marginTop\":0,\"width\":793.701},\"pdfPrintDPI\":96,\"globalStyles\":{\"barcode\":{\"isDynamic\":false,\"isGlobalStyle\":true,\"mainCssRule\":{},\"mainRuleSelector\":\".barcode\",\"style\":{\"backgroundColor\":\"\",\"border\":\"none\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"borderStyle\":\"solid\",\"borderWidth\":\"0px\",\"boxShadow\":\"none\",\"display\":\"block\",\"margin\":\"0px\",\"minHeight\":\"0px\",\"minWidth\":\"0px\",\"opacity\":1,\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"paddingTop\":\"0px\",\"userSelect\":\"none\",\"whiteSpace\":\"normal\"},\"styleEditMode\":\"main\",\"type\":\"barcode\"},\"dynamicText\":{\"isDynamic\":true,\"isGlobalStyle\":true,\"labelCssRule\":{},\"labelDisplayStyle\":\"standard\",\"labelRuleSelector\":\".dynamicText .label-text\",\"labelStyle\":{\"backgroundColor\":\"#ffffff\",\"border\":\"none\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"borderStyle\":\"solid\",\"borderWidth\":\"0px\",\"boxShadow\":\"none\",\"color\":\"#000000\",\"fontFamily\":\"Inter\",\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":600,\"letterSpacing\":\"0px\",\"lineHeight\":1.25,\"margin\":\"0px\",\"minHeight\":\"0px\",\"minWidth\":\"0px\",\"opacity\":1,\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"paddingTop\":\"0px\",\"textAlign\":\"left\",\"textDecoration\":\"none\",\"textTransform\":\"none\",\"userSelect\":\"none\",\"whiteSpace\":\"normal\",\"zIndex\":1},\"mainCssRule\":{},\"mainRuleSelector\":\".dynamicText\",\"style\":{\"backgroundColor\":\"#ffffff\",\"border\":\"none\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"borderStyle\":\"solid\",\"borderWidth\":\"0px\",\"boxShadow\":\"none\",\"color\":\"#000000\",\"contenteditable\":false,\"display\":\"inline-block\",\"fontFamily\":\"Inter\",\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":400,\"letterSpacing\":\"0px\",\"lineHeight\":1.25,\"margin\":\"0px\",\"minHeight\":\"0px\",\"minWidth\":\"0px\",\"opacity\":1,\"overflow\":\"hidden\",\"overflowWrap\":\"break-word\",\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"paddingTop\":\"0px\",\"textAlign\":\"left\",\"textDecoration\":\"none\",\"textTransform\":\"none\",\"userSelect\":\"none\",\"whiteSpace\":\"normal\"},\"styleEditMode\":\"main\",\"type\":\"text\"},\"image\":{\"isDynamic\":false,\"isGlobalStyle\":true,\"mainCssRule\":{},\"mainRuleSelector\":\".image\",\"style\":{\"backgroundColor\":\"\",\"backgroundPosition\":\"center center\",\"backgroundRepeat\":\"no-repeat\",\"backgroundSize\":\"contain\",\"border\":\"none\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"borderStyle\":\"solid\",\"borderWidth\":\"0px\",\"boxShadow\":\"none\",\"display\":\"block\",\"margin\":\"0px\",\"minHeight\":\"0px\",\"minWidth\":\"0px\",\"objectFit\":\"scale-down\",\"objectPosition\":\"center center\",\"opacity\":1,\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"paddingTop\":\"0px\",\"userSelect\":\"none\",\"whiteSpace\":\"normal\"},\"styleEditMode\":\"main\",\"type\":\"image\"},\"rectangle\":{\"isDynamic\":false,\"isGlobalStyle\":true,\"mainCssRule\":{},\"mainRuleSelector\":\".rectangle\",\"style\":{\"backgroundColor\":\"#ffffff\",\"border\":\"1px solid black\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"borderStyle\":\"solid\",\"borderWidth\":\"1px\",\"boxShadow\":\"none\",\"boxSizing\":\"border-box\",\"color\":\"#000000\",\"margin\":\"0px\",\"minHeight\":\"0px\",\"minWidth\":\"0px\",\"opacity\":1,\"outline\":\"none\",\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"paddingTop\":\"0px\",\"userSelect\":\"none\",\"whiteSpace\":\"normal\",\"zIndex\":0},\"styleEditMode\":\"main\",\"type\":\"rectangle\"},\"staticText\":{\"isDynamic\":false,\"isGlobalStyle\":true,\"labelDisplayStyle\":\"standard\",\"mainCssRule\":{},\"mainRuleSelector\":\".staticText\",\"style\":{\"backgroundColor\":\"#ffffff\",\"border\":\"none\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"borderStyle\":\"solid\",\"borderWidth\":\"0px\",\"boxShadow\":\"none\",\"color\":\"#000000\",\"contenteditable\":false,\"display\":\"inline-block\",\"fontFamily\":\"Inter\",\"fontSize\":\"14px\",\"fontStyle\":\"normal\",\"fontWeight\":400,\"letterSpacing\":\"0px\",\"lineHeight\":1.25,\"margin\":\"0px\",\"minHeight\":\"0px\",\"minWidth\":\"0px\",\"opacity\":1,\"overflow\":\"hidden\",\"overflowWrap\":\"break-word\",\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"paddingTop\":\"0px\",\"textAlign\":\"left\",\"textDecoration\":\"none\",\"textTransform\":\"none\",\"userSelect\":\"none\",\"whiteSpace\":\"normal\",\"zIndex\":1},\"styleEditMode\":\"main\",\"type\":\"text\"},\"table\":{\"altStyle\":{},\"headerCssRule\":{},\"headerRuleSelector\":\".printTable th\",\"headerStyle\":{\"backgroundColor\":\"#ffffff\",\"border\":\"none\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"borderStyle\":\"solid\",\"borderWidth\":\"1px\",\"boxShadow\":\"none\",\"color\":\"#000000\",\"fontFamily\":\"Inter\",\"fontSize\":\"11px\",\"fontStyle\":\"normal\",\"fontWeight\":600,\"letterSpacing\":\"0px\",\"lineHeight\":1.25,\"margin\":\"0px\",\"minHeight\":\"0px\",\"minWidth\":\"0px\",\"opacity\":1,\"paddingBottom\":\"10px\",\"paddingLeft\":\"10px\",\"paddingRight\":\"10px\",\"paddingTop\":\"10px\",\"textAlign\":\"left\",\"textDecoration\":\"none\",\"textTransform\":\"none\",\"userSelect\":\"none\",\"whiteSpace\":\"normal\",\"zIndex\":1},\"isDynamic\":true,\"isGlobalStyle\":true,\"labelCssRule\":{},\"labelDisplayStyle\":\"standard\",\"labelRuleSelector\":\".printTable .label-text\",\"labelStyle\":{\"backgroundColor\":\"#ffffff\",\"border\":\"none\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"borderStyle\":\"solid\",\"borderWidth\":\"0px\",\"boxShadow\":\"none\",\"color\":\"#000000\",\"fontFamily\":\"Inter\",\"fontSize\":\"10px\",\"fontStyle\":\"normal\",\"fontWeight\":600,\"letterSpacing\":\"0px\",\"lineHeight\":1.25,\"margin\":\"0px\",\"minHeight\":\"0px\",\"minWidth\":\"0px\",\"opacity\":1,\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"paddingTop\":\"0px\",\"textAlign\":\"left\",\"textDecoration\":\"none\",\"textTransform\":\"none\",\"userSelect\":\"none\",\"verticalAlign\":\"baseline\",\"whiteSpace\":\"normal\",\"zIndex\":1},\"mainCssRule\":{},\"mainRuleSelector\":\".printTable td\",\"style\":{\"backgroundColor\":\"#ffffff\",\"border\":\"none\",\"borderColor\":\"#000000\",\"borderRadius\":0,\"borderStyle\":\"solid\",\"borderWidth\":\"1px\",\"boxShadow\":\"none\",\"color\":\"#000000\",\"contenteditable\":false,\"fontFamily\":\"Inter\",\"fontSize\":\"10px\",\"fontStyle\":\"normal\",\"fontWeight\":400,\"letterSpacing\":\"0px\",\"lineHeight\":1.25,\"margin\":\"0px\",\"minHeight\":\"0px\",\"minWidth\":\"0px\",\"opacity\":1,\"overflowWrap\":\"break-word\",\"paddingBottom\":\"10px\",\"paddingLeft\":\"10px\",\"paddingRight\":\"10px\",\"paddingTop\":\"10px\",\"textAlign\":\"left\",\"textDecoration\":\"none\",\"textTransform\":\"none\",\"userSelect\":\"none\",\"verticalAlign\":\"baseline\",\"whiteSpace\":\"normal\"},\"styleEditMode\":\"main\",\"type\":\"table\"}},\"currentPageSize\":\"A4\",\"isHeaderFooterAuto\":false,\"currentDoc\":\"KV24000004\",\"textControlType\":\"dynamic\",\"currentFonts\":[\"Inter\"],\"printHeaderFonts\":{\"Inter\":{\"weight\":[400,600,700],\"italic\":[]}},\"printFooterFonts\":{\"Inter\":{\"weight\":[400,600,700],\"italic\":[]}},\"printBodyFonts\":{\"Inter\":{\"weight\":[400,600],\"italic\":[]}},\"userProvidedJinja\":\"<style>\\n    .print-th {\\n        background-color: #bdbdbd !important;\\n        font-size: 14px !important;\\n        border-width: 1px !important;\\n        border-radius: 0px !important;\\n        border-top-style: hidden !important;\\n        border-bottom-style: hidden !important;\\n        border-left-style: hidden !important;\\n        border-right-style: hidden !important;\\n        border-color: #ffffff !important;\\n        user-select: all;\\n        border-top-style: solid !important;\\n        border-bottom-style: solid !important;\\n        border-left-style: solid !important;\\n    }\\n    .print-td {\\n        font-size: 12px !important;\\n        border-top-style: hidden !important;\\n        border-bottom-style: hidden !important;\\n        border-left-style: hidden !important;\\n        border-right-style: hidden !important;\\n        border-width: 1px !important;\\n        border-color: #ffffff !important;\\n        user-select: all;\\n        border-bottom-style: solid !important;\\n        border-left-style: solid !important;\\n    }\\n</style>\\n{% set gls = frappe.get_all('GL Entry', filters={'voucher_no': doc.name}, fields=['party', 'account', 'debit', 'credit', 'cost_center'], order_by='debit desc, credit desc') %}\\n<div\\n  style=\\\"\\n    position: absolute;\\n    top: 0px;\\n    left: 32.55931652832032px;\\n    width: 728.5823669433594px;\\n  \\\"\\n  class=\\\"table-container\\\"\\n>\\n  <table\\n    class=\\\"printTable\\\"\\n    style=\\\"position: relative; width: 100%; max-width: 728.5823669433594px\\\"\\n  >\\n    <thead>\\n      <tr>\\n        <th class=\\\"print-th\\\">\\n          Partner\\n        </th>\\n        <th class=\\\"print-th\\\">\\n          Account\\n        </th>\\n        <th class=\\\"print-th\\\" style=\\\"text-align: right;\\\">\\n          Debit\\n        </th>\\n        <th class=\\\"print-th\\\" style=\\\"text-align: right;\\\">\\n          Credit\\n        </th>\\n        <th class=\\\"print-th\\\">\\n          Budget Type\\n        </th>\\n      </tr>\\n    </thead>\\n    <tbody>\\n        \\n    {% for gl in gls %}\\n      <tr>\\n        <td class=\\\"print-td\\\">\\n            {{ gl[\\\"party\\\"] or \\\"\\\" }}\\n        </td>\\n        <td class=\\\"print-td\\\">\\n            {{ gl[\\\"account\\\"] or \\\"\\\" }}\\n        </td>\\n        <td class=\\\"print-td\\\" style=\\\"text-align: right;\\\">\\n            {{ gl[\\\"debit\\\"] and \\\"{:,.2f}\\\".format(gl[\\\"debit\\\"]) or \\\"\\\" }}\\n        </td>\\n        <td class=\\\"print-td\\\" style=\\\"text-align: right;\\\">\\n            {{ gl[\\\"credit\\\"] and \\\"{:,.2f}\\\".format(gl[\\\"credit\\\"]) or \\\"\\\" }}\\n        </td>\\n        <td class=\\\"print-td\\\">\\n            {{ gl[\\\"cost_center\\\"] or \\\"\\\" }}\\n        </td>\\n      </tr>\\n    {% endfor %}\\n    </tbody>\\n  </table>\\n</div>\\n\",\"schema_version\":\"1.1.0\"}","print_designer_header":"[{\"id\":\"AMfJXZHuok\",\"type\":\"text\",\"content\":\"-- ปกปิด --\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":347.0010699157715,\"startY\":51.984375,\"pageX\":581.1968383789062,\"pageY\":168.984375,\"width\":89.13067626953125,\"height\":32.55397605895996,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"20px\",\"fontWeight\":\"600\"},\"classes\":[]},{\"id\":\"thYnJcpqwt\",\"type\":\"text\",\"content\":\"{{ doc.name[:2] }} Voucher\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":337.7629984741211,\"startY\":82.25,\"pageX\":604.1374664306641,\"pageY\":196.25,\"width\":118.17897033691406,\"height\":32.55397605895996,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"20px\",\"fontWeight\":\"700\"},\"classes\":[]},{\"id\":\"nSsuaczBhv\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":false,\"dynamicContent\":[],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":89,\"startY\":162,\"pageX\":323,\"pageY\":250,\"width\":2,\"height\":23.008522033691406,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false},{\"id\":\"PVcOMsHkxj\",\"type\":\"text\",\"content\":\"Doc. Date :<br>Currency :<br>Reference Doc. :<br>\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":37.795275591,\"startY\":153.5039370094,\"pageX\":314.5454406738281,\"pageY\":-140.6363525390625,\"width\":112.32670593261719,\"height\":91.58806610107422,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"lineHeight\":2,\"fontWeight\":\"700\"},\"classes\":[]},{\"id\":\"lcTAqKYIoh\",\"type\":\"text\",\"content\":\"<br>\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":181.45452880859375,\"startY\":157.63636779785156,\"pageX\":415.45452880859375,\"pageY\":242.63636779785156,\"width\":2.994318127632141,\"height\":35.565338134765625,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"lineHeight\":2},\"classes\":[]},{\"id\":\"hBwwnSKQOs\",\"type\":\"text\",\"content\":\"{{ frappe.format(doc.creation, 'Date') }}<br>{{ doc.accounts[0].account_currency }}<br>{{ doc.cheque_no or \\\"\\\" }}<br>\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":158.90908813476562,\"startY\":153.486614175051,\"pageX\":411,\"pageY\":210,\"width\":98.05113792419434,\"height\":93.59517669677734,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"lineHeight\":2},\"classes\":[]},{\"id\":\"gEKPjLohkQ\",\"type\":\"text\",\"content\":\"Posting Date :<br>Rate :<br>{{ doc.name[:2] == \\\"KV\\\" and \\\"Acceptance Date :\\\" or \\\"\\\" }}<br>\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":266,\"startY\":153.486614175051,\"pageX\":499,\"pageY\":270,\"width\":128.6761245727539,\"height\":91.58806610107422,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"lineHeight\":2,\"fontWeight\":\"700\"},\"classes\":[]},{\"id\":\"wyTLcbsTrm\",\"type\":\"text\",\"content\":\"{{ doc.name[:2] == \\\"KV\\\" and (frappe.format(doc.cheque_date, 'Date') or \\\"\\\") or \\\"\\\" }}\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":399.9749755859375,\"startY\":209.18749809265137,\"pageX\":545.9749755859375,\"pageY\":290.18749809265137,\"width\":2.994318127632141,\"height\":23.008522033691406,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"lineHeight\":2},\"classes\":[]},{\"id\":\"voTGcGwcLY\",\"type\":\"text\",\"content\":\"{% set rates =frappe.get_all('GL Entry', filters={'voucher_no': doc.name}, fields=['transaction_exchange_rate']) %}{{rates and rates[0]['transaction_exchange_rate'] or \\\"1\\\" }}\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":399.9781188964844,\"startY\":184.89374923706055,\"pageX\":545.9781188964844,\"pageY\":303.89374923706055,\"width\":20.15340805053711,\"height\":25.05397605895996,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"classes\":[]},{\"id\":\"ANPrDGwETe\",\"type\":\"text\",\"content\":\"{{ frappe.format(doc.posting_date, 'Date') }}\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":400,\"startY\":154.10866141885597,\"pageX\":662,\"pageY\":247,\"width\":104.66249084472656,\"height\":35.79999923706055,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"lineHeight\":2},\"classes\":[]},{\"id\":\"wOfdrgFJMk\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":false,\"dynamicContent\":[],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":572,\"startY\":206,\"pageX\":790,\"pageY\":294,\"width\":2,\"height\":23.008522033691406,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false},{\"id\":\"brapDwHvbN\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":false,\"dynamicContent\":[],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":613,\"startY\":186,\"pageX\":831,\"pageY\":275,\"width\":2,\"height\":23.008522033691406,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false},{\"id\":\"yxQtkmhxjc\",\"type\":\"text\",\"content\":\"Doc. Type :<br>Doc. No. :<br>Reversal Of :<br>\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":510,\"startY\":153.5039370094,\"pageX\":781,\"pageY\":238,\"width\":142.98121643066406,\"height\":91.80000305175781,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"letterSpacing\":\"0px\",\"lineHeight\":2,\"fontWeight\":\"700\"},\"classes\":[]},{\"id\":\"AhpwIYneRm\",\"type\":\"text\",\"content\":\"{{ doc.name[:2] }}\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":622,\"startY\":146,\"pageX\":864,\"pageY\":249,\"width\":42.255680084228516,\"height\":42.539772033691406,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"28px\",\"fontWeight\":\"700\"},\"classes\":[]},{\"id\":\"uCAEUSAEdx\",\"type\":\"text\",\"content\":\"<br>\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":708,\"startY\":188,\"pageX\":956,\"pageY\":301,\"width\":2.994318127632141,\"height\":25.05397605895996,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"classes\":[]},{\"id\":\"EHyzkMoQtN\",\"type\":\"text\",\"content\":\"<br>{{ doc.name }}<br>{{ doc.reversal_of or \\\"\\\" }}<br>\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":624,\"startY\":153.5039370094,\"pageX\":921,\"pageY\":231,\"width\":90.52272033691406,\"height\":91.58806610107422,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"lineHeight\":2},\"classes\":[]},{\"id\":\"sdOlKnKeBW\",\"type\":\"rectangle\",\"childrens\":[],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":31.35050000000001,\"startY\":248,\"pageX\":176,\"pageY\":317,\"width\":731,\"height\":0.3124847412109375,\"styleEditMode\":\"main\",\"style\":{\"borderBottomStyle\":\"hidden\",\"borderLeftStyle\":\"hidden\",\"borderRightStyle\":\"hidden\",\"borderColor\":\"#000000\"},\"classes\":[]},{\"id\":\"wFeYIamWff\",\"type\":\"text\",\"content\":\"Text:\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":37.795275591,\"startY\":263.11023622330003,\"pageX\":188,\"pageY\":285,\"width\":32.5823860168457,\"height\":25.05397605895996,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontWeight\":\"700\"},\"classes\":[]},{\"id\":\"CVTgivkGjm\",\"type\":\"text\",\"content\":\"{{ doc.user_remark or \\\"\\\" }}\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":102.39999389648438,\"startY\":263.11023622330003,\"pageX\":294,\"pageY\":277,\"width\":652.4499816894531,\"height\":39.699995040893555,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"classes\":[]}]","print_designer_footer":"[{\"id\":\"qtoDpWDBSR\",\"type\":\"rectangle\",\"childrens\":[],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":31.3512873972345,\"startY\":891.991455078125,\"pageX\":273,\"pageY\":579,\"width\":730.998425205531,\"height\":0.008544921875,\"styleEditMode\":\"main\",\"style\":{\"borderTopStyle\":\"hidden\",\"borderLeftStyle\":\"hidden\",\"borderRightStyle\":\"hidden\"},\"classes\":[]},{\"id\":\"vbkORJdnGk\",\"type\":\"text\",\"content\":\"Total Debit :\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":234.44744873046875,\"startY\":908.8031496154999,\"pageX\":579,\"pageY\":480,\"width\":113.38582677299999,\"height\":30.039772033691406,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"14px\",\"fontWeight\":\"700\"},\"classes\":[]},{\"id\":\"rIkUtqezny\",\"type\":\"text\",\"content\":\"{{ \\\"{:,.2f}\\\".format(doc.total_debit) }}\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":355,\"startY\":908.8031496154999,\"pageX\":672,\"pageY\":477,\"width\":60.92045211791992,\"height\":25.05397605895996,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"14px\"},\"classes\":[]},{\"id\":\"JaCajHfDKl\",\"type\":\"text\",\"content\":\"Total Credit :\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":492.09088134765625,\"startY\":908.8031496154999,\"pageX\":814,\"pageY\":479,\"width\":113.38582677299999,\"height\":30.039772033691406,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"14px\",\"fontWeight\":\"700\"},\"classes\":[]},{\"id\":\"GFKFIlfEXO\",\"type\":\"text\",\"content\":\"{{ \\\"{:,.2f}\\\".format(doc.total_credit) }}\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":613,\"startY\":908.8031496154999,\"pageX\":919,\"pageY\":475,\"width\":60.92045211791992,\"height\":25.05397605895996,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"14px\"},\"classes\":[]},{\"id\":\"RBvFCPOuxd\",\"type\":\"text\",\"content\":\"Created By :\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":83,\"startY\":994.9984252086659,\"pageX\":258,\"pageY\":562,\"width\":72.72442626953125,\"height\":25.05397605895996,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"classes\":[]},{\"id\":\"IIfvNGArkJ\",\"type\":\"rectangle\",\"childrens\":[],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":173.4000244140625,\"startY\":994.9984252086659,\"pageX\":348.4000244140625,\"pageY\":546.6000366210938,\"width\":201.40933227539062,\"height\":25.31251335144043,\"styleEditMode\":\"main\",\"style\":{\"borderTopStyle\":\"hidden\",\"borderLeftStyle\":\"hidden\",\"borderRightStyle\":\"hidden\"},\"classes\":[]},{\"id\":\"GIdausMYBV\",\"type\":\"text\",\"content\":\"Approved By :\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":396,\"startY\":994.9984252086659,\"pageX\":652,\"pageY\":548,\"width\":85.16761016845703,\"height\":25.05397605895996,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"classes\":[]},{\"id\":\"UpFNoWGVKE\",\"type\":\"rectangle\",\"childrens\":[],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":504,\"startY\":994.9984252086659,\"pageX\":688,\"pageY\":537,\"width\":201.411023624439,\"height\":25.32283464597,\"styleEditMode\":\"main\",\"style\":{\"borderTopStyle\":\"hidden\",\"borderLeftStyle\":\"hidden\",\"borderRightStyle\":\"hidden\"},\"classes\":[]},{\"id\":\"lWyudvSnsu\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":false,\"dynamicContent\":[],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":776,\"startY\":985,\"pageX\":922,\"pageY\":585,\"width\":2,\"height\":23.008522033691406,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false},{\"id\":\"hSYnhDkaqo\",\"type\":\"text\",\"content\":\"Date :\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":124,\"startY\":1039.3700787525,\"pageX\":340,\"pageY\":736,\"width\":35.80681610107422,\"height\":25.05397605895996,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"classes\":[]},{\"id\":\"pSCMfBnVyo\",\"type\":\"rectangle\",\"childrens\":[],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":173.404724411508,\"startY\":1053,\"pageX\":399,\"pageY\":737,\"width\":201.411023624439,\"height\":6,\"styleEditMode\":\"main\",\"style\":{\"borderTopStyle\":\"hidden\",\"borderLeftStyle\":\"hidden\",\"borderRightStyle\":\"hidden\"},\"classes\":[]},{\"id\":\"wzWPNGhTdr\",\"type\":\"text\",\"content\":\"Date :\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":450,\"startY\":1039.3700787525,\"pageX\":672,\"pageY\":747.5714111328125,\"width\":35.80681610107422,\"height\":25.05397605895996,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"classes\":[]},{\"id\":\"rXIOomRAIu\",\"type\":\"rectangle\",\"childrens\":[],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":504.000000005985,\"startY\":1053.014173240851,\"pageX\":730,\"pageY\":736,\"width\":201.411023624439,\"height\":5,\"styleEditMode\":\"main\",\"style\":{\"borderTopStyle\":\"hidden\",\"borderLeftStyle\":\"hidden\",\"borderRightStyle\":\"hidden\"},\"classes\":[]},{\"id\":\"nYtkNzkuyL\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":false,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"page\",\"value\":\"\",\"fieldtype\":\"Document\",\"label\":\"Current Page :\",\"is_labelled\":false,\"is_static\":false,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false,\"spanRef\":null,\"suffix\":null},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"uIfntTAunS\",\"value\":\"/\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{},\"spanRef\":null},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"topage\",\"value\":\"\",\"fieldtype\":\"Document\",\"label\":\"Total Pages :\",\"is_labelled\":false,\"is_static\":false,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false,\"spanRef\":null,\"suffix\":null}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":718.110236229,\"startY\":1077.1653543435,\"pageX\":787,\"pageY\":684,\"width\":77.58238220214844,\"height\":60.05397415161133,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false}]","print_designer_body":"[{\"id\":\"TdruNBNbsc\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":false,\"dynamicContent\":[],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":78,\"startY\":311,\"pageX\":311,\"pageY\":400,\"width\":2,\"height\":23.008522033691406,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false},{\"id\":\"uyXsmFPljW\",\"type\":\"text\",\"content\":\"&nbsp;\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":11.20001220703125,\"startY\":667.4000244140625,\"pageX\":315.20001220703125,\"pageY\":299.4000244140625,\"width\":-0.0000030994415283203125,\"height\":2.400022506713867,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"classes\":[]}]","print_designer":1,"print_designer_print_format":"{\"header\":[{\"id\":\"eqVsRnuWVj\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"xskAWaBRPO\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"AMfJXZHuok\",\"type\":\"text\",\"content\":\"-- ปกปิด --\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":347.001,\"startY\":51.984,\"pageX\":581.1968383789062,\"pageY\":168.984375,\"width\":89.131,\"height\":32.554,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"20px\",\"fontWeight\":\"600\"},\"classes\":[]},{\"id\":\"thYnJcpqwt\",\"type\":\"text\",\"content\":\"{{ doc.name[:2] }} Voucher\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":337.763,\"startY\":82.25,\"pageX\":604.1374664306641,\"pageY\":196.25,\"width\":118.179,\"height\":32.554,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"20px\",\"fontWeight\":\"700\"},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":793.701,\"height\":114.804,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":793.701,\"height\":114.80397605895996,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"]},{\"id\":\"bjpTNNqWWX\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"VOuxbVlVsj\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"nSsuaczBhv\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":false,\"dynamicContent\":[],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":89,\"startY\":47.196,\"pageX\":323,\"pageY\":250,\"width\":2,\"height\":23.009,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false},{\"id\":\"PVcOMsHkxj\",\"type\":\"text\",\"content\":\"Doc. Date :<br>Currency :<br>Reference Doc. :<br>\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":37.795,\"startY\":38.7,\"pageX\":314.5454406738281,\"pageY\":-140.6363525390625,\"width\":112.327,\"height\":91.588,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"lineHeight\":2,\"fontWeight\":\"700\"},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":158.909,\"height\":132.278,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true},{\"id\":\"BGBRfmAyDL\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"lcTAqKYIoh\",\"type\":\"text\",\"content\":\"<br>\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":22.545,\"startY\":42.832,\"pageX\":415.45452880859375,\"pageY\":242.63636779785156,\"width\":2.994,\"height\":35.565,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"lineHeight\":2},\"classes\":[]},{\"id\":\"hBwwnSKQOs\",\"type\":\"text\",\"content\":\"{{ frappe.format(doc.creation, 'Date') }}<br>{{ doc.accounts[0].account_currency }}<br>{{ doc.cheque_no or \\\"\\\" }}<br>\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":0,\"startY\":38.683,\"pageX\":411,\"pageY\":210,\"width\":98.051,\"height\":93.595,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"lineHeight\":2},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":158.909,\"startY\":0,\"pageX\":158.90908813476562,\"pageY\":0,\"width\":107.091,\"height\":132.278,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true},{\"id\":\"QBimZJhLAV\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"gEKPjLohkQ\",\"type\":\"text\",\"content\":\"Posting Date :<br>Rate :<br>{{ doc.name[:2] == \\\"KV\\\" and \\\"Acceptance Date :\\\" or \\\"\\\" }}<br>\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":0,\"startY\":38.683,\"pageX\":499,\"pageY\":270,\"width\":128.676,\"height\":91.588,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"lineHeight\":2,\"fontWeight\":\"700\"},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":266,\"startY\":0,\"pageX\":266,\"pageY\":0,\"width\":133.975,\"height\":132.278,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true},{\"id\":\"kWzSJWzgAI\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"wyTLcbsTrm\",\"type\":\"text\",\"content\":\"{{ doc.name[:2] == \\\"KV\\\" and (frappe.format(doc.cheque_date, 'Date') or \\\"\\\") or \\\"\\\" }}\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":0,\"startY\":94.384,\"pageX\":545.9749755859375,\"pageY\":290.18749809265137,\"width\":2.994,\"height\":23.009,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"lineHeight\":2},\"classes\":[]},{\"id\":\"voTGcGwcLY\",\"type\":\"text\",\"content\":\"{% set rates =frappe.get_all('GL Entry', filters={'voucher_no': doc.name}, fields=['transaction_exchange_rate']) %}{{rates and rates[0]['transaction_exchange_rate'] or \\\"1\\\" }}\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":0.003,\"startY\":70.09,\"pageX\":545.9781188964844,\"pageY\":303.89374923706055,\"width\":20.153,\"height\":25.054,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"classes\":[]},{\"id\":\"ANPrDGwETe\",\"type\":\"text\",\"content\":\"{{ frappe.format(doc.posting_date, 'Date') }}\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":0.025,\"startY\":39.305,\"pageX\":662,\"pageY\":247,\"width\":104.662,\"height\":35.8,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"lineHeight\":2},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":399.975,\"startY\":0,\"pageX\":399.9749755859375,\"pageY\":0,\"width\":110.025,\"height\":132.278,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true},{\"id\":\"mpqJOtrzgL\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"wOfdrgFJMk\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":false,\"dynamicContent\":[],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":62,\"startY\":91.196,\"pageX\":790,\"pageY\":294,\"width\":2,\"height\":23.009,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false},{\"id\":\"brapDwHvbN\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":false,\"dynamicContent\":[],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":103,\"startY\":71.196,\"pageX\":831,\"pageY\":275,\"width\":2,\"height\":23.009,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false},{\"id\":\"yxQtkmhxjc\",\"type\":\"text\",\"content\":\"Doc. Type :<br>Doc. No. :<br>Reversal Of :<br>\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":0,\"startY\":38.7,\"pageX\":781,\"pageY\":238,\"width\":142.981,\"height\":91.8,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"letterSpacing\":\"0px\",\"lineHeight\":2,\"fontWeight\":\"700\"},\"classes\":[]},{\"id\":\"AhpwIYneRm\",\"type\":\"text\",\"content\":\"{{ doc.name[:2] }}\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":112,\"startY\":31.196,\"pageX\":864,\"pageY\":249,\"width\":42.256,\"height\":42.54,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"28px\",\"fontWeight\":\"700\"},\"classes\":[]},{\"id\":\"uCAEUSAEdx\",\"type\":\"text\",\"content\":\"<br>\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":198,\"startY\":73.196,\"pageX\":956,\"pageY\":301,\"width\":2.994,\"height\":25.054,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"classes\":[]},{\"id\":\"EHyzkMoQtN\",\"type\":\"text\",\"content\":\"<br>{{ doc.name }}<br>{{ doc.reversal_of or \\\"\\\" }}<br>\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":114,\"startY\":38.7,\"pageX\":921,\"pageY\":231,\"width\":90.523,\"height\":91.588,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"lineHeight\":2},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":510,\"startY\":0,\"pageX\":510,\"pageY\":0,\"width\":283.701,\"height\":132.278,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":114.80397605895996,\"pageX\":0,\"pageY\":114.80397605895996,\"width\":793.701,\"height\":132.27781481286837,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"]},{\"id\":\"AAkbDDvWWh\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"EePyNdePwV\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"sdOlKnKeBW\",\"type\":\"rectangle\",\"childrens\":[],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":31.351,\"startY\":0.918,\"pageX\":176,\"pageY\":317,\"width\":731,\"height\":0.312,\"styleEditMode\":\"main\",\"style\":{\"borderBottomStyle\":\"hidden\",\"borderLeftStyle\":\"hidden\",\"borderRightStyle\":\"hidden\",\"borderColor\":\"#000000\"},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":793.701,\"height\":1.231,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":247.08179087182833,\"pageX\":0,\"pageY\":247.08179087182833,\"width\":793.701,\"height\":1.2306938693826055,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"]},{\"id\":\"fxgzLaJCrv\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"IIQZYADukp\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"wFeYIamWff\",\"type\":\"text\",\"content\":\"Text:\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":37.795,\"startY\":14.798,\"pageX\":188,\"pageY\":285,\"width\":32.582,\"height\":25.054,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontWeight\":\"700\"},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":102.4,\"height\":54.498,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true},{\"id\":\"gCBTENjbkO\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"CVTgivkGjm\",\"type\":\"text\",\"content\":\"{{ doc.user_remark or \\\"\\\" }}\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":0,\"startY\":14.798,\"pageX\":294,\"pageY\":277,\"width\":652.45,\"height\":39.7,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":102.4,\"startY\":0,\"pageX\":102.39999389648438,\"pageY\":0,\"width\":691.301,\"height\":54.498,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":248.31248474121094,\"pageX\":0,\"pageY\":248.31248474121094,\"width\":793.701,\"height\":54.49774652298265,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"]}],\"body\":[{\"id\":\"MsflAdDqdZ\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"RufqgXXiKN\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"TdruNBNbsc\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":false,\"dynamicContent\":[],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":78,\"startY\":3.964,\"pageX\":311,\"pageY\":400,\"width\":2,\"height\":23.009,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":793.701,\"height\":26.972,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":307.0364074707031,\"pageX\":0,\"pageY\":307.0364074707031,\"width\":793.701,\"height\":26.97211456298828,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"]},{\"id\":\"hiqtLdpMvQ\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"HunpuuPusG\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"uyXsmFPljW\",\"type\":\"text\",\"content\":\"&nbsp;\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":11.2,\"startY\":333.392,\"pageX\":315.20001220703125,\"pageY\":299.4000244140625,\"width\":0,\"height\":2.4,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":793.701,\"height\":335.792,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":334.0085220336914,\"pageX\":0,\"pageY\":334.0085220336914,\"width\":793.701,\"height\":335.79152488708496,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"]}],\"footer\":[{\"id\":\"ypHMRBfOAy\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"pjmmMDBGln\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"qtoDpWDBSR\",\"type\":\"rectangle\",\"childrens\":[],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":31.351,\"startY\":6.301,\"pageX\":273,\"pageY\":579,\"width\":730.998,\"height\":0.009,\"styleEditMode\":\"main\",\"style\":{\"borderTopStyle\":\"hidden\",\"borderLeftStyle\":\"hidden\",\"borderRightStyle\":\"hidden\"},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":793.701,\"height\":6.309,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":885.69091796875,\"pageX\":0,\"pageY\":885.69091796875,\"width\":793.701,\"height\":6.30908203125,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"]},{\"id\":\"heoRKkGwec\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"AKzYtUAVLT\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"vbkORJdnGk\",\"type\":\"text\",\"content\":\"Total Debit :\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":234.447,\"startY\":16.803,\"pageX\":579,\"pageY\":480,\"width\":113.386,\"height\":30.04,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"14px\",\"fontWeight\":\"700\"},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":355,\"height\":46.843,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true},{\"id\":\"MWvbHkzlpw\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"rIkUtqezny\",\"type\":\"text\",\"content\":\"{{ \\\"{:,.2f}\\\".format(doc.total_debit) }}\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":0,\"startY\":16.803,\"pageX\":672,\"pageY\":477,\"width\":60.92,\"height\":25.054,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"14px\"},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":355,\"startY\":0,\"pageX\":355,\"pageY\":0,\"width\":137.091,\"height\":46.843,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true},{\"id\":\"CUoSvyGtBg\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"JaCajHfDKl\",\"type\":\"text\",\"content\":\"Total Credit :\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":0,\"startY\":16.803,\"pageX\":814,\"pageY\":479,\"width\":113.386,\"height\":30.04,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"14px\",\"fontWeight\":\"700\"},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":492.091,\"startY\":0,\"pageX\":492.09088134765625,\"pageY\":0,\"width\":120.909,\"height\":46.843,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true},{\"id\":\"nyThBHkMxV\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"GFKFIlfEXO\",\"type\":\"text\",\"content\":\"{{ \\\"{:,.2f}\\\".format(doc.total_credit) }}\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":0,\"startY\":16.803,\"pageX\":919,\"pageY\":475,\"width\":60.92,\"height\":25.054,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"14px\"},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":613,\"startY\":0,\"pageX\":613,\"pageY\":0,\"width\":180.701,\"height\":46.843,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":892,\"pageX\":0,\"pageY\":892,\"width\":793.701,\"height\":46.84292164919134,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"]},{\"id\":\"mUSFSyoIwZ\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"uKnWsazDBo\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"RBvFCPOuxd\",\"type\":\"text\",\"content\":\"Created By :\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":83,\"startY\":56.156,\"pageX\":258,\"pageY\":562,\"width\":72.724,\"height\":25.054,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":173.4,\"height\":81.478,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true},{\"id\":\"wAAAOzvsDS\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"IIfvNGArkJ\",\"type\":\"rectangle\",\"childrens\":[],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":0,\"startY\":56.156,\"pageX\":348.4000244140625,\"pageY\":546.6000366210938,\"width\":201.409,\"height\":25.313,\"styleEditMode\":\"main\",\"style\":{\"borderTopStyle\":\"hidden\",\"borderLeftStyle\":\"hidden\",\"borderRightStyle\":\"hidden\"},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":173.4,\"startY\":0,\"pageX\":173.4000244140625,\"pageY\":0,\"width\":222.6,\"height\":81.478,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true},{\"id\":\"WqqAsdAowF\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"GIdausMYBV\",\"type\":\"text\",\"content\":\"Approved By :\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":0,\"startY\":56.156,\"pageX\":652,\"pageY\":548,\"width\":85.168,\"height\":25.054,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":396,\"startY\":0,\"pageX\":396,\"pageY\":0,\"width\":108,\"height\":81.478,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true},{\"id\":\"gsYztBoQNg\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"UpFNoWGVKE\",\"type\":\"rectangle\",\"childrens\":[],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":0,\"startY\":56.156,\"pageX\":688,\"pageY\":537,\"width\":201.411,\"height\":25.323,\"styleEditMode\":\"main\",\"style\":{\"borderTopStyle\":\"hidden\",\"borderLeftStyle\":\"hidden\",\"borderRightStyle\":\"hidden\"},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":504,\"startY\":0,\"pageX\":504,\"pageY\":0,\"width\":272,\"height\":81.478,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true},{\"id\":\"lshkVJwJZW\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"lWyudvSnsu\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":false,\"dynamicContent\":[],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":0,\"startY\":46.157,\"pageX\":922,\"pageY\":585,\"width\":2,\"height\":23.009,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":776,\"startY\":0,\"pageX\":776,\"pageY\":0,\"width\":17.701,\"height\":81.478,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":938.8429216491913,\"pageX\":0,\"pageY\":938.8429216491913,\"width\":793.701,\"height\":81.47833820544463,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"]},{\"id\":\"oTLdJWylzb\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"RfPPCjxmVt\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"hSYnhDkaqo\",\"type\":\"text\",\"content\":\"Date :\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":124,\"startY\":19.049,\"pageX\":340,\"pageY\":736,\"width\":35.807,\"height\":25.054,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":173.405,\"height\":44.103,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true},{\"id\":\"KSlHHUUsRF\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"pSCMfBnVyo\",\"type\":\"rectangle\",\"childrens\":[],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":0,\"startY\":32.679,\"pageX\":399,\"pageY\":737,\"width\":201.411,\"height\":6,\"styleEditMode\":\"main\",\"style\":{\"borderTopStyle\":\"hidden\",\"borderLeftStyle\":\"hidden\",\"borderRightStyle\":\"hidden\"},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":173.405,\"startY\":0,\"pageX\":173.404724411508,\"pageY\":0,\"width\":276.595,\"height\":44.103,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true},{\"id\":\"JhCDSKueZF\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"wzWPNGhTdr\",\"type\":\"text\",\"content\":\"Date :\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":false,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":false,\"startX\":0,\"startY\":19.049,\"pageX\":672,\"pageY\":747.5714111328125,\"width\":35.807,\"height\":25.054,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":450,\"startY\":0,\"pageX\":450,\"pageY\":0,\"width\":54,\"height\":44.103,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true},{\"id\":\"YNAuwRVUWI\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"rXIOomRAIu\",\"type\":\"rectangle\",\"childrens\":[],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":0,\"startY\":32.693,\"pageX\":730,\"pageY\":736,\"width\":201.411,\"height\":5,\"styleEditMode\":\"main\",\"style\":{\"borderTopStyle\":\"hidden\",\"borderLeftStyle\":\"hidden\",\"borderRightStyle\":\"hidden\"},\"classes\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":504,\"startY\":0,\"pageX\":504.000000005985,\"pageY\":0,\"width\":289.701,\"height\":44.103,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":1020.321259854636,\"pageX\":0,\"pageY\":1020.321259854636,\"width\":793.701,\"height\":44.102794956823914,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"]},{\"id\":\"zsYZFcjmka\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"RmsRoKNGtY\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"nYtkNzkuyL\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":false,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"page\",\"value\":\"\",\"fieldtype\":\"Document\",\"label\":\"Current Page :\",\"is_labelled\":false,\"is_static\":false,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false,\"spanRef\":null,\"suffix\":null},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"uIfntTAunS\",\"value\":\"/\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{},\"spanRef\":null},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"topage\",\"value\":\"\",\"fieldtype\":\"Document\",\"label\":\"Total Pages :\",\"is_labelled\":false,\"is_static\":false,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false,\"spanRef\":null,\"suffix\":null}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":718.11,\"startY\":12.741,\"pageX\":787,\"pageY\":684,\"width\":77.582,\"height\":60.054,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":793.701,\"height\":72.795,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":1064.4240548114599,\"pageX\":0,\"pageY\":1064.4240548114599,\"width\":793.701,\"height\":72.79527368365143,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"]}]}","print_designer_template_app":"print_designer","doctype":"Print Format","__onload":{"print_templates":[]}}
maharshivpatel commented 5 months ago

you have some unused elements causing issue. print designer should be able to handle these as well. Thanks for the format, i will handle this but if you need to use the format just delete unused/empty fields and solve overlapping fields

CTRL/CMD + A to select all elements

Screenshot 2024-04-09 at 3 31 56 PM

kittiu commented 5 months ago

OK, by the way, on the body part, I need to have a small dummy one (on middle left) because it require at least one. :)

maharshivpatel commented 5 months ago

yeah, it is intentional as wkhtmltopdf won't print empty body.

maharshivpatel commented 5 months ago

@kittiu did you try the format after fixing overlapping and empty elements ?

kittiu commented 5 months ago

I tried, but it still not working. I mean, it still very slow and kinky. I use frappe cloud and asking support to roll back version.

maharshivpatel commented 5 months ago

@kittiu can you please elaborate what is slow in particular ?

kittiu commented 5 months ago

When print designer ask me to dupllicate a ( Copy ) version, then it just not working. Here is the vdo shot (take a while to load).

Peek 2024-04-18 21-15

If you notice, clicking Save is just so slow. Also, the print out is just messed up that I can't use it.

The original is like this,

image

Note: I use jinja to product the table, I don't table component.

maharshivpatel commented 2 months ago

slowness fixed by #236. please open new issue if there is any issue you face on latest version. Thank you.