frappe / print_designer

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

After Update V1.3.2 unable edit print format #292

Closed vijaygajera closed 1 week ago

vijaygajera commented 1 week ago

screen-capture (1).webm

After upgreding version 1.2 to 1.3.2 my existing print designer format can't load

PhantomKunai commented 1 week ago

@maharshivpatel Facing this same issue where the printformat just hangs. I am unable to even open console to see if theres any errors.

maharshivpatel commented 1 week ago

@PhantomKunai @vijaygajera can you please share your formats json.

PhantomKunai commented 1 week ago

@maharshivpatel The same one you provided yesterday. pd.json

maharshivpatel commented 1 week ago

@PhantomKunai basically when migrate ran for v.1.3.2 it changed something which is breaking the format so i need latest copy from clipboard so i can find what went wrong.

maharshivpatel commented 1 week ago

@vijaygajera

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

PhantomKunai commented 1 week ago

@maharshivpatel Another observation that I see. Adding this format in local -> inital hang but refreshing usually brings the format but in an editable state with image links broken. pd_local.json

Latest commit on local image

Adding this format in prod i.e. on frappe cloud -> Always hangs pd_frappe_cloud.json

Latest commit on frappe cloud image

I am including both here

PhantomKunai commented 1 week ago

image When page crashes after hang

maharshivpatel commented 1 week ago

@PhantomKunai both files work for me 😅

maharshivpatel commented 1 week ago

@vijaygajera would appreciate if you can share the format so i can debug the issue as soon as possible.

vijaygajera commented 1 week ago

{"name":"New Sales Invoice -2","creation":"2024-06-19 14:30:34.508082","modified":"2024-06-19 15:59:53.139385","modified_by":"Administrator","owner":"Administrator","docstatus":0,"idx":0,"doc_type":"Sales Invoice","module":"Accounts","standard":"No","custom_format":0,"disabled":0,"print_format_type":"Jinja","raw_printing":0,"margin_top":15,"margin_bottom":15,"margin_left":15,"margin_right":15,"align_labels_right":0,"show_section_headings":0,"line_breaks":0,"absolute_value":0,"font_size":14,"page_number":"Hide","css":":root { --scale-factor: 1.5px; --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; }@page { size: 210mm 297mm; margin: 0mm; } @page { size: 210mm 297mm; margin: 0mm; }","print_format_builder":0,"print_format_builder_beta":0,"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\":\"VM-2789\",\"textControlType\":\"dynamic\",\"currentFonts\":[\"Inter\"],\"printHeaderFonts\":null,\"printFooterFonts\":null,\"printBodyFonts\":{\"Inter\":{\"weight\":[400,600,700],\"italic\":[]}},\"userProvidedJinja\":\"\",\"schema_version\":\"1.3.0\"}","print_designer_header":"[{\"type\":\"page\",\"childrens\":[],\"firstPage\":true,\"oddPage\":true,\"evenPage\":true,\"lastPage\":true}]","print_designer_footer":"[{\"type\":\"page\",\"childrens\":[],\"firstPage\":true,\"oddPage\":true,\"evenPage\":true,\"lastPage\":true}]","print_designer_body":"[{\"type\":\"page\",\"index\":0,\"isDropZone\":true,\"childrens\":[{\"id\":\"QjfMCBTaob\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"Company\",\"parentField\":\"company\",\"fieldname\":\"company_name\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Company :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{\"fontWeight\":\"700\",\"fontSize\":\"20px\",\"lineHeight\":1.25},\"labelStyle\":{},\"nextLine\":true,\"labelStyleEditing\":false},{\"doctype\":\"Address\",\"parentField\":\"company_address\",\"fieldname\":\"address_line1\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Address Line 1 :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true},{\"doctype\":\"Address\",\"parentField\":\"company_address\",\"fieldname\":\"address_line2\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Address Line 2 :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false},{\"doctype\":\"Address\",\"parentField\":\"company_address\",\"fieldname\":\"city\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"City/Town :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true},{\"doctype\":\"Address\",\"parentField\":\"company_address\",\"fieldname\":\"state\",\"value\":\"\",\"fieldtype\":\"Autocomplete\",\"label\":\"State/Province :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false},{\"doctype\":\"Address\",\"parentField\":\"company_address\",\"fieldname\":\"pincode\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Postal Code :\",\"suffix\":null,\"is_labelled\":true,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true},{\"doctype\":\"Address\",\"parentField\":\"company_address\",\"fieldname\":\"phone\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Phone :\",\"suffix\":null,\"is_labelled\":true,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true},{\"doctype\":\"Company\",\"parentField\":\"company\",\"fieldname\":\"email\",\"options\":\"Email\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Email :\",\"suffix\":null,\"is_labelled\":true,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false},{\"doctype\":\"Company\",\"parentField\":\"company\",\"fieldname\":\"website\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Website :\",\"suffix\":null,\"is_labelled\":true,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true},{\"doctype\":\"Address\",\"parentField\":\"company_address\",\"fieldname\":\"gstin\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"GSTIN / UIN :\",\"suffix\":null,\"is_labelled\":true,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false},{\"doctype\":\"Company\",\"parentField\":\"company\",\"fieldname\":\"custom_fssai_no\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"FSSAI No :\",\"suffix\":null,\"is_labelled\":true,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true},{\"doctype\":\"Company\",\"parentField\":\"company\",\"fieldname\":\"custom_cin\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"CIN :\",\"suffix\":null,\"is_labelled\":true,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false},{\"doctype\":\"Company\",\"parentField\":\"company\",\"fieldname\":\"pan\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"PAN :\",\"suffix\":null,\"is_labelled\":true,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":10.66668701171875,\"startY\":12,\"pageX\":363.66668701171875,\"pageY\":125,\"width\":476.84375,\"height\":155.1666717529297,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"heightType\":\"auto\",\"classes\":[],\"index\":0,\"isElementOverlapping\":false},{\"id\":\"FvMtRjdmst\",\"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\",\"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\":\"\"}],\"selectedDynamicText\":null},{\"id\":2,\"label\":\"Quantity\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"label\":\"Quantity\",\"print_hide\":0,\"is_virtual\":0,\"in_list_view\":1,\"tableName\":\"items\",\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":3,\"label\":\"UOM\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"label\":\"UOM\",\"options\":\"UOM\",\"print_hide\":0,\"is_virtual\":0,\"in_list_view\":1,\"tableName\":\"items\",\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":4,\"label\":\"Rate Per Kg\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"custom_rate_per_kg\",\"fieldtype\":\"Currency\",\"label\":\"Rate Per Kg\",\"print_hide\":0,\"is_virtual\":0,\"in_list_view\":1,\"tableName\":\"items\",\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":5,\"label\":\"Bag\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"custom_bag\",\"fieldtype\":\"Int\",\"label\":\"Bag\",\"print_hide\":0,\"is_virtual\":0,\"in_list_view\":0,\"tableName\":\"items\",\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":6,\"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}],\"PreviewRowNo\":1,\"selectedColumn\":null,\"selectedDynamicText\":null,\"startX\":5,\"startY\":350,\"pageX\":352,\"pageY\":448,\"width\":788,\"height\":125,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"headerStyle\":{},\"altStyle\":{},\"heightType\":\"auto\",\"classes\":[],\"index\":1}],\"snapPoints\":[null,null],\"snapEdges\":[null,null,null,null],\"isDraggable\":false,\"isResizable\":true}]","print_designer":1,"print_designer_print_format":"{\"header\":{\"firstPage\":[],\"oddPage\":[],\"evenPage\":[],\"lastPage\":[]},\"body\":[{\"type\":\"page\",\"index\":0,\"isDropZone\":true,\"childrens\":[{\"id\":\"JNRZajUBCG\",\"type\":\"rectangle\",\"DOMRef\":null,\"childrens\":[{\"id\":\"QjfMCBTaob\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"Company\",\"parentField\":\"company\",\"fieldname\":\"company_name\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Company :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{\"fontWeight\":\"700\",\"fontSize\":\"20px\",\"lineHeight\":1.25},\"labelStyle\":{},\"nextLine\":true,\"labelStyleEditing\":false},{\"doctype\":\"Address\",\"parentField\":\"company_address\",\"fieldname\":\"address_line1\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Address Line 1 :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true},{\"doctype\":\"Address\",\"parentField\":\"company_address\",\"fieldname\":\"address_line2\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Address Line 2 :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false},{\"doctype\":\"Address\",\"parentField\":\"company_address\",\"fieldname\":\"city\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"City/Town :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true},{\"doctype\":\"Address\",\"parentField\":\"company_address\",\"fieldname\":\"state\",\"value\":\"\",\"fieldtype\":\"Autocomplete\",\"label\":\"State/Province :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false},{\"doctype\":\"Address\",\"parentField\":\"company_address\",\"fieldname\":\"pincode\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Postal Code :\",\"suffix\":null,\"is_labelled\":true,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true},{\"doctype\":\"Address\",\"parentField\":\"company_address\",\"fieldname\":\"phone\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Phone :\",\"suffix\":null,\"is_labelled\":true,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true},{\"doctype\":\"Company\",\"parentField\":\"company\",\"fieldname\":\"email\",\"options\":\"Email\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Email :\",\"suffix\":null,\"is_labelled\":true,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false},{\"doctype\":\"Company\",\"parentField\":\"company\",\"fieldname\":\"website\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Website :\",\"suffix\":null,\"is_labelled\":true,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true},{\"doctype\":\"Address\",\"parentField\":\"company_address\",\"fieldname\":\"gstin\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"GSTIN / UIN :\",\"suffix\":null,\"is_labelled\":true,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false},{\"doctype\":\"Company\",\"parentField\":\"company\",\"fieldname\":\"custom_fssai_no\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"FSSAI No :\",\"suffix\":null,\"is_labelled\":true,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true},{\"doctype\":\"Company\",\"parentField\":\"company\",\"fieldname\":\"custom_cin\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"CIN :\",\"suffix\":null,\"is_labelled\":true,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false},{\"doctype\":\"Company\",\"parentField\":\"company\",\"fieldname\":\"pan\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"PAN :\",\"suffix\":null,\"is_labelled\":true,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":10.66668701171875,\"startY\":12,\"pageX\":363.66668701171875,\"pageY\":125,\"width\":476.84375,\"height\":155.1666717529297,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"heightType\":\"auto\",\"classes\":[],\"index\":0,\"isElementOverlapping\":false}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":10.66668701171875,\"pageY\":0,\"width\":793.701,\"height\":167.1666717529297,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"],\"layoutType\":\"row\",\"heightType\":\"auto\"},{\"id\":\"sNDdQLVLfg\",\"type\":\"rectangle\",\"DOMRef\":null,\"childrens\":[{\"id\":\"FvMtRjdmst\",\"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\",\"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\":\"\"}],\"selectedDynamicText\":null},{\"id\":2,\"label\":\"Quantity\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"label\":\"Quantity\",\"print_hide\":0,\"is_virtual\":0,\"in_list_view\":1,\"tableName\":\"items\",\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":3,\"label\":\"UOM\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"label\":\"UOM\",\"options\":\"UOM\",\"print_hide\":0,\"is_virtual\":0,\"in_list_view\":1,\"tableName\":\"items\",\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":4,\"label\":\"Rate Per Kg\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"custom_rate_per_kg\",\"fieldtype\":\"Currency\",\"label\":\"Rate Per Kg\",\"print_hide\":0,\"is_virtual\":0,\"in_list_view\":1,\"tableName\":\"items\",\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":5,\"label\":\"Bag\",\"style\":{},\"applyStyleToHeader\":false,\"dynamicContent\":[{\"fieldname\":\"custom_bag\",\"fieldtype\":\"Int\",\"label\":\"Bag\",\"print_hide\":0,\"is_virtual\":0,\"in_list_view\":0,\"tableName\":\"items\",\"value\":\"\"}],\"selectedDynamicText\":null},{\"id\":6,\"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}],\"PreviewRowNo\":1,\"selectedColumn\":null,\"selectedDynamicText\":null,\"startX\":5,\"startY\":182.8333282470703,\"pageX\":352,\"pageY\":448,\"width\":788,\"height\":125,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"labelStyle\":{},\"headerStyle\":{},\"altStyle\":{},\"heightType\":\"auto\",\"classes\":[],\"index\":1}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":167.1666717529297,\"pageX\":5,\"pageY\":167.1666717529297,\"width\":793.701,\"height\":307.8333282470703,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"],\"layoutType\":\"row\",\"heightType\":\"auto\"}],\"snapPoints\":[null,null],\"snapEdges\":[null,null,null,null],\"isDraggable\":false,\"isResizable\":true}],\"footer\":{\"firstPage\":[],\"oddPage\":[],\"evenPage\":[],\"lastPage\":[]}}","print_designer_preview_img":"/private/files/print_designer-new_salesinvoice-2-preview.jpg","print_designer_template_app":"print_designer","doctype":"Print Format","__onload":{"print_templates":[]}}

vijaygajera commented 1 week ago

screen-capture (2).webm

maharshivpatel commented 1 week ago

@vijaygajera can you raise a ticket on FC ( ask for it to be assigned to me @maharshivpatel ) so i can check on your site. i am unable to replicate on my local site.

yamenzk commented 1 week ago

I just created a new design for business cards on (v1.3.2 (HEAD)), and I can not edit it. Once it's saved, if I try to edit it the browser crashes.

{"name":"Business Card (Designer)","owner":"Administrator","creation":"2024-06-19 14:25:44.506720","modified":"2024-06-19 15:17:53.730292","modified_by":"Administrator","docstatus":0,"idx":0,"print_designer_print_format":"{\"header\":{\"firstPage\":[],\"oddPage\":[],\"evenPage\":[],\"lastPage\":[]},\"body\":[{\"type\":\"page\",\"index\":0,\"isDropZone\":true,\"childrens\":[{\"id\":\"uyZDrvVnmR\",\"type\":\"rectangle\",\"DOMRef\":null,\"childrens\":[{\"id\":\"CJZAUjxbrl\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"pxkVIxvNlx\",\"type\":\"rectangle\",\"DOMRef\":null,\"childrens\":[{\"id\":\"LeebbAfcmF\",\"type\":\"rectangle\",\"DOMRef\":null,\"childrens\":[{\"id\":\"iSgYqqHVVD\",\"type\":\"text\",\"content\":\"{{qrcode_image}}\\n\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":24.8182373046875,\"startY\":28.39656796725977,\"pageX\":924.8182373046875,\"pageY\":140.8181915283203,\"width\":113.38582677299999,\"height\":113.38582677299999,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"zIndex\":1},\"classes\":[],\"index\":1},{\"id\":\"hStjmGGEEl\",\"type\":\"text\",\"content\":\"{{qrcode_image}}\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":25,\"startY\":62,\"pageX\":925,\"pageY\":177,\"width\":-236.0965632200241,\"height\":-211.30965614318848,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"classes\":[],\"index\":0}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":138.2040640776875,\"height\":141.78239474025975,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"layoutType\":\"column\",\"relativeColumn\":true,\"heightType\":\"fixed\"},{\"id\":\"UgnKOAypVf\",\"type\":\"rectangle\",\"DOMRef\":null,\"childrens\":[{\"id\":\"DwLReOpmLR\",\"type\":\"rectangle\",\"DOMRef\":null,\"childrens\":[{\"id\":\"ICwbvyZqPL\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"salutation\",\"value\":\"\",\"fieldtype\":\"Read Only\",\"label\":\"Salutation :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"first_name\",\"value\":\"\",\"fieldtype\":\"Read Only\",\"label\":\"First Name :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"last_name\",\"value\":\"\",\"fieldtype\":\"Read Only\",\"label\":\"Last Name :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":11.705115609812509,\"startY\":25.545455932617188,\"pageX\":1049.9091796875,\"pageY\":141.5454559326172,\"width\":169.06260681152344,\"height\":14.826698303222656,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontFamily\":\"Poppins\",\"fontWeight\":\"700\",\"fontSize\":\"13.00px\",\"color\":\"#00545c\"},\"labelStyle\":{},\"heightType\":\"auto\",\"classes\":[],\"index\":2}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":11.705115609812509,\"pageY\":0,\"width\":194.39436112311247,\"height\":40.372154235839844,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"],\"layoutType\":\"row\",\"heightType\":\"auto\"},{\"id\":\"JJIygAPEkv\",\"type\":\"rectangle\",\"DOMRef\":null,\"childrens\":[{\"id\":\"HFdQmCeWcZ\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"position\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Position :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":11.795935922312509,\"startY\":0.08238983154296875,\"pageX\":1050,\"pageY\":153.4545440673828,\"width\":183.6931915283203,\"height\":14.826698303222656,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"12px\",\"fontFamily\":\"Poppins\",\"fontWeight\":\"300\"},\"labelStyle\":{},\"heightType\":\"auto\",\"classes\":[],\"index\":3}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":40.372154235839844,\"pageX\":11.795935922312509,\"pageY\":40.372154235839844,\"width\":194.39436112311247,\"height\":14.909088134765625,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"],\"layoutType\":\"row\",\"heightType\":\"auto\"},{\"id\":\"SGeFbJXQnZ\",\"type\":\"rectangle\",\"DOMRef\":null,\"childrens\":[{\"id\":\"rtzUZVoTMT\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"JWufiLpgBP\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"phone\",\"value\":\"\",\"fieldtype\":\"Read Only\",\"label\":\"Phone :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"QskpNzvuXm\",\"value\":\"/\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{}},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"mobile\",\"value\":\"\",\"fieldtype\":\"Read Only\",\"label\":\"Mobile :\",\"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\":29.66929133893501,\"startY\":6.561756151970344,\"pageX\":346.2760467529297,\"pageY\":199.66665649414062,\"width\":150.651968505726,\"height\":13.324409448989,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"zIndex\":9999,\"fontFamily\":\"Poppins\",\"fontSize\":\"8.00px\"},\"labelStyle\":{},\"heightType\":\"auto\",\"classes\":[],\"index\":0,\"childrens\":[]},{\"id\":\"exEStONOLB\",\"type\":\"image\",\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"isDynamic\":false,\"image\":{\"name\":\"5c35876eb3\",\"file_name\":\"9.svg\",\"file_url\":\"/files/9.svg\",\"modified\":\"2024-06-19 14:55:33.743860\"},\"startX\":-1,\"startY\":-1.0025430636687194,\"pageX\":639.9478912353516,\"pageY\":185.17186737060547,\"width\":26.4566929137,\"height\":26.452992621478064,\"styleEditMode\":\"main\",\"style\":{\"zIndex\":9999},\"classes\":[],\"index\":1,\"childrens\":[]}],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":13.068426077651509,\"startY\":4.270835876464844,\"pageX\":339.9999694824219,\"pageY\":163,\"width\":180.321259844661,\"height\":26.447921752929688,\"styleEditMode\":\"main\",\"style\":{\"borderWidth\":\"0px\"},\"classes\":[],\"index\":4},{\"id\":\"MRDGZIpaME\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"BYngyWacIA\",\"type\":\"image\",\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"isDynamic\":false,\"image\":{\"name\":\"0375d30025\",\"file_name\":\"8.svg\",\"file_url\":\"/files/8.svg\",\"modified\":\"2024-06-19 14:54:45.368464\"},\"startX\":-1,\"startY\":-1,\"pageX\":335,\"pageY\":187,\"width\":26.4566929137,\"height\":26.4566929137,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[],\"index\":0},{\"id\":\"VrsvmxAzPc\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"company_email\",\"value\":\"\",\"fieldtype\":\"Read Only\",\"label\":\"Company Email :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":29.667870082829182,\"startY\":4.5574803150385,\"pageX\":314.0052185058594,\"pageY\":209,\"width\":150.64866535191982,\"height\":13.341732283623,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"8px\",\"fontFamily\":\"Poppins\"},\"labelStyle\":{},\"heightType\":\"auto\",\"classes\":[],\"index\":1}],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":13.052628837494524,\"startY\":30.71874237060547,\"pageX\":309.28123474121094,\"pageY\":184.99998474121094,\"width\":180.316535434749,\"height\":26.4566929137,\"styleEditMode\":\"main\",\"style\":{\"borderWidth\":\"0px\"},\"classes\":[],\"index\":5},{\"id\":\"muqVNrWlCF\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"budXnfdRjE\",\"type\":\"rectangle\",\"DOMRef\":null,\"childrens\":[{\"id\":\"syOvVVagiB\",\"type\":\"rectangle\",\"DOMRef\":null,\"childrens\":[{\"id\":\"LfgNfmrgtp\",\"type\":\"image\",\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"isDynamic\":false,\"image\":{\"name\":\"5a2f5f0de2\",\"file_name\":\"10.svg\",\"file_url\":\"/files/10.svg\",\"modified\":\"2024-06-19 14:56:02.663475\"},\"startX\":-1,\"startY\":-1,\"pageX\":322.33856201171875,\"pageY\":209.54689025878906,\"width\":26.46379822352189,\"height\":26.460276086189072,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[],\"index\":0,\"childrens\":[]}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":25.46379822352189,\"height\":25.460276086189072,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"layoutType\":\"column\",\"relativeColumn\":true,\"heightType\":\"fixed\"},{\"id\":\"KHqVMFEeZN\",\"type\":\"rectangle\",\"DOMRef\":null,\"childrens\":[{\"id\":\"CEcAmSpgDL\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"Address\",\"parentField\":\"address\",\"fieldname\":\"address_line1\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Address Line 1 :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"hNObIrYLIk\",\"value\":\",\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{}},{\"doctype\":\"Address\",\"parentField\":\"address\",\"fieldname\":\"city\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"City/Town :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true,\"labelStyleEditing\":false},{\"doctype\":\"Address\",\"parentField\":\"address\",\"fieldname\":\"emirate\",\"options\":\"\\nAbu Dhabi\\nAjman\\nDubai\\nFujairah\\nRas Al Khaimah\\nSharjah\\nUmm Al Quwain\",\"value\":\"\",\"fieldtype\":\"Select\",\"label\":\"Emirate :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"tNIoLHZpgS\",\"value\":\", UAE\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{}}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":4.206414868209421,\"startY\":2.790018299747368,\"pageX\":350,\"pageY\":225,\"width\":150.6510467529297,\"height\":18.876656314205263,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontFamily\":\"Poppins\",\"fontSize\":\"8px\",\"letterSpacing\":\"0px\"},\"labelStyle\":{},\"heightType\":\"auto\",\"classes\":[],\"index\":1}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":25.46379822352189,\"startY\":0,\"pageX\":25.46379822352189,\"pageY\":0,\"width\":154.85746162113912,\"height\":25.460276086189072,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"layoutType\":\"column\",\"relativeColumn\":true,\"heightType\":\"auto\"}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":-1,\"pageY\":0,\"width\":180.321259844661,\"height\":25.460276086189072,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"],\"layoutType\":\"row\",\"heightType\":\"auto\"}],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":13.068426077651509,\"startY\":56.38542938232422,\"pageX\":308.3333435058594,\"pageY\":212.6666717529297,\"width\":180.321259844661,\"height\":26.4566929137,\"styleEditMode\":\"main\",\"style\":{\"borderWidth\":\"0px\"},\"classes\":[\"relative-column\"],\"index\":6,\"layoutType\":\"column\",\"rectangleContainer\":true,\"heightType\":\"auto\"}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":55.28124237060547,\"pageX\":13.052628837494524,\"pageY\":55.28124237060547,\"width\":194.39436112311247,\"height\":86.50115236965428,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"],\"layoutType\":\"row\",\"heightType\":\"auto\"}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":138.2040640776875,\"startY\":0,\"pageX\":138.2040640776875,\"pageY\":0,\"width\":194.39436112311247,\"height\":141.78239474025975,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-column\"],\"layoutType\":\"column\",\"relativeColumn\":true,\"heightType\":\"auto\"}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":24.8182373046875,\"pageY\":0,\"width\":332.59842520079997,\"height\":141.78239474025975,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"],\"layoutType\":\"row\",\"heightType\":\"auto\"}],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":0.005615234375,\"startY\":0.00284576416015625,\"pageX\":1226.5936889648438,\"pageY\":249,\"width\":332.59842520079997,\"height\":170.17896270751953,\"styleEditMode\":\"main\",\"style\":{\"borderWidth\":\"0px\"},\"classes\":[\"relative-column\"],\"index\":1,\"isElementOverlapping\":false,\"layoutType\":\"column\",\"rectangleContainer\":true,\"heightType\":\"auto\"},{\"id\":\"RFQXBELunY\",\"type\":\"image\",\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"isDynamic\":false,\"image\":{\"name\":\"0680caa8fb\",\"file_name\":\"Pattern.svg\",\"file_url\":\"/files/Pattern.svg\",\"modified\":\"2024-06-19 13:51:31.805159\"},\"startX\":0,\"startY\":155.63634490966797,\"pageX\":1224,\"pageY\":325.63636016845703,\"width\":332.59942626953125,\"height\":52.24718475341797,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[],\"index\":0,\"isElementOverlapping\":false}],\"isDraggable\":false,\"isResizable\":false,\"isDropZone\":false,\"startX\":0,\"startY\":0,\"pageX\":0,\"pageY\":0,\"width\":332.59842520079997,\"height\":207.88352966308594,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[\"relative-row\"],\"layoutType\":\"row\",\"heightType\":\"auto\"}],\"snapPoints\":[null,null],\"snapEdges\":[null,null,null,null],\"isDraggable\":false,\"isResizable\":true}],\"footer\":{\"firstPage\":[],\"oddPage\":[],\"evenPage\":[],\"lastPage\":[]}}","print_designer_preview_img":"/private/files/print_designer-business_card_(designer)-preview.jpg","print_designer_settings":"{\"page\":{\"height\":207.8740157505,\"width\":332.59842520079997,\"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\":\"header\",\"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\":\"CUSTOM\",\"isHeaderFooterAuto\":true,\"currentDoc\":\"Yamen-Zakhour\",\"textControlType\":\"dynamic\",\"currentFonts\":[\"Inter\",\"Poppins\"],\"printHeaderFonts\":null,\"printFooterFonts\":null,\"printBodyFonts\":{\"Inter\":{\"weight\":[400,600],\"italic\":[]},\"Poppins\":{\"weight\":[300,400,700],\"italic\":[]}},\"userProvidedJinja\":\"{% set qrcode_image %}\\r\\n<img src=\\\"https://qrcode.tec-it.com/API/QRCode?data=BEGIN%3aVCARD%0d%0aVERSION%3a3.0%0d%0aFN%3bCHARSET%3dUTF-8%3a{{doc.salutation}}+{{doc.first_name}}+{{doc.last_name}}%0d%0aN%3bCHARSET%3dUTF-8%3a{{doc.last_name}}%3b{{doc.first_name}}%3b%3b{{doc.salutation}}%3b%0d%0aTEL%3bTYPE%3dCELL%2cVOICE%3a{{doc.mobile|replace('+971','0')}}%0d%0aTEL%3bTYPE%3dWORK%2cVOICE%3a{{doc.phone|replace('+971','0')}}%0d%0aEMAIL%3a{{doc.company_email}}%0d%0aORG%3bCHARSET%3dUTF-8%3aMirage+Dental+Clinic%0d%0aTITLE%3bCHARSET%3dUTF-8%3a{{doc.position}}%0d%0aADR%3bCHARSET%3dUTF-8%3aAl+Muntasir+Road%5c%2c+Nakheel%5c%2c+Ras+Al-Khaimah%0d%0aURL%3ahttps%3a%2f%2fmirageclinics.com%0d%0aEND%3aVCARD&backcolor=%23ffffff&color=%2300545c\\\" />\\r\\n{% endset %}\\r\\n{% set send_to_jinja = {'qrcode_image': qrcode_image} %}\\r\\n\",\"schema_version\":\"1.3.0\"}","print_designer_header":"[{\"type\":\"page\",\"childrens\":[],\"firstPage\":true,\"oddPage\":true,\"evenPage\":true,\"lastPage\":true}]","print_designer_footer":"[{\"type\":\"page\",\"childrens\":[],\"firstPage\":true,\"oddPage\":true,\"evenPage\":true,\"lastPage\":true}]","print_designer_body":"[{\"type\":\"page\",\"index\":0,\"isDropZone\":true,\"childrens\":[{\"id\":\"CJZAUjxbrl\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"hStjmGGEEl\",\"type\":\"text\",\"content\":\"{{qrcode_image}}\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":25,\"startY\":62,\"pageX\":925,\"pageY\":177,\"width\":-236.0965632200241,\"height\":-211.30965614318848,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{},\"classes\":[],\"index\":0},{\"id\":\"iSgYqqHVVD\",\"type\":\"text\",\"content\":\"{{qrcode_image}}\\n\",\"contenteditable\":false,\"isDynamic\":false,\"isFixedSize\":true,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"parseJinja\":true,\"startX\":24.8182373046875,\"startY\":28.39656796725977,\"pageX\":924.8182373046875,\"pageY\":140.8181915283203,\"width\":113.38582677299999,\"height\":113.38582677299999,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"zIndex\":1},\"classes\":[],\"index\":1},{\"id\":\"ICwbvyZqPL\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"salutation\",\"value\":\"\",\"fieldtype\":\"Read Only\",\"label\":\"Salutation :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"first_name\",\"value\":\"\",\"fieldtype\":\"Read Only\",\"label\":\"First Name :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"last_name\",\"value\":\"\",\"fieldtype\":\"Read Only\",\"label\":\"Last Name :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":149.9091796875,\"startY\":25.545455932617188,\"pageX\":1049.9091796875,\"pageY\":141.5454559326172,\"width\":169.06260681152344,\"height\":14.826698303222656,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontFamily\":\"Poppins\",\"fontWeight\":\"700\",\"fontSize\":\"13.00px\",\"color\":\"#00545c\"},\"labelStyle\":{},\"heightType\":\"auto\",\"classes\":[],\"index\":2},{\"id\":\"HFdQmCeWcZ\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"position\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Position :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":150,\"startY\":40.45454406738281,\"pageX\":1050,\"pageY\":153.4545440673828,\"width\":183.6931915283203,\"height\":14.826698303222656,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"12px\",\"fontFamily\":\"Poppins\",\"fontWeight\":\"300\"},\"labelStyle\":{},\"heightType\":\"auto\",\"classes\":[],\"index\":3},{\"id\":\"rtzUZVoTMT\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"JWufiLpgBP\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"phone\",\"value\":\"\",\"fieldtype\":\"Read Only\",\"label\":\"Phone :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"QskpNzvuXm\",\"value\":\"/\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{}},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"mobile\",\"value\":\"\",\"fieldtype\":\"Read Only\",\"label\":\"Mobile :\",\"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\":29.66929133893501,\"startY\":6.561756151970344,\"pageX\":346.2760467529297,\"pageY\":199.66665649414062,\"width\":150.651968505726,\"height\":13.324409448989,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"zIndex\":9999,\"fontFamily\":\"Poppins\",\"fontSize\":\"8.00px\"},\"labelStyle\":{},\"heightType\":\"auto\",\"classes\":[],\"index\":0,\"childrens\":[]},{\"id\":\"exEStONOLB\",\"type\":\"image\",\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"isDynamic\":false,\"image\":{\"name\":\"5c35876eb3\",\"file_name\":\"9.svg\",\"file_url\":\"/files/9.svg\",\"modified\":\"2024-06-19 14:55:33.743860\"},\"startX\":-1,\"startY\":-1.0025430636687194,\"pageX\":639.9478912353516,\"pageY\":185.17186737060547,\"width\":26.4566929137,\"height\":26.452992621478064,\"styleEditMode\":\"main\",\"style\":{\"zIndex\":9999},\"classes\":[],\"index\":1,\"childrens\":[]}],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":151.272490155339,\"startY\":59.55207824707031,\"pageX\":339.9999694824219,\"pageY\":163,\"width\":180.321259844661,\"height\":26.447921752929688,\"styleEditMode\":\"main\",\"style\":{\"borderWidth\":\"0px\"},\"classes\":[],\"index\":4},{\"id\":\"MRDGZIpaME\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"BYngyWacIA\",\"type\":\"image\",\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"isDynamic\":false,\"image\":{\"name\":\"0375d30025\",\"file_name\":\"8.svg\",\"file_url\":\"/files/8.svg\",\"modified\":\"2024-06-19 14:54:45.368464\"},\"startX\":-1,\"startY\":-1,\"pageX\":335,\"pageY\":187,\"width\":26.4566929137,\"height\":26.4566929137,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[],\"index\":0},{\"id\":\"VrsvmxAzPc\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"company_email\",\"value\":\"\",\"fieldtype\":\"Read Only\",\"label\":\"Company Email :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":29.667870082829182,\"startY\":4.5574803150385,\"pageX\":314.0052185058594,\"pageY\":209,\"width\":150.64866535191982,\"height\":13.341732283623,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontSize\":\"8px\",\"fontFamily\":\"Poppins\"},\"labelStyle\":{},\"heightType\":\"auto\",\"classes\":[],\"index\":1}],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":151.25669291518201,\"startY\":85.99998474121094,\"pageX\":309.28123474121094,\"pageY\":184.99998474121094,\"width\":180.316535434749,\"height\":26.4566929137,\"styleEditMode\":\"main\",\"style\":{\"borderWidth\":\"0px\"},\"classes\":[],\"index\":5},{\"id\":\"muqVNrWlCF\",\"type\":\"rectangle\",\"childrens\":[{\"id\":\"LfgNfmrgtp\",\"type\":\"image\",\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"isDynamic\":false,\"image\":{\"name\":\"5a2f5f0de2\",\"file_name\":\"10.svg\",\"file_url\":\"/files/10.svg\",\"modified\":\"2024-06-19 14:56:02.663475\"},\"startX\":-1,\"startY\":-1,\"pageX\":322.33856201171875,\"pageY\":209.54689025878906,\"width\":26.46379822352189,\"height\":26.460276086189072,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[],\"index\":0,\"childrens\":[]},{\"id\":\"CEcAmSpgDL\",\"type\":\"text\",\"content\":\"\",\"contenteditable\":false,\"isDynamic\":true,\"isFixedSize\":true,\"dynamicContent\":[{\"doctype\":\"Address\",\"parentField\":\"address\",\"fieldname\":\"address_line1\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"Address Line 1 :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"hNObIrYLIk\",\"value\":\",\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{}},{\"doctype\":\"Address\",\"parentField\":\"address\",\"fieldname\":\"city\",\"value\":\"\",\"fieldtype\":\"Data\",\"label\":\"City/Town :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":true,\"labelStyleEditing\":false},{\"doctype\":\"Address\",\"parentField\":\"address\",\"fieldname\":\"emirate\",\"options\":\"\\nAbu Dhabi\\nAjman\\nDubai\\nFujairah\\nRas Al Khaimah\\nSharjah\\nUmm Al Quwain\",\"value\":\"\",\"fieldtype\":\"Select\",\"label\":\"Emirate :\",\"suffix\":null,\"is_labelled\":false,\"is_static\":false,\"print_hide\":0,\"style\":{},\"labelStyle\":{},\"nextLine\":false,\"labelStyleEditing\":false},{\"doctype\":\"\",\"parentField\":\"\",\"fieldname\":\"tNIoLHZpgS\",\"value\":\", UAE\",\"fieldtype\":\"StaticText\",\"is_static\":true,\"is_labelled\":false,\"nextLine\":false,\"parseJinja\":false,\"style\":{}}],\"selectedDynamicText\":null,\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"startX\":29.670213091731313,\"startY\":2.790018299747368,\"pageX\":350,\"pageY\":225,\"width\":150.6510467529297,\"height\":18.876656314205263,\"styleEditMode\":\"main\",\"labelDisplayStyle\":\"standard\",\"style\":{\"fontFamily\":\"Poppins\",\"fontSize\":\"8px\",\"letterSpacing\":\"0px\"},\"labelStyle\":{},\"heightType\":\"auto\",\"classes\":[],\"index\":1}],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":151.272490155339,\"startY\":111.66667175292969,\"pageX\":308.3333435058594,\"pageY\":212.6666717529297,\"width\":180.321259844661,\"height\":26.4566929137,\"styleEditMode\":\"main\",\"style\":{\"borderWidth\":\"0px\"},\"classes\":[],\"index\":6}],\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":true,\"startX\":0.005615234375,\"startY\":0.00284576416015625,\"pageX\":1226.5936889648438,\"pageY\":249,\"width\":332.59842520079997,\"height\":170.17896270751953,\"styleEditMode\":\"main\",\"style\":{\"borderWidth\":\"0px\"},\"classes\":[],\"index\":1,\"isElementOverlapping\":false},{\"id\":\"RFQXBELunY\",\"type\":\"image\",\"isDraggable\":true,\"isResizable\":true,\"isDropZone\":false,\"isDynamic\":false,\"image\":{\"name\":\"0680caa8fb\",\"file_name\":\"Pattern.svg\",\"file_url\":\"/files/Pattern.svg\",\"modified\":\"2024-06-19 13:51:31.805159\"},\"startX\":0,\"startY\":155.63634490966797,\"pageX\":1224,\"pageY\":325.63636016845703,\"width\":332.59942626953125,\"height\":52.24718475341797,\"styleEditMode\":\"main\",\"style\":{},\"classes\":[],\"index\":0,\"isElementOverlapping\":false}],\"snapPoints\":[null,null],\"snapEdges\":[null,null,null,null],\"isDraggable\":false,\"isResizable\":true}]","print_designer":1,"doc_type":"Business Card","module":"Mirage","standard":"No","print_designer_template_app":"print_designer","custom_format":0,"disabled":0,"print_format_type":"Jinja","raw_printing":0,"margin_top":15,"margin_bottom":15,"margin_left":15,"margin_right":15,"align_labels_right":0,"show_section_headings":0,"line_breaks":0,"absolute_value":0,"font_size":14,"page_number":"Hide","css":":root { --scale-factor: 1.100000023841858px; --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: 55.000mm; --print-container-width: 210.000mm; --print-container-height: 55.000mm; --print-margin-top: 0mm; --print-margin-bottom: 0.000mm; --print-margin-left: 0mm; --print-margin-right: 0.000mm; } :root, ::after, ::before { --print-width: 88.000mm; --print-height: 55.000mm; --print-container-width: 88.000mm; --print-container-height: 55.000mm; --print-margin-top: 0mm; --print-margin-bottom: 0.000mm; --print-margin-left: 0mm; --print-margin-right: 0.000mm; } :root { --scale-factor: 1.100000023841858px; --modal-x: 871px; --modal-y: 67px; } :root { --scale-factor: 3px; --modal-x: 68px; --modal-y: 12px; } :root { --scale-factor: 3px; --modal-x: 64px; --modal-y: 7px; } :root { --scale-factor: 3px; --modal-x: 60px; --modal-y: 25px; } :root { --scale-factor: 3px; --modal-x: 67px; --modal-y: 49px; }@page { size: 210mm 297mm; margin: 0mm; } @page { size: 210mm 297mm; margin: 0mm; } @page { size: 210mm 55mm; margin: 0mm; } @page { size: 88mm 55mm; margin: 0mm; }","print_format_builder":0,"print_format_builder_beta":0,"doctype":"Print Format","__onload":{"print_templates":[]},"__last_sync_on":"2024-06-19T11:31:22.278Z"}
PhantomKunai commented 1 week ago

@maharshivpatel

Sometimes I see this in the console log. Perhaps this can offer additional hints. image There are a series of this, then below error image

This seems to be directly linked to the page crashing due to lack of memory that I mentioned earlier in this thread.

maharshivpatel commented 1 week ago

@PhantomKunai is it crashing on your local setup as well ?

PhantomKunai commented 1 week ago

@maharshivpatel Only able to observe this on local setup. On FC I cannot even open the console log.

maharshivpatel commented 1 week ago

@PhantomKunai can we get on google meet call ? it works on my setup so need your help to debug as it is happening on your pc

vijaygajera commented 1 week ago

@maharshivpatel My setup on FC I also face same issue

maharshivpatel commented 1 week ago

@vijaygajera issue is its working on my local setup so i need a way to debug this with someone's local setup that have the same issue so i can find root cause.

maharshivpatel commented 1 week ago

@PhantomKunai i have sent you the invite you can now delete the comment with your email.

bobotdls commented 1 week ago

Hi same with me I cannot edit

maharshivpatel commented 1 week ago

@PhantomKunai @vijaygajera @bobotdls @yamenzk sorry for the issue caused. i was finally able to find a way to debug the root cause. exact issue is unknown but #288 is responsible. i will fix this as soon as possible.

maharshivpatel commented 1 week ago

:tada: This issue has been resolved in version 1.3.3 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: