diff --git a/jey_erp/fixtures/print_format.json b/jey_erp/fixtures/print_format.json index abf2d94..716d8c7 100644 --- a/jey_erp/fixtures/print_format.json +++ b/jey_erp/fixtures/print_format.json @@ -1,44 +1,4 @@ [ - { - "absolute_value": 0, - "align_labels_right": 0, - "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; 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; 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; 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 { padding: 0px; margin: 0px; white-space: normal; user-select: none; min-width: 0px; min-height: 0px; color: rgb(0, 0, 0); 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; } .printTable tr:nth-child(2n) td { } :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; } :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; } :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; }", - "custom_format": 0, - "default_print_language": null, - "disabled": 0, - "doc_type": "Sales Invoice", - "docstatus": 0, - "doctype": "Print Format", - "font": null, - "font_size": 14, - "format_data": null, - "html": null, - "line_breaks": 0, - "margin_bottom": 15.0, - "margin_left": 15.0, - "margin_right": 15.0, - "margin_top": 15.0, - "modified": "2025-02-11 15:22:32.080196", - "module": "Accounts", - "name": "Test_221", - "page_number": "Hide", - "print_designer": 1, - "print_designer_after_table": null, - "print_designer_body": "[{\"type\":\"page\",\"index\":0,\"isDropZone\":true,\"childrens\":[{\"id\":\"KpIhQXLJvY\",\"type\":\"table\",\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"table\":{\"fieldname\":\"items\",\"fieldtype\":\"Table\",\"label\":\"Items\",\"options\":\"Sales Invoice Item\",\"print_hide\":0},\"columns\":[{\"id\":0,\"label\":\"No\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"idx\",\"fieldtype\":\"Int\",\"label\":\"No\",\"tableName\":\"items\",\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":1,\"label\":\"Item Və Nomer\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"item_code\",\"fieldtype\":\"Link\",\"label\":\"Item\",\"options\":\"Item\",\"print_hide\":0,\"is_virtual\":0,\"in_list_view\":1,\"tableName\":\"items\",\"value\":\"\"},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"idx\",\"fieldtype\":\"Line Number\",\"label\":\"No\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"style\":{},\"tableName\":\"items\",\"labelStyle\":{},\"nextLine\":false,\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":2,\"label\":\"Quantity\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"label\":\"Quantity\",\"options\":null,\"print_hide\":0,\"is_virtual\":0,\"in_list_view\":1,\"tableName\":\"items\",\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":3,\"label\":\"Rate\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"rate\",\"fieldtype\":\"Currency\",\"label\":\"Rate\",\"options\":\"currency\",\"print_hide\":0,\"is_virtual\":0,\"in_list_view\":1,\"tableName\":\"items\",\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":4,\"label\":\"Amount\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"amount\",\"fieldtype\":\"Currency\",\"label\":\"Amount\",\"options\":\"currency\",\"print_hide\":0,\"is_virtual\":0,\"in_list_view\":1,\"tableName\":\"items\",\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":5,\"label\":\"Warehouse\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"warehouse\",\"fieldtype\":\"Link\",\"label\":\"Warehouse\",\"options\":\"Warehouse\",\"print_hide\":1,\"is_virtual\":0,\"in_list_view\":1,\"tableName\":\"items\",\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":6,\"label\":\"\",\"style\":{},\"applyStyleToHeader\":false,\"selectedDynamicText\":null}],\"PreviewRowNo\":1,\"selectedColumn\":null,\"selectedDynamicText\":null,\"startX\":9,\"startY\":33,\"pageX\":250,\"pageY\":130,\"width\":774,\"height\":282,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"headerStyle\":{},\"altStyle\":{},\"heightType\":\"auto\",\"classes\":[],\"index\":0},{\"id\":\"iMwxuDsRpW\",\"type\":\"barcode\",\"barcodeFormat\":\"qrcode\",\"barcodeColor\":\"#000000\",\"barcodeBackgroundColor\":\"#ffffff\",\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"isDynamic\":true,\"value\":\"ACC-SINV-2024-00005\",\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"name\",\"value\":\"\",\"fieldtype\":\"Document\",\"is_labelled\":false,\"is_static\":false,\"style\":{},\"labelStyle\":{},\"spanRef\":null}],\"startX\":79,\"startY\":350,\"pageX\":321,\"pageY\":447,\"width\":333,\"height\":59,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[],\"index\":1,\"selectedDyanmicText\":null,\"selectedDynamicText\":null}],\"snapPoints\":[null,null],\"snapEdges\":[null,null,null,null],\"isDraggable\":false,\"isResizable\":true}]", - "print_designer_footer": "[{\"type\":\"page\",\"childrens\":[],\"firstPage\":true,\"oddPage\":true,\"evenPage\":true,\"lastPage\":true}]", - "print_designer_header": "[{\"type\":\"page\",\"childrens\":[],\"firstPage\":true,\"oddPage\":true,\"evenPage\":true,\"lastPage\":true}]", - "print_designer_preview_img": "/private/files/print_designer-test_221-preview.jpg", - "print_designer_print_format": "{\"header\":{\"firstPage\":[],\"oddPage\":[],\"evenPage\":[],\"lastPage\":[]},\"body\":[{\"type\":\"page\",\"index\":0,\"isDropZone\":true,\"childrens\":[{\"id\":\"ZCQWEOZaeu\",\"type\":\"rectangle\",\"DOMRef\":null,\"childrens\":[{\"id\":\"KpIhQXLJvY\",\"type\":\"table\",\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"table\":{\"fieldname\":\"items\",\"fieldtype\":\"Table\",\"label\":\"Items\",\"options\":\"Sales Invoice Item\",\"print_hide\":0},\"columns\":[{\"id\":0,\"label\":\"No\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"idx\",\"fieldtype\":\"Int\",\"label\":\"No\",\"tableName\":\"items\",\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":1,\"label\":\"Item Və Nomer\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"item_code\",\"fieldtype\":\"Link\",\"label\":\"Item\",\"options\":\"Item\",\"print_hide\":0,\"is_virtual\":0,\"in_list_view\":1,\"tableName\":\"items\",\"value\":\"\"},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"idx\",\"fieldtype\":\"Line Number\",\"label\":\"No\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"style\":{},\"tableName\":\"items\",\"labelStyle\":{},\"nextLine\":false,\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":2,\"label\":\"Quantity\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"label\":\"Quantity\",\"options\":null,\"print_hide\":0,\"is_virtual\":0,\"in_list_view\":1,\"tableName\":\"items\",\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":3,\"label\":\"Rate\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"rate\",\"fieldtype\":\"Currency\",\"label\":\"Rate\",\"options\":\"currency\",\"print_hide\":0,\"is_virtual\":0,\"in_list_view\":1,\"tableName\":\"items\",\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":4,\"label\":\"Amount\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"amount\",\"fieldtype\":\"Currency\",\"label\":\"Amount\",\"options\":\"currency\",\"print_hide\":0,\"is_virtual\":0,\"in_list_view\":1,\"tableName\":\"items\",\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":5,\"label\":\"Warehouse\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"warehouse\",\"fieldtype\":\"Link\",\"label\":\"Warehouse\",\"options\":\"Warehouse\",\"print_hide\":1,\"is_virtual\":0,\"in_list_view\":1,\"tableName\":\"items\",\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":6,\"label\":\"\",\"style\":{},\"applyStyleToHeader\":false,\"selectedDynamicText\":null}],\"PreviewRowNo\":1,\"selectedColumn\":null,\"selectedDynamicText\":null,\"startX\":9,\"startY\":33,\"pageX\":250,\"pageY\":130,\"width\":774,\"height\":282,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"headerStyle\":{},\"altStyle\":{},\"heightType\":\"auto\",\"classes\":[],\"index\":0}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":9,\"pageY\":0,\"width\":793.701,\"height\":315,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"],\"layoutType\":\"row\",\"heightType\":\"auto\"},{\"id\":\"yDTXlZUFiY\",\"type\":\"rectangle\",\"DOMRef\":null,\"childrens\":[{\"id\":\"iMwxuDsRpW\",\"type\":\"barcode\",\"barcodeFormat\":\"qrcode\",\"barcodeColor\":\"#000000\",\"barcodeBackgroundColor\":\"#ffffff\",\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"isDynamic\":true,\"value\":\"ACC-SINV-2024-00005\",\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"name\",\"value\":\"\",\"fieldtype\":\"Document\",\"is_labelled\":false,\"is_static\":false,\"style\":{},\"labelStyle\":{},\"spanRef\":null}],\"startX\":79,\"startY\":35,\"pageX\":321,\"pageY\":447,\"width\":333,\"height\":59,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[],\"index\":1,\"selectedDyanmicText\":null,\"selectedDynamicText\":null}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":315,\"pageX\":79,\"pageY\":315,\"width\":793.701,\"height\":94,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"],\"layoutType\":\"row\",\"heightType\":\"fixed\"}],\"snapPoints\":[null,null],\"snapEdges\":[null,null,null,null],\"isDraggable\":false,\"isResizable\":true}],\"footer\":{\"firstPage\":[],\"oddPage\":[],\"evenPage\":[],\"lastPage\":[]}}", - "print_designer_settings": "{\"page\":{\"height\":1122.52,\"width\":793.701,\"marginTop\":0,\"marginBottom\":0,\"marginLeft\":0,\"marginRight\":0,\"headerHeight\":0,\"footerHeight\":0,\"headerHeightWithMargin\":0,\"footerHeightWithMargin\":0,\"UOM\":\"mm\"},\"pdfPrintDPI\":96,\"globalStyles\":{\"staticText\":{\"isGlobalStyle\":true,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"type\":\"text\",\"isDynamic\":false,\"mainRuleSelector\":\".staticText\",\"style\":{\"display\":\"inline-block\",\"fontFamily\":\"Inter\",\"fontSize\":\"14px\",\"fontWeight\":400,\"color\":\"#000000\",\"textAlign\":\"left\",\"fontStyle\":\"normal\",\"textDecoration\":\"none\",\"textTransform\":\"none\",\"lineHeight\":1.25,\"letterSpacing\":\"0px\",\"contenteditable\":false,\"border\":\"none\",\"borderWidth\":\"0px\",\"borderColor\":\"#000000\",\"borderStyle\":\"solid\",\"borderRadius\":0,\"backgroundColor\":\"\",\"paddingTop\":\"0px\",\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"margin\":\"0px\",\"minWidth\":\"0px\",\"minHeight\":\"0px\",\"boxShadow\":\"none\",\"overflow\":\"hidden\",\"overflowWrap\":\"break-word\",\"whiteSpace\":\"normal\",\"userSelect\":\"none\",\"opacity\":1,\"zIndex\":1},\"mainCssRule\":{}},\"dynamicText\":{\"isGlobalStyle\":true,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"type\":\"text\",\"isDynamic\":true,\"mainRuleSelector\":\".dynamicText\",\"labelRuleSelector\":\".dynamicText .label-text\",\"style\":{\"display\":\"inline-block\",\"fontFamily\":\"Inter\",\"fontSize\":\"14px\",\"fontWeight\":400,\"color\":\"#000000\",\"textAlign\":\"left\",\"fontStyle\":\"normal\",\"textDecoration\":\"none\",\"textTransform\":\"none\",\"lineHeight\":1.25,\"letterSpacing\":\"0px\",\"contenteditable\":false,\"border\":\"none\",\"borderWidth\":\"0px\",\"borderColor\":\"#000000\",\"borderStyle\":\"solid\",\"borderRadius\":0,\"backgroundColor\":\"\",\"paddingTop\":\"0px\",\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"margin\":\"0px\",\"minWidth\":\"0px\",\"minHeight\":\"0px\",\"boxShadow\":\"none\",\"overflow\":\"hidden\",\"overflowWrap\":\"break-word\",\"whiteSpace\":\"normal\",\"userSelect\":\"none\",\"opacity\":1},\"labelStyle\":{\"fontFamily\":\"Inter\",\"fontSize\":\"14px\",\"fontWeight\":600,\"color\":\"#000000\",\"textAlign\":\"left\",\"fontStyle\":\"normal\",\"textDecoration\":\"none\",\"textTransform\":\"none\",\"lineHeight\":1.25,\"letterSpacing\":\"0px\",\"border\":\"none\",\"borderWidth\":\"0px\",\"borderColor\":\"#000000\",\"borderStyle\":\"solid\",\"borderRadius\":0,\"backgroundColor\":\"\",\"paddingTop\":\"0px\",\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"margin\":\"0px\",\"minWidth\":\"0px\",\"minHeight\":\"0px\",\"boxShadow\":\"none\",\"whiteSpace\":\"normal\",\"userSelect\":\"none\",\"opacity\":1,\"zIndex\":1},\"mainCssRule\":{},\"labelCssRule\":{}},\"rectangle\":{\"isGlobalStyle\":true,\"styleEditMode\":\"main\",\"type\":\"rectangle\",\"isDynamic\":false,\"mainRuleSelector\":\".rectangle\",\"style\":{\"paddingTop\":\"0px\",\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"margin\":\"0px\",\"whiteSpace\":\"normal\",\"userSelect\":\"none\",\"minWidth\":\"0px\",\"minHeight\":\"0px\",\"color\":\"#000000\",\"backgroundColor\":\"\",\"border\":\"1px solid black\",\"borderColor\":\"#000000\",\"borderStyle\":\"solid\",\"borderWidth\":\"1px\",\"boxSizing\":\"border-box\",\"outline\":\"none\",\"borderRadius\":0,\"boxShadow\":\"none\",\"opacity\":1,\"zIndex\":0},\"mainCssRule\":{}},\"image\":{\"isGlobalStyle\":true,\"styleEditMode\":\"main\",\"type\":\"image\",\"isDynamic\":false,\"mainRuleSelector\":\".image\",\"style\":{\"display\":\"block\",\"border\":\"none\",\"borderWidth\":\"0px\",\"borderColor\":\"#000000\",\"borderStyle\":\"solid\",\"borderRadius\":0,\"backgroundColor\":\"\",\"paddingTop\":\"0px\",\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"margin\":\"0px\",\"minWidth\":\"0px\",\"minHeight\":\"0px\",\"boxShadow\":\"none\",\"whiteSpace\":\"normal\",\"userSelect\":\"none\",\"objectFit\":\"scale-down\",\"objectPosition\":\"center center\",\"backgroundSize\":\"contain\",\"backgroundPosition\":\"center center\",\"backgroundRepeat\":\"no-repeat\",\"opacity\":1},\"mainCssRule\":{}},\"barcode\":{\"isGlobalStyle\":true,\"styleEditMode\":\"main\",\"type\":\"barcode\",\"isDynamic\":false,\"mainRuleSelector\":\".barcode\",\"style\":{\"display\":\"block\",\"border\":\"none\",\"borderWidth\":\"0px\",\"borderColor\":\"#000000\",\"borderStyle\":\"solid\",\"borderRadius\":0,\"backgroundColor\":\"\",\"paddingTop\":\"0px\",\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"margin\":\"0px\",\"minWidth\":\"0px\",\"minHeight\":\"0px\",\"boxShadow\":\"none\",\"whiteSpace\":\"normal\",\"userSelect\":\"none\",\"opacity\":1},\"mainCssRule\":{}},\"table\":{\"isGlobalStyle\":true,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"type\":\"table\",\"isDynamic\":true,\"mainRuleSelector\":\".printTable td\",\"headerRuleSelector\":\".printTable th\",\"altRuleSelector\":\".printTable tr:nth-child(even) td\",\"labelRuleSelector\":\".printTable .label-text\",\"style\":{\"fontFamily\":\"Inter\",\"fontSize\":\"10px\",\"fontWeight\":400,\"color\":\"#000000\",\"textAlign\":\"left\",\"fontStyle\":\"normal\",\"textDecoration\":\"none\",\"textTransform\":\"none\",\"lineHeight\":1.25,\"letterSpacing\":\"0px\",\"contenteditable\":false,\"border\":\"none\",\"borderWidth\":\"1px\",\"borderColor\":\"#000000\",\"borderStyle\":\"solid\",\"borderRadius\":0,\"backgroundColor\":\"#ffffff\",\"paddingTop\":\"10px\",\"paddingBottom\":\"10px\",\"paddingLeft\":\"10px\",\"paddingRight\":\"10px\",\"margin\":\"0px\",\"minWidth\":\"0px\",\"minHeight\":\"0px\",\"boxShadow\":\"none\",\"overflowWrap\":\"break-word\",\"whiteSpace\":\"normal\",\"userSelect\":\"none\",\"verticalAlign\":\"baseline\",\"opacity\":1},\"labelStyle\":{\"fontFamily\":\"Inter\",\"fontSize\":\"10px\",\"fontWeight\":600,\"color\":\"#000000\",\"textAlign\":\"left\",\"fontStyle\":\"normal\",\"textDecoration\":\"none\",\"textTransform\":\"none\",\"lineHeight\":1.25,\"letterSpacing\":\"0px\",\"border\":\"none\",\"borderWidth\":\"0px\",\"borderColor\":\"#000000\",\"borderStyle\":\"solid\",\"borderRadius\":0,\"backgroundColor\":\"#ffffff\",\"paddingTop\":\"0px\",\"paddingBottom\":\"0px\",\"paddingLeft\":\"0px\",\"paddingRight\":\"0px\",\"margin\":\"0px\",\"minWidth\":\"0px\",\"minHeight\":\"0px\",\"boxShadow\":\"none\",\"whiteSpace\":\"normal\",\"userSelect\":\"none\",\"opacity\":1,\"verticalAlign\":\"baseline\",\"zIndex\":1},\"headerStyle\":{\"fontFamily\":\"Inter\",\"fontSize\":\"11px\",\"fontWeight\":600,\"color\":\"#000000\",\"textAlign\":\"left\",\"fontStyle\":\"normal\",\"textDecoration\":\"none\",\"textTransform\":\"none\",\"lineHeight\":1.25,\"letterSpacing\":\"0px\",\"border\":\"none\",\"borderWidth\":\"1px\",\"borderColor\":\"#000000\",\"borderStyle\":\"solid\",\"borderRadius\":0,\"backgroundColor\":\"#ffffff\",\"paddingTop\":\"10px\",\"paddingBottom\":\"10px\",\"paddingLeft\":\"10px\",\"paddingRight\":\"10px\",\"margin\":\"0px\",\"minWidth\":\"0px\",\"minHeight\":\"0px\",\"boxShadow\":\"none\",\"whiteSpace\":\"normal\",\"userSelect\":\"none\",\"opacity\":1,\"zIndex\":1},\"altStyle\":{},\"mainCssRule\":{},\"labelCssRule\":{},\"headerCssRule\":{},\"altCssRule\":{}}},\"currentPageSize\":\"A4\",\"isHeaderFooterAuto\":true,\"currentDoc\":\"ACC-SINV-2024-00005\",\"textControlType\":\"dynamic\",\"currentFonts\":[\"Inter\"],\"printHeaderFonts\":null,\"printFooterFonts\":null,\"printBodyFonts\":{\"Inter\":{\"weight\":[400,600],\"italic\":[]}},\"userProvidedJinja\":\"\",\"schema_version\":\"1.3.0\"}", - "print_designer_template_app": "print_designer", - "print_format_builder": 0, - "print_format_builder_beta": 0, - "print_format_type": "Jinja", - "raw_commands": null, - "raw_printing": 0, - "show_section_headings": 0, - "standard": "Yes" - }, { "absolute_value": 0, "align_labels_right": 0, @@ -319,46 +279,6 @@ "show_section_headings": 0, "standard": "Yes" }, - { - "absolute_value": 0, - "align_labels_right": 0, - "css": null, - "custom_format": 0, - "default_print_language": "en", - "disabled": 0, - "doc_type": "Sales Invoice", - "docstatus": 0, - "doctype": "Print Format", - "font": null, - "font_size": 14, - "format_data": "[{\"fieldname\": \"print_heading_template\", \"fieldtype\": \"Custom HTML\", \"options\": \"
\\t\\t\\t\\t

Testt

{{ doc.name }}\\t\\t\\t\\t

\"}, {\"fieldtype\": \"Section Break\", \"label\": \"\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"customer_name\", \"print_hide\": 0, \"label\": \"Customer Name\"}, {\"fieldname\": \"tax_id\", \"print_hide\": 0, \"label\": \"Tax Id\"}, {\"fieldname\": \"company_tax_id\", \"print_hide\": 0, \"label\": \"Company Tax ID\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"posting_date\", \"print_hide\": 0, \"label\": \"Date\"}, {\"fieldname\": \"due_date\", \"print_hide\": 0, \"label\": \"Payment Due Date\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"is_consolidated\", \"print_hide\": 0, \"label\": \"Is Consolidated\"}, {\"fieldname\": \"update_billed_amount_in_sales_order\", \"print_hide\": 0, \"label\": \"Update Billed Amount in Sales Order\"}, {\"fieldname\": \"update_billed_amount_in_delivery_note\", \"print_hide\": 0, \"label\": \"Update Billed Amount in Delivery Note\"}, {\"fieldname\": \"is_debit_note\", \"print_hide\": 0, \"label\": \"Is Rate Adjustment Entry (Debit Note)\"}, {\"fieldtype\": \"Section Break\", \"label\": \"Accounting Dimensions\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"cost_center\", \"print_hide\": 0, \"label\": \"Cost Center\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldtype\": \"Section Break\", \"label\": \"Items\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"scan_barcode\", \"print_hide\": 0, \"label\": \"Scan Barcode\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"set_target_warehouse\", \"print_hide\": 0, \"label\": \"Set Target Warehouse\"}, {\"fieldtype\": \"Section Break\", \"label\": \"\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"items\", \"print_hide\": 0, \"label\": \"Items\", \"visible_columns\": [{\"fieldname\": \"has_item_scanned\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"item_code\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"description\", \"print_width\": \"200px\", \"print_hide\": 0}, {\"fieldname\": \"image\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"qty\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"stock_uom\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"uom\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"discount_amount\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"rate\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"amount\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"stock_uom_rate\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"grant_commission\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"asset\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"finance_book\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"discount_account\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"deferred_revenue_account\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"service_stop_date\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"enable_deferred_revenue\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"service_start_date\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"service_end_date\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"quality_inspection\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"pick_serial_and_batch\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"use_serial_batch_fields\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"serial_no\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"batch_no\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"project\", \"print_width\": \"\", \"print_hide\": 0}]}, {\"fieldtype\": \"Section Break\", \"label\": \"\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"total_qty\", \"print_hide\": 0, \"label\": \"Total Quantity\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"total\", \"print_hide\": 0, \"label\": \"Total\"}, {\"fieldtype\": \"Section Break\", \"label\": \"Taxes and Charges\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"incoterm\", \"print_hide\": 0, \"label\": \"Incoterm\"}, {\"fieldname\": \"named_place\", \"print_hide\": 0, \"label\": \"Named Place\"}, {\"fieldtype\": \"Section Break\", \"label\": \"\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"taxes\", \"print_hide\": 0, \"label\": \"Sales Taxes and Charges\", \"visible_columns\": [{\"fieldname\": \"charge_type\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"row_id\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"account_head\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"description\", \"print_width\": \"300px\", \"print_hide\": 0}, {\"fieldname\": \"included_in_paid_amount\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"cost_center\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"rate\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"account_currency\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"tax_amount\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"total\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"tax_amount_after_discount_amount\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"base_tax_amount\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"base_total\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"base_tax_amount_after_discount_amount\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"item_wise_tax_detail\", \"print_width\": \"\", \"print_hide\": 0}]}, {\"fieldtype\": \"Section Break\", \"label\": \"Totals\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"grand_total\", \"print_hide\": 0, \"label\": \"Grand Total\"}, {\"fieldname\": \"use_company_roundoff_cost_center\", \"print_hide\": 0, \"label\": \"Use Company default Cost Center for Round off\"}, {\"fieldname\": \"rounded_total\", \"print_hide\": 0, \"label\": \"Rounded Total\"}, {\"fieldname\": \"in_words\", \"print_hide\": 0, \"label\": \"In Words\"}, {\"fieldname\": \"disable_rounded_total\", \"print_hide\": 0, \"label\": \"Disable Rounded Total\"}, {\"fieldtype\": \"Section Break\", \"label\": \"Additional Discount\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"is_cash_or_non_trade_discount\", \"print_hide\": 0, \"label\": \"Is Cash or Non Trade Discount\"}, {\"fieldname\": \"additional_discount_account\", \"print_hide\": 0, \"label\": \"Discount Account\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldtype\": \"Section Break\", \"label\": \"Pricing Rules\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"pricing_rules\", \"print_hide\": 0, \"label\": \"Pricing Rule Detail\", \"visible_columns\": [{\"fieldname\": \"pricing_rule\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"item_code\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"margin_type\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"rate_or_discount\", \"print_width\": \"\", \"print_hide\": 0}, {\"fieldname\": \"rule_applied\", \"print_width\": \"\", \"print_hide\": 0}]}, {\"fieldtype\": \"Section Break\", \"label\": \"Advance Payments\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"allocate_advances_automatically\", \"print_hide\": 0, \"label\": \"Allocate Advances Automatically (FIFO)\"}, {\"fieldname\": \"only_include_allocated_payments\", \"print_hide\": 0, \"label\": \"Only Include Allocated Payments\"}, {\"fieldname\": \"get_advances\", \"print_hide\": 0, \"label\": \"Get Advances Received\"}, {\"fieldtype\": \"Section Break\", \"label\": \"Loyalty Points Redemption\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"loyalty_redemption_account\", \"print_hide\": 0, \"label\": \"Redemption Account\"}, {\"fieldname\": \"loyalty_redemption_cost_center\", \"print_hide\": 0, \"label\": \"Redemption Cost Center\"}, {\"fieldtype\": \"Section Break\", \"label\": \"Billing Address\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"address_display\", \"print_hide\": 0, \"label\": \"Address\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"contact_display\", \"print_hide\": 0, \"label\": \"Contact\"}, {\"fieldname\": \"contact_mobile\", \"print_hide\": 0, \"label\": \"Mobile No\"}, {\"fieldtype\": \"Section Break\", \"label\": \"Shipping Address\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"dispatch_address\", \"print_hide\": 0, \"label\": \"Dispatch Address\"}, {\"fieldtype\": \"Section Break\", \"label\": \"Payment Terms\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"ignore_default_payment_terms_template\", \"print_hide\": 0, \"label\": \"Ignore Default Payment Terms Template\"}, {\"fieldtype\": \"Section Break\", \"label\": \"Terms and Conditions\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"terms\", \"print_hide\": 0, \"label\": \"Terms and Conditions Details\"}, {\"fieldtype\": \"Section Break\", \"label\": \"Customer PO Details\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"po_date\", \"print_hide\": 0, \"label\": \"Customer's Purchase Order Date\"}, {\"fieldtype\": \"Section Break\", \"label\": \"Accounting Details\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"unrealized_profit_loss_account\", \"print_hide\": 0, \"label\": \"Unrealized Profit / Loss Account\"}, {\"fieldtype\": \"Section Break\", \"label\": \"Commission\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"amount_eligible_for_commission\", \"print_hide\": 0, \"label\": \"Amount Eligible for Commission\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldtype\": \"Section Break\", \"label\": \"Subscription\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"subscription\", \"print_hide\": 0, \"label\": \"Subscription\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"update_auto_repeat_reference\", \"print_hide\": 0, \"label\": \"Update Auto Repeat Reference\"}, {\"fieldtype\": \"Section Break\", \"label\": \"Additional Info\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"inter_company_invoice_reference\", \"print_hide\": 0, \"label\": \"Inter Company Invoice Reference\"}, {\"fieldname\": \"represents_company\", \"print_hide\": 0, \"label\": \"Represents Company\"}, {\"fieldtype\": \"Column Break\"}, {\"fieldname\": \"is_internal_customer\", \"print_hide\": 0, \"label\": \"Is Internal Customer\"}, {\"fieldname\": \"is_discounted\", \"print_hide\": 0, \"label\": \"Is Discounted\"}, {\"fieldname\": \"repost_required\", \"print_hide\": 0, \"label\": \"Repost Required\"}]", - "html": null, - "line_breaks": 0, - "margin_bottom": 15.0, - "margin_left": 15.0, - "margin_right": 15.0, - "margin_top": 15.0, - "modified": "2024-08-24 14:28:03.890086", - "module": "Taxes Az", - "name": "Test", - "page_number": "Hide", - "print_designer": 0, - "print_designer_after_table": null, - "print_designer_body": null, - "print_designer_footer": null, - "print_designer_header": null, - "print_designer_preview_img": null, - "print_designer_print_format": null, - "print_designer_settings": null, - "print_designer_template_app": null, - "print_format_builder": 0, - "print_format_builder_beta": 0, - "print_format_type": "Jinja", - "raw_commands": null, - "raw_printing": 0, - "show_section_headings": 0, - "standard": "Yes" - }, { "absolute_value": 0, "align_labels_right": 0,