frappe / print_designer

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

google fonts not accessible which causes Unable to generate PDF #242

Open adweizhe opened 7 months ago

adweizhe commented 7 months ago

Unable to generate PDF There was error while generating PDF. Please check the error log for more details.

Traceback with variables (most recent call last): File "apps/frappe/frappe/core/doctype/file/utils.py", line 358, in attach_files_to_document file.insert(ignore_permissions=True) doc = event = 'on_update' attach_fields = [] df = value = '/private/files/print_designer-sales_invoice_pd_format_v2-preview.jpg' unattached_file = None file = File "apps/frappe/frappe/model/document.py", line 285, in insert self.run_method("before_insert") self = ignore_permissions = True ignore_links = None ignore_if_duplicate = False ignore_mandatory = None set_name = None set_child_names = True File "apps/frappe/frappe/model/document.py", line 962, in run_method out = Document.hook(fn)(self, *args, kwargs) self = args = () kwargs = {} fn = <function Document.run_method..fn at 0x7fd8a6fd5750> method = 'before_insert' File "apps/frappe/frappe/model/document.py", line 1322, in composer return composed(self, method, *args, kwargs) self = args = () kwargs = {} hooks = [] method = 'before_insert' doc_events = {'': {'on_update': ['frappe.desk.notifications.clear_doctype_notifications', 'frappe.workflow.doctype.workflow_action.workflow_action.process_workflow_actions', 'frappe.core.doctype.file.utils.attach_files_to_document', 'frappe.automation.doctype.assignment_rule.assignment_rule.apply', 'frappe.automation.doctype.assignment_rule.assignment_rule.update_due_date', 'frappe.core.doctype.user_type.user_type.apply_permissions_for_non_standard_user_type'], 'after_rename': ['frappe.desk.notifications.clear_doctype_notifications'], 'on_cancel': ['frappe.desk.notifications.clear_doctype_notifications', 'frappe.workflow.doctype.workflow_action.workflow_action.process_workflow_actions', 'frappe.automation.doctype.assignment_rule.assignment_rule.apply'], 'on_trash': ['frappe.desk.notifications.clear_doctype_notifications', 'frappe.workflow.doctype.workflow_action.workflow_action.process_workflow_actions'], 'on_update_after_submit': ['frappe.workflow.doctype.workflow_action.workflow_action.process_w... composed = <function Document.hook..compose..runner at 0x7fd8a6fd5630> compose = <function Document.hook..compose at 0x7fd8a6fd5870> f = <function Document.run_method..fn at 0x7fd8a6fd5750> File "apps/frappe/frappe/model/document.py", line 1304, in runner add_to_return_value(self, fn(self, args, kwargs)) self = method = 'before_insert' args = () kwargs = {} add_to_return_value = <function Document.hook..add_to_return_value at 0x7fd8a6fd5510> fn = <function Document.run_method..fn at 0x7fd8a6fd5750> hooks = () File "apps/frappe/frappe/model/document.py", line 959, in fn return method_object(*args, kwargs) self = args = () kwargs = {} method_object = <bound method File.before_insert of > method = 'before_insert' File "apps/frappe/frappe/core/doctype/file/file.py", line 103, in before_insert self.save_file(content=self.get_content()) self = File "apps/frappe/frappe/core/doctype/file/file.py", line 534, in get_content with open(file_path, mode="rb") as f: self = file_path = './erpnext/private/files/print_designer-sales_invoice_pd_format_v2-preview.jpg' builtins.FileNotFoundError: [Errno 2] No such file or directory: './erpnext/private/files/print_designer-sales_invoice_pd_format_v2-preview.jpg'

adweizhe commented 7 months ago

May I ask how to solve the problem of setting the printing template to default and reporting an error

maharshivpatel commented 7 months ago

@adweizhe are you getting this error on save ?

adweizhe commented 7 months ago

@adweizhe 您在保存时收到此错误吗?

When clicking the print button

maharshivpatel commented 7 months ago

does your server have access to google fonts ?

adweizhe commented 7 months ago

您的服务器可以访问 Google 字体吗?

My server is unable to access Google Fonts

adweizhe commented 7 months ago

您的服务器可以访问 Google 字体吗?

![Uploading mmexport1713551235415.jpg…]()

maharshivpatel commented 7 months ago

@adweizhe unfortunately, access to google fonts is required to generate pdf. There is already issue created to use self hosted fonts but there were some issues when i last attempted. #58

closing this as duplicate issue. thank you for reporting this.

adweizhe commented 7 months ago

@adweizhe 不幸的是,需要访问 Google 字体才能生成 PDF。 已经存在使用自托管字体的问题,但是当我上次尝试时出现了一些问题。 #58

将其作为重复问题关闭。 感谢您报告此事。

It's not a problem with Google fonts. We have changed it to a local font locally and this prompt appears, but they print out the content

maharshivpatel commented 7 months ago

@adweizhe how did you change it to locally ?

qinyanwan commented 5 months ago

I have used this app (https://github.com/bberppub/my_custom_fonts.git) to enforce the use of local fonts, but I am still encountering the error message "Unable to generate PDF." This suggests that running Google fonts may not be related to the issue.

maharshivpatel commented 5 months ago

@qinyanwan actually any broken link throws unable to generate pdf. can you share the format with me. i can test it if it is google fonts or something else. Thank you.

you share your format like this :

You can paste the data here

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

qinyanwan commented 5 months ago

Here is my print format JSON, where you can see at the end there is "print_designer_preview_img": "/private/files/print_designer-purchase_order-preview.jpg". In reality, this JPG file is automatically generated, and I haven't added any image within the print format. I've also attempted to delete it and paste to create a new print format, yet the issue persists with the message "Unable to generate PDF." { "name": "Purchase Order", "creation": "2024-05-09 14:09:25.426425", "modified": "2024-06-18 11:11:51.181933", "modified_by": "Administrator", "owner": "Administrator", "docstatus": 0, "idx": 0, "doc_type": "Purchase Order", "module": "Buying", "default_print_language": "zh", "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": "Bottom Center", "css": ":root { --scale-factor: 2px; --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, "priority": 100, "print_designer_after_table": "[]", "print_designer_settings": "{\"page\":{\"UOM\":\"mm\",\"footerHeight\":291.0236220507,\"footerHeightWithMargin\":291.0236220507,\"headerHeight\":97.90598693847659,\"headerHeightWithMargin\":97.90598693847659,\"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\":\"CUSTOM\",\"isHeaderFooterAuto\":false,\"currentDoc\":\"PO-24-00008\",\"textControlType\":\"dynamic\",\"currentFonts\":[\"Fira Sans\",\"Inter\"],\"printHeaderFonts\":{\"Fira Sans\":{\"weight\":[400],\"italic\":[]},\"Inter\":{\"weight\":[400,600],\"italic\":[]}},\"printFooterFonts\":{\"Inter\":{\"weight\":[400,600],\"italic\":[]}},\"printBodyFonts\":{\"Inter\":{\"weight\":[400,600],\"italic\":[]}},\"userProvidedJinja\":\"\",\"schema_version\":\"1.0.1\"}", "print_designer_header": "[{\"type\": \"page\", \"childrens\": [{\"id\": \"SVaqdYKtDT\", \"type\": \"image\", \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": false, \"isDynamic\": false, \"image\": {\"name\": \"7097bbd446\", \"file_name\": \"hh2.png\", \"file_url\": \"/files/hh2.png\", \"modified\": \"2024-01-11 22:47:29.733595\"}, \"startX\": 3.3332977294921875, \"startY\": 3.3333282470703125, \"pageX\": 126.33329772949219, \"pageY\": 111.33332824707031, \"width\": 232.66668701171875, \"height\": 55.68, \"styleEditMode\": \"main\", \"style\": {\"zIndex\": 0}, \"classes\": [], \"isElementOverlapping\": true, \"printY\": 3.3333282470703125}, {\"id\": \"OzCcqGxsxB\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": true, \"dynamicContent\": [{\"doctype\": \"Company\", \"parentField\": \"company\", \"fieldname\": \"company_name\", \"value\": \"\\u5e7f\\u4e1c\\u6ca1\\u60f3\\u597d\\u540d\\u5b57\\u6709\\u9650\\u516c\\u53f8\", \"fieldtype\": \"Data\", \"label\": \"Company :\", \"is_labelled\": false, \"is_static\": false, \"print_hide\": 0, \"style\": {}, \"labelStyle\": {}, \"nextLine\": true, \"labelStyleEditing\": false, \"suffix\": null}], \"selectedDynamicText\": null, \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": false, \"startX\": 277.66668701171875, \"startY\": 8.999984741210938, \"pageX\": 399.3333435058594, \"pageY\": 142.99998474121094, \"width\": 325.3332824707031, \"height\": 38.66669845581055, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"fontFamily\": \"Fira Sans\", \"fontWeight\": \"400\", \"fontSize\": \"25px\", \"zIndex\": 0}, \"labelStyle\": {}, \"classes\": [], \"isDynamicHeight\": false, \"isElementOverlapping\": true, \"printY\": 8.999984741210938, \"heightType\": \"fixed\"}, {\"id\": \"yrqEZCqOBY\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": true, \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"ExtRwxlMrQ\", \"value\": \"\\u91c7\\u8d2d\\u5355\\u53f7\\uff1a\", \"fieldtype\": \"StaticText\", \"is_static\": true, \"is_labelled\": false, \"nextLine\": false, \"parseJinja\": false, \"style\": {}, \"labelStyleEditing\": false}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"name\", \"value\": \"PO-24-00001\", \"fieldtype\": \"Document\", \"label\": \"\\u7f16\\u53f7 :\", \"is_labelled\": false, \"is_static\": false, \"style\": {}, \"labelStyle\": {}, \"nextLine\": false, \"labelStyleEditing\": false, \"suffix\": null}], \"selectedDynamicText\": null, \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": false, \"startX\": 569.3025398254395, \"startY\": 37.666656494140625, \"pageX\": 749.37890625, \"pageY\": 176.44442749023438, \"width\": 190.88544845581055, \"height\": 18.944438934326172, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"fontSize\": \"14px\", \"zIndex\": 0}, \"labelStyle\": {}, \"classes\": [], \"isDynamicHeight\": false, \"isElementOverlapping\": true, \"printY\": 37.666656494140625, \"heightType\": \"fixed\"}, {\"id\": \"ftQjbsurMX\", \"type\": \"rectangle\", \"childrens\": [{\"id\": \"FUXOuDQjpc\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": true, \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"aSiJeqcrOG\", \"value\": \"\\u91c7 \\u8d2d \\u5408 \\u540c\", \"fieldtype\": \"StaticText\", \"is_static\": true, \"is_labelled\": false, \"nextLine\": false, \"parseJinja\": false, \"style\": {}, \"labelStyleEditing\": false}], \"selectedDynamicText\": null, \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": false, \"startX\": 321.47314453125, \"startY\": 1.6518173217773438, \"pageX\": 398.8570556640625, \"pageY\": 237.22323989868164, \"width\": 139.625, \"height\": 28.857112884521484, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"backgroundColor\": \"#cfc8c8\", \"fontSize\": \"25px\", \"zIndex\": 0}, \"labelStyle\": {}, \"classes\": [], \"isDynamicHeight\": false, \"heightType\": \"fixed\"}], \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": true, \"startX\": 28.3839111328125, \"startY\": 58.76188659667969, \"pageX\": 113, \"pageY\": 196.52378845214844, \"width\": 732.6477236951939, \"height\": 34.31748962402344, \"styleEditMode\": \"main\", \"style\": {\"backgroundColor\": \"#cfc8c8\", \"borderTopStyle\": \"hidden\", \"borderBottomStyle\": \"hidden\", \"borderLeftStyle\": \"hidden\", \"borderRightStyle\": \"hidden\", \"zIndex\": 0}, \"classes\": [], \"isElementOverlapping\": true, \"printY\": 58.76188659667969}], \"firstPage\": true, \"oddPage\": true, \"evenPage\": true, \"lastPage\": true}]", "print_designer_footer": "[{\"type\": \"page\", \"childrens\": [{\"id\": \"aCGmrgWYWc\", \"type\": \"rectangle\", \"childrens\": [{\"id\": \"khpdNPdmSU\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": true, \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"total_qty\", \"value\": \"30,000\", \"fieldtype\": \"Float\", \"label\": \"\\u603b\\u6570\\u91cf\\uff1a\", \"is_labelled\": true, \"is_static\": false, \"print_hide\": 0, \"style\": {}, \"labelStyle\": {}, \"nextLine\": true, \"labelStyleEditing\": true, \"suffix\": null}], \"selectedDynamicText\": null, \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": false, \"startX\": 31.349227905273438, \"startY\": 6.5416259765625, \"pageX\": 206.90481567382812, \"pageY\": 565.3333435058594, \"width\": 142.29868125915527, \"height\": 25.166667938232422, \"styleEditMode\": \"label\", \"labelDisplayStyle\": \"standard\", \"style\": {\"zIndex\": 0}, \"labelStyle\": {\"fontSize\": \"13px\"}, \"classes\": [], \"childrens\": [], \"isDynamicHeight\": true, \"heightType\": \"auto\"}, {\"id\": \"YOdDeTfNfy\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": false, \"dynamicContent\": [], \"selectedDynamicText\": null, \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": false, \"startX\": 111.66665649414062, \"startY\": 14.99481201171875, \"pageX\": 231, \"pageY\": 488, \"width\": 2, \"height\": 23, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"zIndex\": 0}, \"labelStyle\": {}, \"classes\": [], \"isDynamicHeight\": false, \"heightType\": \"fixed\"}, {\"id\": \"YPheePIled\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": false, \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"HVOeUThMSd\", \"value\": \"\\u6c47\\u603b;\", \"fieldtype\": \"StaticText\", \"is_static\": true, \"is_labelled\": false, \"nextLine\": false, \"parseJinja\": false, \"style\": {}}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"grand_total\", \"options\": \"currency\", \"value\": \"\\u4eba\\u6c11\\u5e01 7,797.00\", \"fieldtype\": \"Currency\", \"label\": \"Grand Total :\", \"suffix\": null, \"is_labelled\": false, \"is_static\": false, \"print_hide\": 0, \"style\": {}, \"labelStyle\": {}, \"nextLine\": true, \"labelStyleEditing\": false}], \"selectedDynamicText\": null, \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": false, \"startX\": 224.38018798828125, \"startY\": 6.90625, \"pageX\": 576.3801879882812, \"pageY\": 369.2719421386719, \"width\": 127.9921875, \"height\": 23.75, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"fontSize\": \"13px\", \"zIndex\": 0}, \"labelStyle\": {}, \"isDynamicHeight\": true, \"classes\": [], \"heightType\": \"auto\"}, {\"id\": \"EordLyIEit\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": false, \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"in_words\", \"value\": \"\\u4eba\\u6c11\\u5e01\\u67d2\\u4edf\\u67d2\\u4f70\\u7396\\u62fe\\u67d2\\u5143\\u6574\", \"fieldtype\": \"Data\", \"label\": \"In Words :\", \"suffix\": null, \"is_labelled\": false, \"is_static\": false, \"print_hide\": 1, \"style\": {}, \"labelStyle\": {}, \"nextLine\": true, \"labelStyleEditing\": false}], \"selectedDynamicText\": null, \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": false, \"startX\": 485.47613525390625, \"startY\": 6.5416259765625, \"pageX\": 837.4761352539062, \"pageY\": 361.8571472167969, \"width\": 160, \"height\": 23.75, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"fontSize\": \"13px\", \"zIndex\": 0}, \"labelStyle\": {}, \"isDynamicHeight\": true, \"classes\": [], \"heightType\": \"auto\"}], \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": true, \"startX\": 20.401275634765625, \"startY\": 1.2201574935999133, \"pageX\": 147.06793212890625, \"pageY\": 748.3943786621094, \"width\": 748.6104212215646, \"height\": 37.795275591, \"styleEditMode\": \"main\", \"style\": {\"zIndex\": 0}, \"classes\": [], \"isElementOverlapping\": false, \"printY\": 1.2201574935999133}, {\"id\": \"tGygAdrSjk\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": true, \"dynamicContent\": [{\"doctype\": \"Terms and Conditions\", \"parentField\": \"tc_name\", \"fieldname\": \"terms\", \"value\": \"{{ tc_name.terms }}\", \"fieldtype\": \"Text Editor\", \"label\": \"Terms and Conditions :\", \"suffix\": null, \"is_labelled\": false, \"is_static\": false, \"print_hide\": 0, \"style\": {}, \"labelStyle\": {}, \"nextLine\": false, \"labelStyleEditing\": false, \"spanRef\": null}], \"selectedDynamicText\": null, \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": false, \"startX\": 26.404205322265625, \"startY\": 51.73921775382496, \"pageX\": 360.3536376953125, \"pageY\": 718.12451171875, \"width\": 731.6797900404088, \"height\": 52.91658020019531, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"fontSize\": \"13px\", \"zIndex\": 0}, \"labelStyle\": {}, \"isDynamicHeight\": true, \"classes\": [], \"isElementOverlapping\": false, \"printY\": 51.73921775382496, \"heightType\": \"auto\"}, {\"id\": \"nbrpztUBSi\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": true, \"dynamicContent\": [{\"doctype\": \"Company\", \"parentField\": \"company\", \"fieldname\": \"company_name\", \"value\": \"\\u5e7f\\u4e1c\\u6ca1\\u60f3\\u597d\\u540d\\u5b57\\u6709\\u9650\\u516c\\u53f8\", \"fieldtype\": \"Data\", \"label\": \"Company :\", \"is_labelled\": false, \"is_static\": false, \"print_hide\": 0, \"style\": {}, \"labelStyle\": {}, \"nextLine\": true, \"labelStyleEditing\": false, \"suffix\": null}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"ZWxHXBEaiJ\", \"value\": \"\\u7b7e\\u5b57\\u53ca\\u76d6\\u7ae0\\uff1a\", \"fieldtype\": \"StaticText\", \"is_static\": true, \"is_labelled\": false, \"nextLine\": true, \"parseJinja\": false, \"style\": {}, \"labelStyleEditing\": false}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"qXPjMQxPjQ\", \"value\": \"\\u65e5\\u671f\\uff1a\", \"fieldtype\": \"StaticText\", \"is_static\": true, \"is_labelled\": false, \"nextLine\": false, \"parseJinja\": false, \"style\": {}, \"labelStyleEditing\": false}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"transaction_date\", \"value\": \"2024-04-22\", \"fieldtype\": \"Date\", \"label\": \"Date :\", \"suffix\": null, \"is_labelled\": false, \"is_static\": false, \"print_hide\": 0, \"style\": {}, \"labelStyle\": {}, \"nextLine\": true, \"labelStyleEditing\": false}], \"selectedDynamicText\": null, \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": false, \"startX\": 36.607421875, \"startY\": 140.88200950187183, \"pageX\": 290.607421875, \"pageY\": 476.2673034667969, \"width\": 334.19439697265625, \"height\": 88.20883178710938, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"lineHeight\": 2, \"fontSize\": \"13px\", \"zIndex\": 0}, \"labelStyle\": {}, \"classes\": [], \"isDynamicHeight\": false, \"isElementOverlapping\": true, \"printY\": 140.88200950187183, \"heightType\": \"fixed\"}, {\"id\": \"dUMFVlkMGd\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": true, \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"supplier_name\", \"value\": \"\\u6df1\\u5733\\u5e02\\u5174\\u5b9e\\u4e1a\\u6709\\u9650\\u516c\\u53f8\", \"fieldtype\": \"Data\", \"label\": \"Supplier Name :\", \"is_labelled\": false, \"is_static\": false, \"print_hide\": 0, \"style\": {}, \"labelStyle\": {}, \"nextLine\": true, \"labelStyleEditing\": false, \"suffix\": null}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"xZALdLYFHY\", \"value\": \"<span style=\\\"letter-spacing: 0.28px;\\\" _msttexthash=\\\"26459160\\\" _msthash=\\\"7040\\\">\\u7b7e\\u5b57\\u53ca\\u76d6\\u7ae0\\uff1a</span>\", \"fieldtype\": \"StaticText\", \"is_static\": true, \"is_labelled\": false, \"nextLine\": true, \"parseJinja\": false, \"style\": {\"lineHeight\": 2.5}, \"labelStyleEditing\": false}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"ERBwZJPywz\", \"value\": \"\\u65e5\\u671f\\uff1a\", \"fieldtype\": \"StaticText\", \"is_static\": true, \"is_labelled\": false, \"nextLine\": true, \"parseJinja\": false, \"style\": {}}], \"selectedDynamicText\": null, \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": false, \"startX\": 444.84344482421875, \"startY\": 140.2590885118816, \"pageX\": 742.5101318359375, \"pageY\": 490.75546646118164, \"width\": 306.55560302734375, \"height\": 89.40293502807617, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"lineHeight\": 2, \"fontSize\": \"13px\", \"zIndex\": 0}, \"labelStyle\": {}, \"classes\": [], \"isDynamicHeight\": false, \"isElementOverlapping\": false, \"printY\": 140.2590885118816, \"heightType\": \"fixed\"}, {\"id\": \"nnuaTEcxGg\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": true, \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"date\", \"value\": \"2024-05-09\", \"fieldtype\": \"Document\", \"label\": \"\\u6253\\u5370\\u65f6\\u95f4 :\", \"is_labelled\": true, \"is_static\": false, \"style\": {}, \"labelStyle\": {}, \"nextLine\": false, \"labelStyleEditing\": false, \"suffix\": null}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"time\", \"value\": \"11:39:29\", \"fieldtype\": \"Document\", \"label\": \"Print Time :\", \"is_labelled\": false, \"is_static\": false, \"style\": {}, \"labelStyle\": {}, \"nextLine\": true, \"suffix\": null, \"labelStyleEditing\": false}], \"selectedDynamicText\": null, \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": false, \"startX\": 4.3332977294921875, \"startY\": 267.5731296495769, \"pageX\": 173.6666717529297, \"pageY\": 1205.1875610351562, \"width\": 217.368140799578, \"height\": 22.444408416748047, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"zIndex\": 0}, \"labelStyle\": {}, \"classes\": [], \"isDynamicHeight\": false, \"isElementOverlapping\": false, \"printY\": 267.5731296495769, \"heightType\": \"fixed\"}, {\"id\": \"hHoKoEkktm\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": true, \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"page\", \"value\": \"0\", \"fieldtype\": \"Document\", \"label\": \"Current Page :\", \"is_labelled\": false, \"is_static\": false, \"style\": {}, \"labelStyle\": {}, \"nextLine\": false, \"suffix\": null}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"LCfpfGvlBT\", \"value\": \"/\", \"fieldtype\": \"StaticText\", \"is_static\": true, \"is_labelled\": false, \"nextLine\": false, \"parseJinja\": false, \"style\": {}, \"labelStyleEditing\": false}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"topage\", \"value\": \"999\", \"fieldtype\": \"Document\", \"label\": \"Total Pages :\", \"is_labelled\": false, \"is_static\": false, \"style\": {}, \"labelStyle\": {}, \"nextLine\": true, \"suffix\": null, \"labelStyleEditing\": false}], \"selectedDynamicText\": null, \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": false, \"startX\": 369.3333435058594, \"startY\": 268.6286487535808, \"pageX\": 399.3333435058594, \"pageY\": 543.3333129882812, \"width\": 47.9444465637207, \"height\": 19.16659927368164, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"zIndex\": 0}, \"labelStyle\": {}, \"classes\": [], \"isDynamicHeight\": false, \"isElementOverlapping\": true, \"printY\": 268.6286487535808, \"heightType\": \"fixed\"}, {\"id\": \"DlbCrJgdct\", \"type\": \"image\", \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": false, \"isDynamic\": false, \"image\": {\"name\": \"dd5ea33b95\", \"file_name\": \"seal.png\", \"file_url\": \"/files/seal.png\", \"modified\": \"2024-05-09 14:07:01.405275\"}, \"startX\": 443, \"startY\": 134.50362205069996, \"pageX\": 971, \"pageY\": 937, \"width\": 180, \"height\": 130, \"styleEditMode\": \"main\", \"style\": {\"zIndex\": 0}, \"classes\": [], \"printY\": 134.50362205069996}], \"firstPage\": true, \"oddPage\": true, \"evenPage\": true, \"lastPage\": true}]", "print_designer_body": "[{\"index\": 0, \"type\": \"page\", \"childrens\": [{\"id\": \"SOUmsrCEHI\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": true, \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"hOvcScctfD\", \"value\": \"\\u4e0b\\u5355\\u65e5\\u671f\\uff1a\", \"fieldtype\": \"StaticText\", \"is_static\": true, \"is_labelled\": false, \"nextLine\": false, \"parseJinja\": false, \"style\": {}, \"labelStyleEditing\": false}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"transaction_date\", \"value\": \"2024-04-22\", \"fieldtype\": \"Date\", \"label\": \"\\u4e0b\\u5355\\u65e5\\u671f :\", \"is_labelled\": false, \"is_static\": false, \"print_hide\": 0, \"style\": {}, \"labelStyle\": {}, \"nextLine\": false, \"labelStyleEditing\": false, \"suffix\": null}], \"selectedDynamicText\": null, \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": false, \"startX\": 571.486083984375, \"startY\": 101.52381896972656, \"pageX\": 526.3333129882812, \"pageY\": 268.52381896972656, \"width\": 204.54171752929688, \"height\": 17.38882827758789, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"zIndex\": 0}, \"labelStyle\": {}, \"classes\": [], \"isDynamicHeight\": false, \"isElementOverlapping\": false, \"printY\": 3.617832031249975, \"heightType\": \"fixed\"}, {\"id\": \"tjyHsfAHvk\", \"type\": \"rectangle\", \"childrens\": [{\"id\": \"FUukPfRlyl\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": true, \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"NwyWpyEpVo\", \"value\": \"\\u7532\\u65b9(\\u9700\\u65b9)\\uff1a\", \"fieldtype\": \"StaticText\", \"is_static\": true, \"is_labelled\": false, \"nextLine\": false, \"parseJinja\": false, \"style\": {}, \"labelStyleEditing\": false}, {\"doctype\": \"Company\", \"parentField\": \"company\", \"fieldname\": \"company_name\", \"value\": \"\\u5e7f\\u4e1c\\u6ca1\\u60f3\\u597d\\u540d\\u5b57\\u6709\\u9650\\u516c\\u53f8\", \"fieldtype\": \"Data\", \"label\": \"Company :\", \"is_labelled\": false, \"is_static\": false, \"print_hide\": 0, \"style\": {}, \"labelStyle\": {}, \"nextLine\": true, \"labelStyleEditing\": false, \"suffix\": null}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"eueUxeSChh\", \"value\": \"\\u8054\\u7cfb\\u7535\\u8bdd\\uff1a\", \"fieldtype\": \"StaticText\", \"is_static\": true, \"is_labelled\": false, \"nextLine\": false, \"parseJinja\": false, \"style\": {}, \"labelStyleEditing\": false}, {\"doctype\": \"Company\", \"parentField\": \"company\", \"fieldname\": \"phone_no\", \"options\": \"Phone\", \"value\": \"{{ company.phone_no }}\", \"fieldtype\": \"Data\", \"label\": \"Phone No :\", \"is_labelled\": false, \"is_static\": false, \"print_hide\": 0, \"style\": {}, \"labelStyle\": {}, \"nextLine\": true, \"suffix\": null, \"labelStyleEditing\": false}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"mJjfsADnKt\", \"value\": \"\\u5730\\u5740\\uff1a\\u5e7f\\u5dde\\u5e02\\u589e\\u57ce\\u533a\\u589e\\u6c5f\\u8857\\u5854\\u5c71\\u5927\\u9053166\\u53f7&nbsp; E\\u680b\\u516d\\u697c \\u6c22\\u5408\\u79d1\\u6280\", \"fieldtype\": \"StaticText\", \"is_static\": true, \"is_labelled\": false, \"nextLine\": false, \"parseJinja\": false, \"style\": {}, \"labelStyleEditing\": false}], \"selectedDynamicText\": null, \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": false, \"startX\": 16.979156494140625, \"startY\": 7.648857116699219, \"pageX\": 102.3809814453125, \"pageY\": 178.27379608154297, \"width\": 343.0555725097656, \"height\": 100.4453125, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"lineHeight\": 2, \"fontSize\": \"13px\", \"zIndex\": 0}, \"labelStyle\": {}, \"classes\": [], \"isDynamicHeight\": true, \"heightType\": \"auto\"}], \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": true, \"startX\": 28.386871337890625, \"startY\": 120.44941711425781, \"pageX\": 69.860107421875, \"pageY\": 268.454345703125, \"width\": 373.08516062607805, \"height\": 118.55654907226562, \"styleEditMode\": \"main\", \"style\": {\"zIndex\": 0}, \"classes\": [], \"isElementOverlapping\": true, \"printY\": 22.543430175781225}, {\"id\": \"JMBFlDVIQK\", \"type\": \"rectangle\", \"childrens\": [{\"id\": \"iZLidqYSrt\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": true, \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"CLAXgXsDdC\", \"value\": \"\\u4e59\\u65b9(\\u4f9b\\u65b9)\\uff1a\", \"fieldtype\": \"StaticText\", \"is_static\": true, \"is_labelled\": false, \"nextLine\": false, \"parseJinja\": false, \"style\": {}, \"labelStyleEditing\": false, \"labelStyle\": {}}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"supplier_name\", \"value\": \"\\u6df1\\u5733\\u5e02\\u5174\\u5b9e\\u4e1a\\u6709\\u9650\\u516c\\u53f8\", \"fieldtype\": \"Data\", \"label\": \"\\u4f9b\\u5e94\\u5546\\u540d\\u79f0 :\", \"is_labelled\": false, \"is_static\": false, \"print_hide\": 0, \"style\": {}, \"labelStyle\": {}, \"nextLine\": true, \"labelStyleEditing\": false, \"suffix\": null}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"KSrxqogFnu\", \"value\": \"\\u8054\\u7cfb\\u7535\\u8bdd\\uff1a\", \"fieldtype\": \"StaticText\", \"is_static\": true, \"is_labelled\": false, \"nextLine\": false, \"parseJinja\": false, \"style\": {}, \"labelStyleEditing\": false}, {\"doctype\": \"Address\", \"parentField\": \"supplier_address\", \"fieldname\": \"phone\", \"value\": \"{{ supplier_address.phone }}\", \"fieldtype\": \"Data\", \"label\": \"Phone :\", \"is_labelled\": false, \"is_static\": false, \"print_hide\": 0, \"style\": {}, \"labelStyle\": {}, \"nextLine\": true, \"labelStyleEditing\": false, \"suffix\": null}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"jPstiEtGIx\", \"value\": \"\\u5730\\u5740\\uff1a\", \"fieldtype\": \"StaticText\", \"is_static\": true, \"is_labelled\": false, \"nextLine\": false, \"parseJinja\": false, \"style\": {}, \"labelStyleEditing\": false}, {\"doctype\": \"Address\", \"parentField\": \"supplier_address\", \"fieldname\": \"address_line1\", \"value\": \"{{ supplier_address.address_line1 }}\", \"fieldtype\": \"Data\", \"label\": \"Address Line 1 :\", \"is_labelled\": false, \"is_static\": false, \"print_hide\": 0, \"style\": {}, \"labelStyle\": {}, \"nextLine\": true, \"labelStyleEditing\": false, \"suffix\": null}], \"selectedDynamicText\": null, \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": false, \"startX\": 10.8134765625, \"startY\": 10.059516906738281, \"pageX\": 468.8042755126953, \"pageY\": 200.15538787841797, \"width\": 333.7328796386719, \"height\": 94.56945419311523, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"lineHeight\": 1.7, \"fontFamily\": \"Inter\", \"fontSize\": \"13px\", \"zIndex\": 0}, \"labelStyle\": {}, \"classes\": [], \"childrens\": [], \"isDynamicHeight\": true, \"heightType\": \"auto\"}], \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": true, \"startX\": 403, \"startY\": 120.44941711425781, \"pageX\": 721, \"pageY\": 269, \"width\": 358.0171375274658, \"height\": 118.5573959350586, \"styleEditMode\": \"main\", \"style\": {\"zIndex\": 0}, \"classes\": [], \"isElementOverlapping\": true, \"printY\": 22.543430175781225}, {\"id\": \"fixVJLgjOO\", \"type\": \"text\", \"content\": \"\", \"contenteditable\": false, \"isDynamic\": true, \"isFixedSize\": true, \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"JaxnbnWgWE\", \"value\": \"&nbsp; &nbsp; \\u6c22\\u5408\\u79d1\\u6280(\\u5e7f\\u5dde)\\u6709\\u9650\\u516c\\u53f8\\uff08\\u4ee5\\u4e0b\\u7b80\\u79f0\\u201d\\u7532\\u65b9\\u201c\\uff09\\u4e0e\", \"fieldtype\": \"StaticText\", \"is_static\": true, \"is_labelled\": false, \"nextLine\": false, \"parseJinja\": false, \"style\": {}, \"labelStyleEditing\": false}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"supplier_name\", \"value\": \"\\u6df1\\u5733\\u5e02\\u5174\\u5b9e\\u4e1a\\u6709\\u9650\\u516c\\u53f8\", \"fieldtype\": \"Data\", \"label\": \"Supplier Name :\", \"is_labelled\": false, \"is_static\": false, \"print_hide\": 0, \"style\": {}, \"labelStyle\": {}, \"nextLine\": false, \"labelStyleEditing\": false, \"suffix\": null}, {\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"lrIyUfQBVV\", \"value\": \"\\uff08\\u4ee5\\u4e0b\\u7b80\\u79f0\\u201d\\u4e59\\u65b9\\u201c\\uff09\\u7ecf\\u8fc7\\u53cb\\u597d\\u534f\\u5546\\uff0c\\u5728\\u76f8\\u4e92\\u4fe1\\u4efb\\u3001\\u76f8\\u4e92\\u5c0a\\u91cd\\u548c\\u4e92\\u60e0\\u4e92\\u5229\\u7684\\u57fa\\u7840\\u4e0a\\uff0c\\u53cc\\u65b9\\u8fbe\\u6210\\u5982\\u4e0b\\u91c7\\u8d2d\\u534f\\u8bae\\uff1a\", \"fieldtype\": \"StaticText\", \"is_static\": true, \"is_labelled\": false, \"nextLine\": false, \"parseJinja\": false, \"style\": {}, \"labelStyleEditing\": false}], \"selectedDynamicText\": null, \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": false, \"startX\": 27.430511474609375, \"startY\": 250.42855834960938, \"pageX\": 406.047607421875, \"pageY\": 333.4285583496094, \"width\": 732.6244297027588, \"height\": 46.444461822509766, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"lineHeight\": 1.6, \"fontSize\": \"13px\", \"zIndex\": 0}, \"labelStyle\": {}, \"classes\": [], \"isDynamicHeight\": false, \"isElementOverlapping\": false, \"printY\": 152.5225714111328, \"heightType\": \"fixed\"}, {\"id\": \"lZOOsabTMO\", \"type\": \"table\", \"isDraggable\": true, \"isResizable\": true, \"isDropZone\": false, \"table\": {\"fieldname\": \"items\", \"fieldtype\": \"Table\", \"label\": \"Items\", \"options\": \"Purchase Order Item\", \"print_hide\": 0}, \"columns\": [{\"id\": 0, \"label\": \"\\u5e8f\\u53f7\", \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"idx\", \"value\": 1, \"fieldtype\": \"Line Number\", \"label\": \"No\", \"is_labelled\": false, \"is_static\": false, \"style\": {}, \"tableName\": \"items\", \"labelStyle\": {}, \"nextLine\": false, \"suffix\": null}], \"selectedDynamicText\": null, \"style\": {}, \"applyStyleToHeader\": false, \"x\": 178, \"w\": 49.989585876464844, \"width\": 5.482490938790463, \"DOMRef\": {}}, {\"id\": 1, \"label\": \"\\u7269\\u6599\\u7f16\\u53f7\", \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"item_code\", \"options\": \"Item\", \"value\": \"<a href=\\\"/app/item/9000001\\\" data-doctype=\\\"Item\\\" data-name=\\\"9000001\\\" data-value=\\\"9000001\\\">9000001</a>\", \"fieldtype\": \"Link\", \"label\": \"Item Code\", \"is_labelled\": false, \"is_static\": false, \"print_hide\": 0, \"style\": {}, \"tableName\": \"items\", \"labelStyle\": {}, \"nextLine\": false, \"suffix\": null}], \"selectedDynamicText\": null, \"style\": {}, \"applyStyleToHeader\": false, \"x\": 277, \"w\": 98.28125, \"width\": 9.667853180165515, \"DOMRef\": {}}, {\"id\": 2, \"label\": \"\\u4ea7\\u54c1\\u540d\\u79f0\", \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"item_name\", \"value\": \"OPP\\u80f6\\u888b\", \"fieldtype\": \"Data\", \"label\": \"Item Name\", \"suffix\": null, \"is_labelled\": false, \"is_static\": false, \"print_hide\": 1, \"style\": {}, \"tableName\": \"items\", \"labelStyle\": {}, \"nextLine\": false}], \"selectedDynamicText\": null, \"x\": 424, \"w\": 147.89584350585938, \"style\": {}, \"applyStyleToHeader\": false, \"width\": 13.908170941882005, \"DOMRef\": {}}, {\"id\": 3, \"label\": \"\\u5355\\u4f4d\", \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"uom\", \"options\": \"UOM\", \"value\": \"<a href=\\\"/app/uom/%E4%B8%AA\\\" data-doctype=\\\"UOM\\\" data-name=\\\"\\u4e2a\\\" data-value=\\\"\\u4e2a\\\">\\u4e2a</a>\", \"fieldtype\": \"Link\", \"label\": \"UOM\", \"is_labelled\": false, \"is_static\": false, \"print_hide\": 0, \"style\": {}, \"tableName\": \"items\", \"labelStyle\": {}, \"nextLine\": false, \"suffix\": null}], \"selectedDynamicText\": null, \"x\": 484, \"w\": 51.59375, \"style\": {}, \"applyStyleToHeader\": false, \"width\": 6.223273168595617, \"DOMRef\": {}}, {\"id\": 4, \"label\": \"\\u6570\\u91cf\", \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"qty\", \"value\": \"30,000\", \"fieldtype\": \"Float\", \"label\": \"Quantity\", \"is_labelled\": false, \"is_static\": false, \"print_hide\": 0, \"style\": {}, \"tableName\": \"items\", \"labelStyle\": {}, \"nextLine\": false, \"suffix\": null}], \"selectedDynamicText\": null, \"style\": {}, \"applyStyleToHeader\": false, \"width\": 6.118181250381121, \"DOMRef\": {}}, {\"id\": 5, \"label\": \"\\u5355\\u4ef7\\uff08\\u542b\\u7a0e\\uff09\", \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"rate\", \"options\": \"currency\", \"value\": \"\\u4eba\\u6c11\\u5e01 0.23\", \"fieldtype\": \"Currency\", \"label\": \"Rate\", \"is_labelled\": false, \"is_static\": false, \"print_hide\": 0, \"style\": {}, \"tableName\": \"items\", \"labelStyle\": {}, \"nextLine\": false, \"labelStyleEditing\": false, \"suffix\": null}], \"selectedDynamicText\": null, \"style\": {}, \"applyStyleToHeader\": false, \"x\": 647, \"w\": 121.09375, \"width\": 13.25271400604975, \"DOMRef\": {}}, {\"id\": 6, \"label\": \"\\u603b\\u91d1\\u989d\\uff08\\u542b\\u7a0e\\uff09\", \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"amount\", \"options\": \"currency\", \"value\": \"\\u4eba\\u6c11\\u5e01 6,900.00\", \"fieldtype\": \"Currency\", \"label\": \"Amount\", \"is_labelled\": false, \"is_static\": false, \"print_hide\": 0, \"style\": {}, \"tableName\": \"items\", \"labelStyle\": {}, \"nextLine\": false, \"suffix\": null}], \"selectedDynamicText\": null, \"style\": {}, \"applyStyleToHeader\": false, \"x\": 779, \"w\": 142.6979217529297, \"width\": 17.8825335477815, \"DOMRef\": {}}, {\"id\": 7, \"label\": \"\\u9700\\u6c42\\u65e5\\u671f\", \"dynamicContent\": [{\"doctype\": \"\", \"parentField\": \"\", \"fieldname\": \"schedule_date\", \"value\": \"2024-04-30\", \"fieldtype\": \"Date\", \"label\": \"Required By\", \"is_labelled\": false, \"is_static\": false, \"print_hide\": 1, \"style\": {}, \"tableName\": \"items\", \"labelStyle\": {}, \"nextLine\": false, \"suffix\": null}], \"selectedDynamicText\": null, \"style\": {}, \"applyStyleToHeader\": false, \"x\": 1121, \"w\": 81.48809814453125, \"width\": 10.813933673119378, \"DOMRef\": {}}], \"PreviewRowNo\": 1, \"selectedDynamicText\": null, \"startX\": 22.389150303953123, \"startY\": 303.9754640197754, \"pageX\": 229.85711669921875, \"pageY\": 445.8154640197754, \"width\": 747.6453009060128, \"height\": 526.0931368902859, \"styleEditMode\": \"main\", \"labelDisplayStyle\": \"standard\", \"style\": {\"fontSize\": \"13px\", \"zIndex\": 0}, \"labelStyle\": {}, \"headerStyle\": {}, \"classes\": [], \"isPrimaryTable\": true, \"altStyle\": {}, \"selectedColumn\": null, \"isDynamicHeight\": true, \"isElementOverlapping\": false, \"printY\": 206.06947708129883, \"heightType\": \"auto\"}], \"isDropZone\": true}]", "print_designer": 1, "print_designer_print_format": "{\"header\":[{\"id\":\"DEisFcNaPU\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"JFEWXtcZHK\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"SVaqdYKtDT\",\"type\":\"image\",\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"isDynamic\":false,\"image\":{\"name\":\"7097bbd446\",\"file_name\":\"hh2.png\",\"file_url\":\"/files/hh2.png\",\"modified\":\"2024-01-11 22:47:29.733595\"},\"startX\":3.333,\"startY\":3.333,\"pageX\":126.33329772949219,\"pageY\":111.33332824707031,\"width\":232.667,\"height\":55.68,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[],\"isElementOverlapping\":true},{\"id\":\"OzCcqGxsxB\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"Company\",\"parentField\":\"company\",\"fieldname\":\"company_name\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Company :\",\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true,\"labelStyleEditing\":false,\"suffix\":null}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":277.667,\"startY\":9,\"pageX\":399.3333435058594,\"pageY\":142.99998474121094,\"width\":325.333,\"height\":38.667,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontFamily\":\"Fira Sans\",\"fontWeight\":\"400\",\"fontSize\":\"25px\"},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false,\"isElementOverlapping\":true},{\"id\":\"yrqEZCqOBY\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"ExtRwxlMrQ\",\"value\":\"采购单号:\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{},\"labelStyleEditing\":false},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"name\",\"value\":\"\",\"fieldtype\":\"Document\",\"label\":\"编号 :\",\"is_labelled\":false,\"is_static\":false,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false,\"suffix\":null}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":569.303,\"startY\":37.667,\"pageX\":749.37890625,\"pageY\":176.44442749023438,\"width\":190.885,\"height\":18.944,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"14px\"},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false,\"isElementOverlapping\":true},{\"id\":\"ftQjbsurMX\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"FUXOuDQjpc\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"aSiJeqcrOG\",\"value\":\"采 购 合 同\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{},\"labelStyleEditing\":false}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":321.47314453125,\"startY\":1.6518173217773438,\"pageX\":398.8570556640625,\"pageY\":237.22323989868164,\"width\":139.625,\"height\":28.857112884521484,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"backgroundColor\":\"#cfc8c8\",\"fontSize\":\"25px\"},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false}],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":28.384,\"startY\":58.762,\"pageX\":113,\"pageY\":196.52378845214844,\"width\":732.648,\"height\":34.317,\"styleEditMode\":\"main\",\"style\":{\"backgroundColor\":\"#cfc8c8\",\"borderTopStyle\":\"hidden\",\"borderBottomStyle\":\"hidden\",\"borderLeftStyle\":\"hidden\",\"borderRightStyle\":\"hidden\"},\"classes\":[],\"isElementOverlapping\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":793.701,\"height\":93.079,\"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\":93.07937622070312,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"]}],\"body\":[{\"id\":\"SpcyjANaja\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"evhuOnOFto\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"SOUmsrCEHI\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"hOvcScctfD\",\"value\":\"下单日期:\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{},\"labelStyleEditing\":false},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"transaction_date\",\"value\":\"\",\"fieldtype\":\"Date\",\"label\":\"下单日期 :\",\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false,\"suffix\":null}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":571.486,\"startY\":3.618,\"pageX\":526.3333129882812,\"pageY\":268.52381896972656,\"width\":204.542,\"height\":17.389,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false,\"isElementOverlapping\":false}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":793.701,\"height\":21.007,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":97.90598693847659,\"pageX\":0,\"pageY\":97.90598693847659,\"width\":793.701,\"height\":21.006660308837866,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"]},{\"id\":\"UvNjyOiqsP\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"uNEsCbLGAh\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"tjyHsfAHvk\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"FUukPfRlyl\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"NwyWpyEpVo\",\"value\":\"甲方(需方):\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{},\"labelStyleEditing\":false},{\"doctype\":\"Company\",\"parentField\":\"company\",\"fieldname\":\"company_name\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Company :\",\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true,\"labelStyleEditing\":false,\"suffix\":null},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"eueUxeSChh\",\"value\":\"联系电话:\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{},\"labelStyleEditing\":false},{\"doctype\":\"Company\",\"parentField\":\"company\",\"fieldname\":\"phone_no\",\"options\":\"Phone\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Phone No :\",\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true,\"suffix\":null,\"labelStyleEditing\":false},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"mJjfsADnKt\",\"value\":\"address:&nbsp;\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{},\"labelStyleEditing\":false}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":16.979156494140625,\"startY\":7.648857116699219,\"pageX\":102.3809814453125,\"pageY\":178.27379608154297,\"width\":343.0555725097656,\"height\":100.4453125,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"lineHeight\":2,\"fontSize\":\"13px\"},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":true}],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":28.387,\"startY\":1.537,\"pageX\":69.860107421875,\"pageY\":268.454345703125,\"width\":373.085,\"height\":118.557,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[],\"isElementOverlapping\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":403,\"height\":120.094,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true},{\"id\":\"pckDbarsYR\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"JMBFlDVIQK\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"iZLidqYSrt\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"CLAXgXsDdC\",\"value\":\"乙方(供方):\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{},\"labelStyleEditing\":false,\"labelStyle\":{}},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"supplier_name\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"供应商名称 :\",\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true,\"labelStyleEditing\":false,\"suffix\":null},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"KSrxqogFnu\",\"value\":\"联系电话:\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{},\"labelStyleEditing\":false},{\"doctype\":\"Address\",\"parentField\":\"supplier_address\",\"fieldname\":\"phone\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Phone :\",\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true,\"labelStyleEditing\":false,\"suffix\":null},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"jPstiEtGIx\",\"value\":\"地址:\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{},\"labelStyleEditing\":false},{\"doctype\":\"Address\",\"parentField\":\"supplier_address\",\"fieldname\":\"address_line1\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Address Line 1 :\",\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true,\"labelStyleEditing\":false,\"suffix\":null}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":10.8134765625,\"startY\":10.059516906738281,\"pageX\":468.8042755126953,\"pageY\":200.15538787841797,\"width\":333.7328796386719,\"height\":94.56945419311523,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"lineHeight\":1.7,\"fontFamily\":\"Inter\",\"fontSize\":\"13px\"},\"labelStyle\":{},\"classes\":[],\"childrens\":[],\"isDynamicHeight\":true}],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":0,\"startY\":1.537,\"pageX\":721,\"pageY\":269,\"width\":358.017,\"height\":118.557,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[],\"isElementOverlapping\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":403,\"startY\":0,\"pageX\":403,\"pageY\":0,\"width\":390.701,\"height\":120.094,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":118.91264724731445,\"pageX\":0,\"pageY\":118.91264724731445,\"width\":793.701,\"height\":120.09416580200195,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"]},{\"id\":\"qjUGPbokBr\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"UbtDQsPeIY\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"fixVJLgjOO\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"JaxnbnWgWE\",\"value\":\"&nbsp; &nbsp; Hynhe tech co, ltd.(以下简称”甲方“)与\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{},\"labelStyleEditing\":false},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"supplier_name\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Supplier Name :\",\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false,\"suffix\":null},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"lrIyUfQBVV\",\"value\":\"(以下简称”乙方“)经过友好协商,在相互信任、相互尊重和互惠互利的基础上,双方达成如下采购协议:\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{},\"labelStyleEditing\":false}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":27.431,\"startY\":11.422,\"pageX\":406.047607421875,\"pageY\":333.4285583496094,\"width\":732.624,\"height\":46.444,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"lineHeight\":1.6,\"fontSize\":\"13px\"},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false,\"isElementOverlapping\":false}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":793.701,\"height\":57.866,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":239.0068130493164,\"pageX\":0,\"pageY\":239.0068130493164,\"width\":793.701,\"height\":57.866207122802734,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"]},{\"id\":\"ewgrWcjaRd\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"YrWadsATWv\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"lZOOsabTMO\",\"type\":\"table\",\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"table\":{\"fieldname\":\"items\",\"fieldtype\":\"Table\",\"label\":\"Items\",\"options\":\"Purchase Order Item\",\"print_hide\":0},\"columns\":[{\"id\":0,\"label\":\"序号\",\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"idx\",\"value\":\"\",\"fieldtype\":\"Line Number\",\"label\":\"No\",\"is_labelled\":false,\"is_static\":false,\"style\":{},\"tableName\":\"items\",\"labelStyle\":{},\"nextLine\":false,\"suffix\":null}],\"selectedDynamicText\":null,\"style\":{},\"applyStyleToHeader\":false,\"x\":178,\"w\":49.989585876464844,\"width\":5.482490938790463},{\"id\":1,\"label\":\"物料编号\",\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"item_code\",\"options\":\"Item\",\"value\":\"\",\"fieldtype\":\"Link\",\"label\":\"Item Code\",\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"tableName\":\"items\",\"labelStyle\":{},\"nextLine\":false,\"suffix\":null}],\"selectedDynamicText\":null,\"style\":{},\"applyStyleToHeader\":false,\"x\":277,\"w\":98.28125,\"width\":9.667853180165515},{\"id\":2,\"label\":\"产品名称\",\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"item_name\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Item Name\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":1,\"style\":{},\"tableName\":\"items\",\"labelStyle\":{},\"nextLine\":false}],\"selectedDynamicText\":null,\"x\":424,\"w\":147.89584350585938,\"style\":{},\"applyStyleToHeader\":false,\"width\":13.908170941882005},{\"id\":3,\"label\":\"单位\",\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"uom\",\"options\":\"UOM\",\"value\":\"\",\"fieldtype\":\"Link\",\"label\":\"UOM\",\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"tableName\":\"items\",\"labelStyle\":{},\"nextLine\":false,\"suffix\":null}],\"selectedDynamicText\":null,\"x\":484,\"w\":51.59375,\"style\":{},\"applyStyleToHeader\":false,\"width\":6.223273168595617},{\"id\":4,\"label\":\"数量\",\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"qty\",\"value\":\"\",\"fieldtype\":\"Float\",\"label\":\"Quantity\",\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"tableName\":\"items\",\"labelStyle\":{},\"nextLine\":false,\"suffix\":null}],\"selectedDynamicText\":null,\"style\":{},\"applyStyleToHeader\":false,\"width\":6.118181250381121},{\"id\":5,\"label\":\"单价(含税)\",\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"rate\",\"options\":\"currency\",\"value\":\"\",\"fieldtype\":\"Currency\",\"label\":\"Rate\",\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"tableName\":\"items\",\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false,\"suffix\":null}],\"selectedDynamicText\":null,\"style\":{},\"applyStyleToHeader\":false,\"x\":647,\"w\":121.09375,\"width\":13.25271400604975},{\"id\":6,\"label\":\"总金额(含税)\",\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"amount\",\"options\":\"currency\",\"value\":\"\",\"fieldtype\":\"Currency\",\"label\":\"Amount\",\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"tableName\":\"items\",\"labelStyle\":{},\"nextLine\":false,\"suffix\":null}],\"selectedDynamicText\":null,\"style\":{},\"applyStyleToHeader\":false,\"x\":779,\"w\":142.6979217529297,\"width\":17.8825335477815},{\"id\":7,\"label\":\"需求日期\",\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"schedule_date\",\"value\":\"\",\"fieldtype\":\"Date\",\"label\":\"Required By\",\"is_labelled\":false,\"is_static\":false,\"print_hide\":1,\"style\":{},\"tableName\":\"items\",\"labelStyle\":{},\"nextLine\":false,\"suffix\":null}],\"selectedDynamicText\":null,\"style\":{},\"applyStyleToHeader\":false,\"x\":1121,\"w\":81.48809814453125,\"width\":10.813933673119378}],\"PreviewRowNo\":1,\"selectedDynamicText\":null,\"startX\":22.389,\"startY\":7.102,\"pageX\":229.85711669921875,\"pageY\":445.8154640197754,\"width\":747.645,\"height\":144.078,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"13px\"},\"labelStyle\":{},\"headerStyle\":{},\"classes\":[],\"isPrimaryTable\":true,\"altStyle\":{},\"selectedColumn\":null,\"isDynamicHeight\":true,\"isElementOverlapping\":false}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":793.701,\"height\":151.18,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"isDynamicHeight\":true,\"relativeColumn\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":296.87302017211914,\"pageX\":0,\"pageY\":296.87302017211914,\"width\":793.701,\"height\":151.17995573794218,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"],\"isDynamicHeight\":true},{\"id\":\"WFeIruXvSA\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"cTbTOkWLuP\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"aCGmrgWYWc\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"khpdNPdmSU\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"total_qty\",\"value\":\"\",\"fieldtype\":\"Float\",\"label\":\"总数量:\",\"is_labelled\":true,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true,\"labelStyleEditing\":true,\"suffix\":null}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":31.349227905273438,\"startY\":6.5416259765625,\"pageX\":206.90481567382812,\"pageY\":565.3333435058594,\"width\":142.29868125915527,\"height\":25.166667938232422,\"styleEditMode\":\"label\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{\"fontSize\":\"13px\"},\"classes\":[],\"childrens\":[],\"isDynamicHeight\":true},{\"id\":\"YOdDeTfNfy\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":false,\"dynamicContent\":[],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":111.66665649414062,\"startY\":14.99481201171875,\"pageX\":231,\"pageY\":488,\"width\":2,\"height\":23,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false},{\"id\":\"YPheePIled\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":false,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"HVOeUThMSd\",\"value\":\"汇总;\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{}},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"grand_total\",\"options\":\"currency\",\"value\":\"\",\"fieldtype\":\"Currency\",\"label\":\"Grand Total :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true,\"labelStyleEditing\":false}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":215.33331298828125,\"startY\":6.5416259765625,\"pageX\":567.3333129882812,\"pageY\":361.9047546386719,\"width\":130.8854217529297,\"height\":23.916667938232422,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"13px\"},\"labelStyle\":{},\"isDynamicHeight\":true,\"classes\":[]},{\"id\":\"EordLyIEit\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":false,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"in_words\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"In Words :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":1,\"style\":{},\"labelStyle\":{},\"nextLine\":true,\"labelStyleEditing\":false}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":485.47613525390625,\"startY\":6.5416259765625,\"pageX\":837.4761352539062,\"pageY\":361.8571472167969,\"width\":147,\"height\":23.916667938232422,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"13px\"},\"labelStyle\":{},\"isDynamicHeight\":true,\"classes\":[]}],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":21.429,\"startY\":12.095,\"pageX\":148.09527587890625,\"pageY\":388.4761657714844,\"width\":748.61,\"height\":36.664,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[],\"isElementOverlapping\":false}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":793.701,\"height\":48.759,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":448.0529759100613,\"pageX\":0,\"pageY\":448.0529759100613,\"width\":793.701,\"height\":48.75922135556368,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"]},{\"id\":\"fHIQiAyBjF\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"xldRTWdAzV\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"tGygAdrSjk\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"Terms and Conditions\",\"parentField\":\"tc_name\",\"fieldname\":\"terms\",\"value\":\"\",\"fieldtype\":\"Text Editor\",\"label\":\"Terms and Conditions :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false,\"spanRef\":null}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":27.432,\"startY\":16.505,\"pageX\":361.3809814453125,\"pageY\":358.206298828125,\"width\":731.68,\"height\":52.917,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"13px\"},\"labelStyle\":{},\"isDynamicHeight\":true,\"classes\":[],\"isElementOverlapping\":false}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":793.701,\"height\":69.422,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"isDynamicHeight\":true,\"relativeColumn\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":496.812197265625,\"pageX\":0,\"pageY\":496.812197265625,\"width\":793.701,\"height\":69.42176574707031,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"],\"isDynamicHeight\":true},{\"id\":\"PDJpRGCoVN\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"EQABFbMwTu\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"nbrpztUBSi\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"Company\",\"parentField\":\"company\",\"fieldname\":\"company_name\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Company :\",\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true,\"labelStyleEditing\":false,\"suffix\":null},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"ZWxHXBEaiJ\",\"value\":\"签字及盖章:\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":true,\"parseJinja\":false,\"style\":{},\"labelStyleEditing\":false},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"qXPjMQxPjQ\",\"value\":\"日期:\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{},\"labelStyleEditing\":false},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"transaction_date\",\"value\":\"\",\"fieldtype\":\"Date\",\"label\":\"Date :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true,\"labelStyleEditing\":false}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":37.635,\"startY\":36.226,\"pageX\":291.634765625,\"pageY\":116.34909057617188,\"width\":334.194,\"height\":88.209,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"lineHeight\":2,\"fontSize\":\"13px\"},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false,\"isElementOverlapping\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":445.871,\"height\":125.006,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true},{\"id\":\"XBJeqNliTD\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"dUMFVlkMGd\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"supplier_name\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Supplier Name :\",\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true,\"labelStyleEditing\":false,\"suffix\":null},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"xZALdLYFHY\",\"value\":\"<span style=\\\"letter-spacing: 0.28px;\\\" _msttexthash=\\\"26459160\\\" _msthash=\\\"7040\\\">签字及盖章:</span>\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":true,\"parseJinja\":false,\"style\":{\"lineHeight\":2.5},\"labelStyleEditing\":false},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"ERBwZJPywz\",\"value\":\"日期:\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":true,\"parseJinja\":false,\"style\":{}}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":0,\"startY\":35.603,\"pageX\":743.5374755859375,\"pageY\":130.83725357055664,\"width\":306.556,\"height\":89.403,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"lineHeight\":2,\"fontSize\":\"13px\"},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false,\"isElementOverlapping\":false}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":445.871,\"startY\":0,\"pageX\":445.87078857421875,\"pageY\":0,\"width\":347.83,\"height\":125.006,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":566.2339630126953,\"pageX\":0,\"pageY\":566.2339630126953,\"width\":793.701,\"height\":125.0062255859375,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"]}],\"footer\":[{\"id\":\"NPvZTRCFMd\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"AuyksMnLfc\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"nnuaTEcxGg\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"date\",\"value\":\"\",\"fieldtype\":\"Document\",\"label\":\"打印时间 :\",\"is_labelled\":true,\"is_static\":false,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false,\"suffix\":null},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"time\",\"value\":\"\",\"fieldtype\":\"Document\",\"label\":\"Print Time :\",\"is_labelled\":false,\"is_static\":false,\"style\":{},\"labelStyle\":{},\"nextLine\":true,\"suffix\":null,\"labelStyleEditing\":false}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":4.333,\"startY\":2.038,\"pageX\":173.6666717529297,\"pageY\":1205.1875610351562,\"width\":217.368,\"height\":22.444,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false,\"isElementOverlapping\":false}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":369.333,\"height\":24.483,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true},{\"id\":\"ixPDCYdjBz\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"hHoKoEkktm\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"page\",\"value\":\"\",\"fieldtype\":\"Document\",\"label\":\"Current Page :\",\"is_labelled\":false,\"is_static\":false,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"suffix\":null},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"LCfpfGvlBT\",\"value\":\"/\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{},\"labelStyleEditing\":false},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"topage\",\"value\":\"\",\"fieldtype\":\"Document\",\"label\":\"Total Pages :\",\"is_labelled\":false,\"is_static\":false,\"style\":{},\"labelStyle\":{},\"nextLine\":true,\"suffix\":null,\"labelStyleEditing\":false}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":0,\"startY\":3.094,\"pageX\":399.3333435058594,\"pageY\":543.3333129882812,\"width\":47.944,\"height\":19.167,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"classes\":[],\"isDynamicHeight\":false,\"isElementOverlapping\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":369.333,\"startY\":0,\"pageX\":369.3333435058594,\"pageY\":0,\"width\":424.368,\"height\":24.483,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"relativeColumn\":true}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":1097.0314114264188,\"pageX\":0,\"pageY\":1097.0314114264188,\"width\":793.701,\"height\":24.4825045892062,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"]}]}", "print_designer_preview_img": "/private/files/print_designer-Purchase Order-preview.jpg", "print_designer_template_app": "print_designer", "doctype": "Print Format", "__onload": { "print_templates": [] } }

maharshivpatel commented 5 months ago

@qinyanwan as you can see i am able to generate pdf because google font is accessible here.

https://github.com/frappe/print_designer/assets/39730881/76f3cd79-1672-4d5d-ba69-9eb28c2ef0de

qinyanwan commented 5 months ago

@qinyanwan as you can see i am able to generate pdf because google font is accessible here.

Screen.Recording.2024-06-18.at.6.26.02.PM.mov

Thank you for clearing up my confusion! This issue has been bothering me for a long time.

qinyanwan commented 5 months ago

@qinyanwan as you can see i am able to generate pdf because google font is accessible here.

Screen.Recording.2024-06-18.at.6.26.02.PM.mov

I discovered that if I do not set a default print format and instead select the custom print format directly from Standard, the "Unable to generate PDF." error does not appear. Does this indicate that the issue is indeed not due to the inability to load Google fonts?