Created
June 2, 2025 09:10
-
-
Save TurkerTunali/c24da5baa2e2543ba71bbcbfd56f26d1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"name":"Raf Etiketi 1","owner":"Administrator","creation":"2025-06-01 11:15:23.967823","modified":"2025-06-01 12:27:43.814669","modified_by":"Administrator","docstatus":0,"idx":0,"print_designer":0,"doc_type":"Item","module":"Stock","default_print_language":"en","standard":"No","print_designer_template_app":"print_designer","custom_format":1,"disabled":0,"pdf_generator":"wkhtmltopdf","print_format_type":"Jinja","raw_printing":0,"html":"<table class=\"label-table\">\n <tbody>\n <tr>\n <td rowspan=\"3\"class=\"image-cell\">\n <img src=\"https://placehold.co/200\" class=\"product-image\" alt=\"Product Image\">\n </td>\n <td colspan=\"2\" class=\"item-name-cell\">\n <div>{{doc.item_name}}</div>\n </td>\n </tr>\n <tr>\n <td class=\"info-row\">\n <div class=\"info-row-text\">Max. miktar: ________ {{doc.stock_uom}}</div>\n </td>\n <td rowspan=\"2\" class=\"qr-code-cell\">\n <img src=\"https://placehold.co/50\" class=\"qr-code\" alt=\"QR Code\">\n </td>\n </tr>\n <tr>\n <td class=\"info-row\">\n <div class=\"info-row-text\">Kodu: {{doc.item_code}}</div>\n </td>\n </tr>\n </tbody>\n</table>","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":".print-format td, .print-format th, .print-format table {\n vertical-align: middle !important;\n padding: 0px !important;\n}\n/* Main table styling - REDUCED HEIGHT */\n.label-table {\n height: 200px;\n border-collapse: collapse;\n border: 2px solid #000;\n table-layout: fixed;\n}\n\n/* Image cell - left side - REDUCED HEIGHT */\n.image-cell {\n width: 200px;\n height: 200px; /* Reduced from 200px */\n border-right: 2px solid #000;\n vertical-align: middle;\n text-align: center;\n}\n\n.product-image {\n width: 200px;\n height: 200px;\n padding: 0px !important;\n}\n\n/* Item name cell - keep proportional */\n.item-name-cell {\n height: 60px;\n border-bottom: 2px solid #000;\n text-align: center;\n font-size: 24px;\n font-weight: bold;\n}\n\n.info-row {\n height: 70px;\n width: 50%;\n vertical-align: middle !important;\n}\n\n.info-row-text {\n padding-left:15px;\n}\n\n.qr-code-cell {\n border-right: 2px solid #000;\n vertical-align: middle;\n text-align: center;\n padding: 0px !important;\n}\n\n.qr-code {\n width: 50px;\n height: 50px; /* Reduced from 140px */\n vertical-align: middle !important;\n text-align: center;\n padding: 0;\n}\n\ntd{\n border: 2px solid black ;\n}","format_data":"[{\"fieldname\": \"print_heading_template\", \"fieldtype\": \"Custom HTML\", \"options\": \"<div class=item_code>{{doc.item_code}}</div>\\n<div class=item_name>{{doc.item_name}}</div>\\n<div class=max_amount>Max. miktar: {{doc.stock_uom}}</div>\"}]","print_format_builder":1,"print_format_builder_beta":0,"doctype":"Print Format","__onload":{"print_templates":[]},"__last_sync_on":"2025-06-01T09:29:15.770Z"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment