diff --git a/erpnext/accounts/print_format/sales_invoice_bordered/sales_invoice_bordered.json b/erpnext/accounts/print_format/sales_invoice_bordered/sales_invoice_bordered.json
index d4644537a54..73ef6bd94d0 100644
--- a/erpnext/accounts/print_format/sales_invoice_bordered/sales_invoice_bordered.json
+++ b/erpnext/accounts/print_format/sales_invoice_bordered/sales_invoice_bordered.json
@@ -10,7 +10,7 @@
"doctype": "Print Format",
"font": "Inter",
"font_size": 12,
- "format_data": "{\"header\":{\"columns\":[{\"label\":\"\",\"fields\":[]}]},\"sections\":[{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Customer Name\",\"fieldname\":\"customer_name\",\"fieldtype\":\"Small Text\",\"show_label\":\"inline\",\"label_gap\":6},{\"label\":\"Credit Note\",\"fieldname\":\"name\",\"fieldtype\":\"Data\",\"show_label\":\"inline\",\"label_gap\":6,\"visible_if\":\"doc.is_return\"},{\"label\":\"Sales Invoice\",\"fieldname\":\"name\",\"fieldtype\":\"Data\",\"show_label\":\"inline\",\"label_gap\":6,\"visible_if\":\"doc.is_return == 0\"},{\"label\":\"Custom HTML\",\"fieldname\":\"custom_html_vytjghmu\",\"fieldtype\":\"HTML\",\"html\":\"
\\n
Bill From:
\\n
{{ doc.company }}
\\n
\",\"custom\":1},{\"label\":\"Address\",\"fieldname\":\"company_address_display\",\"fieldtype\":\"Text Editor\",\"show_label\":\"hide\"}]},{\"label\":\"\",\"fields\":[{\"label\":\"Posting Date\",\"fieldname\":\"posting_date\",\"fieldtype\":\"Date\",\"show_label\":\"inline\",\"label_gap\":6},{\"label\":\"Payment Due Date\",\"fieldname\":\"due_date\",\"fieldtype\":\"Date\",\"show_label\":\"inline\",\"label_gap\":6},{\"label\":\"Custom HTML\",\"fieldname\":\"custom_html_vytjghmu_zBGrfDlm\",\"fieldtype\":\"HTML\",\"html\":\"\\n
Bill To:
\\n
{{ doc.customer }}
\\n
\",\"custom\":1},{\"label\":\"Address\",\"fieldname\":\"address_display\",\"fieldtype\":\"Text Editor\",\"show_label\":\"hide\"}]}],\"has_fields\":true,\"cell_padding\":10,\"custom_style\":\"\",\"margin\":{\"top\":15,\"right\":0,\"bottom\":0,\"left\":0},\"field_borders\":true,\"gap\":0},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"\",\"fieldname\":\"items\",\"fieldtype\":\"Table\",\"options\":\"Sales Invoice Item\",\"table_columns\":[{\"label\":\"No\",\"fieldname\":\"idx\",\"fieldtype\":\"Data\",\"width\":5},{\"label\":\"Item\",\"fieldname\":\"item_name\",\"fieldtype\":\"Data\",\"width\":22,\"column_condition\":\"\"},{\"label\":\"Item\",\"fieldname\":\"item_code\",\"fieldtype\":\"Link\",\"options\":\"Item\",\"width\":13},{\"label\":\"Quantity\",\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"options\":\"UOM\",\"width\":10,\"merged_fields\":[{\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity != 1\"},{\"label\":\"Quantity\",\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"width\":10,\"merged_fields\":[{\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity\"},{\"label\":\"Rate\",\"fieldname\":\"rate\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":9},{\"label\":\"Amount\",\"fieldname\":\"amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":11}],\"table_style\":\"lined\",\"table_bordered\":true,\"table_header\":\"styled\",\"table_cell_padding\":8,\"table_radius\":10,\"show_label\":\"hide\"}]}],\"has_fields\":true,\"margin\":{\"top\":10,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[]},{\"label\":\"\",\"fields\":[{\"label\":\"Sub Total\",\"fieldname\":\"total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"\"},{\"label\":\"Discount\",\"fieldname\":\"discount_amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"\"},{\"label\":\"\",\"fieldname\":\"repeater\",\"fieldtype\":\"Repeater\",\"source\":\"taxes\",\"repeater_columns\":[{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"description\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"left\",\"width\":65,\"color\":\"#6b7280\"},{\"template\":[{\"t\":\"f\",\"v\":\"tax_amount\"}],\"align\":\"right\",\"width\":35,\"color\":\"#1f2328\"}],\"row_condition\":\"print_settings.print_taxes_with_zero_amount or row.tax_amount != 0\"},{\"label\":\"Grand Total\",\"fieldname\":\"grand_total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-top:1.5px solid #e5e7eb;margin-top:6px;padding-top:10px;font-weight:700;\",\"label_color\":\"#1f2328\"}]}],\"has_fields\":true,\"field_orientation\":\"left-right\",\"gap\":40,\"margin\":{\"top\":15,\"right\":12,\"bottom\":0,\"left\":0},\"padding\":{\"top\":0,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"In Words\",\"fieldname\":\"in_words\",\"fieldtype\":\"Small Text\",\"show_label\":\"hide\"}]}],\"background\":\"#f8f8f8\",\"padding\":{\"top\":5,\"right\":12,\"bottom\":5,\"left\":12},\"margin\":{\"top\":5,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Divider\",\"fieldname\":\"divider_dGLQjxHJ\",\"fieldtype\":\"Divider\",\"custom\":1}]}]},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Terms and Conditions\",\"fieldname\":\"terms\",\"fieldtype\":\"Text Editor\"}]}],\"has_fields\":true,\"margin\":{\"top\":5,\"right\":12,\"bottom\":0,\"left\":12}}],\"footer\":{\"columns\":[{\"label\":\"\",\"fields\":[]}],\"show_label\":\"hide\"}}",
+ "format_data": "{\"header\":{\"columns\":[{\"label\":\"\",\"fields\":[]}]},\"sections\":[{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Customer Name\",\"fieldname\":\"customer_name\",\"fieldtype\":\"Small Text\",\"show_label\":\"inline\",\"label_gap\":6},{\"label\":\"Credit Note\",\"fieldname\":\"name\",\"fieldtype\":\"Data\",\"show_label\":\"inline\",\"label_gap\":6,\"visible_if\":\"doc.is_return\"},{\"label\":\"Sales Invoice\",\"fieldname\":\"name\",\"fieldtype\":\"Data\",\"show_label\":\"inline\",\"label_gap\":6,\"visible_if\":\"doc.is_return == 0\"},{\"label\":\"Custom HTML\",\"fieldname\":\"custom_html_vytjghmu\",\"fieldtype\":\"HTML\",\"html\":\"\\n
Bill From:
\\n
{{ doc.company }}
\\n
\",\"custom\":1},{\"label\":\"Address\",\"fieldname\":\"company_address_display\",\"fieldtype\":\"Text Editor\",\"show_label\":\"hide\"}]},{\"label\":\"\",\"fields\":[{\"label\":\"Posting Date\",\"fieldname\":\"posting_date\",\"fieldtype\":\"Date\",\"show_label\":\"inline\",\"label_gap\":6},{\"label\":\"Payment Due Date\",\"fieldname\":\"due_date\",\"fieldtype\":\"Date\",\"show_label\":\"inline\",\"label_gap\":6},{\"label\":\"Custom HTML\",\"fieldname\":\"custom_html_vytjghmu_zBGrfDlm\",\"fieldtype\":\"HTML\",\"html\":\"\\n
Bill To:
\\n
{{ doc.customer }}
\\n
\",\"custom\":1},{\"label\":\"Address\",\"fieldname\":\"address_display\",\"fieldtype\":\"Text Editor\",\"show_label\":\"hide\"}]}],\"has_fields\":true,\"cell_padding\":10,\"custom_style\":\"\",\"margin\":{\"top\":15,\"right\":0,\"bottom\":0,\"left\":0},\"field_borders\":true,\"gap\":0},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"\",\"fieldname\":\"items\",\"fieldtype\":\"Table\",\"options\":\"Sales Invoice Item\",\"table_columns\":[{\"label\":\"No\",\"fieldname\":\"idx\",\"fieldtype\":\"Data\",\"width\":5},{\"label\":\"Item\",\"fieldname\":\"item_name\",\"fieldtype\":\"Data\",\"width\":22,\"column_condition\":\"\"},{\"label\":\"Item\",\"fieldname\":\"item_code\",\"fieldtype\":\"Link\",\"options\":\"Item\",\"width\":13},{\"label\":\"Quantity\",\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"options\":\"UOM\",\"width\":10,\"merged_fields\":[{\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity != 1\"},{\"label\":\"Quantity\",\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"width\":10,\"merged_fields\":[{\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity\"},{\"label\":\"Rate\",\"fieldname\":\"rate\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":9},{\"label\":\"Amount\",\"fieldname\":\"amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":11}],\"table_style\":\"lined\",\"table_bordered\":true,\"table_header\":\"styled\",\"table_cell_padding\":8,\"table_radius\":10,\"show_label\":\"hide\"}]}],\"has_fields\":true,\"margin\":{\"top\":10,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[]},{\"label\":\"\",\"fields\":[{\"label\":\"Sub Total\",\"fieldname\":\"total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"\"},{\"label\":\"Discount\",\"fieldname\":\"discount_amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"\"},{\"label\":\"\",\"fieldname\":\"repeater\",\"fieldtype\":\"Repeater\",\"source\":\"taxes\",\"repeater_columns\":[{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"description\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"left\",\"width\":65,\"color\":\"#6b7280\"},{\"template\":[{\"t\":\"f\",\"v\":\"tax_amount\"}],\"align\":\"right\",\"width\":35,\"color\":\"#1f2328\"}],\"row_condition\":\"print_settings.print_taxes_with_zero_amount or row.tax_amount != 0\"},{\"label\":\"Grand Total\",\"fieldname\":\"grand_total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-top:1.5px solid #e5e7eb;margin-top:6px;padding-top:10px;font-weight:700;\",\"label_color\":\"#1f2328\"}]}],\"has_fields\":true,\"field_orientation\":\"left-right\",\"gap\":40,\"margin\":{\"top\":15,\"right\":12,\"bottom\":0,\"left\":0},\"padding\":{\"top\":0,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"In Words\",\"fieldname\":\"in_words\",\"fieldtype\":\"Small Text\",\"show_label\":\"hide\"}]}],\"background\":\"#f8f8f8\",\"padding\":{\"top\":5,\"right\":12,\"bottom\":5,\"left\":12},\"margin\":{\"top\":5,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Divider\",\"fieldname\":\"divider_dGLQjxHJ\",\"fieldtype\":\"Divider\",\"custom\":1}]}]},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Terms and Conditions\",\"fieldname\":\"terms\",\"fieldtype\":\"Text Editor\",\"allow_page_break\":true}]}],\"has_fields\":true,\"margin\":{\"top\":5,\"right\":12,\"bottom\":0,\"left\":12}}],\"footer\":{\"columns\":[{\"label\":\"\",\"fields\":[]}],\"show_label\":\"hide\"}}",
"idx": 0,
"label_color": "#6b7280",
"line_breaks": 0,
@@ -18,7 +18,7 @@
"margin_left": 8.0,
"margin_right": 8.0,
"margin_top": 15.0,
- "modified": "2026-07-23 17:31:13.130963",
+ "modified": "2026-08-17 15:27:15.246807",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Sales Invoice Bordered",
diff --git a/erpnext/accounts/print_format/sales_invoice_classic/sales_invoice_classic.json b/erpnext/accounts/print_format/sales_invoice_classic/sales_invoice_classic.json
index 87fe6936aad..efaadc362b9 100644
--- a/erpnext/accounts/print_format/sales_invoice_classic/sales_invoice_classic.json
+++ b/erpnext/accounts/print_format/sales_invoice_classic/sales_invoice_classic.json
@@ -10,7 +10,7 @@
"doctype": "Print Format",
"font": "Inter",
"font_size": 13,
- "format_data": "{\"header\":{\"columns\":[{\"label\":\"\",\"fields\":[]}]},\"sections\":[{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Custom HTML\",\"fieldname\":\"custom_html_jtLStRVi\",\"fieldtype\":\"HTML\",\"html\":\"\",\"custom\":1},{\"label\":\"Customer Name\",\"fieldname\":\"customer_name\",\"fieldtype\":\"Small Text\",\"show_label\":\"hide\",\"custom_style\":\"font-weight: bold;\"},{\"label\":\"Address\",\"fieldname\":\"address_display\",\"fieldtype\":\"Text Editor\",\"show_label\":\"hide\"}],\"width\":53},{\"label\":\"\",\"fields\":[{\"label\":\"Sales Invoice\",\"fieldname\":\"name\",\"fieldtype\":\"Data\",\"align\":\"left\",\"label_justify\":\"space-between\",\"visible_if\":\"doc.is_return == 0\",\"custom_style\":\"font-weight: bold;\\nborder-bottom: 1px solid #e5e7eb;\\npadding-bottom: 10px;\",\"label_color\":\"#292929\"},{\"label\":\"Credit Note\",\"fieldname\":\"name\",\"fieldtype\":\"Data\",\"align\":\"left\",\"label_justify\":\"space-between\",\"visible_if\":\"doc.is_return\",\"custom_style\":\"font-weight: bold;\\nborder-bottom: 1px solid #e5e7eb;\\npadding-bottom: 10px;\",\"label_color\":\"#292929\"},{\"label\":\"Posting Date\",\"fieldname\":\"posting_date\",\"fieldtype\":\"Date\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-bottom: 1px solid #e5e7eb;\\npadding-bottom: 10px;\"},{\"label\":\"Payment Due Date\",\"fieldname\":\"due_date\",\"fieldtype\":\"Date\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-bottom: 1px solid #e5e7eb;\\npadding-bottom: 10px;\"}],\"width\":44}],\"show_label\":\"hide\",\"field_orientation\":\"left-right\",\"margin\":{\"top\":15,\"right\":12,\"bottom\":0,\"left\":12}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"\",\"fieldname\":\"items\",\"fieldtype\":\"Table\",\"options\":\"Sales Invoice Item\",\"table_columns\":[{\"label\":\"No\",\"fieldname\":\"idx\",\"fieldtype\":\"Data\",\"width\":5},{\"label\":\"Item\",\"fieldname\":\"item_name\",\"fieldtype\":\"Data\",\"width\":21},{\"label\":\"Code\",\"fieldname\":\"item_code\",\"fieldtype\":\"Link\",\"options\":\"Item\",\"width\":12},{\"label\":\"Quantity\",\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"options\":\"UOM\",\"width\":13,\"merged_fields\":[{\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity != 1\"},{\"label\":\"Quantity\",\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"width\":14,\"merged_fields\":[{\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity\"},{\"label\":\"Rate\",\"fieldname\":\"rate\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":15},{\"label\":\"Amount\",\"fieldname\":\"amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":15}],\"table_style\":\"lined\",\"table_bordered\":true,\"table_header\":\"styled\",\"table_cell_padding\":10,\"table_radius\":10,\"table_header_bg\":\"#f3f3f3\",\"show_label\":\"hide\"}]}],\"has_fields\":true,\"margin\":{\"top\":15,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[],\"width\":47},{\"label\":\"\",\"fields\":[{\"label\":\"Sub Total\",\"fieldname\":\"total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\"},{\"label\":\"Discount\",\"fieldname\":\"discount_amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"label_justify\":\"space-between\"},{\"label\":\"\",\"fieldname\":\"repeater\",\"fieldtype\":\"Repeater\",\"source\":\"taxes\",\"repeater_columns\":[{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"description\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"left\",\"width\":60,\"color\":\"#6b7280\"},{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"tax_amount\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"right\",\"width\":40,\"color\":\"#1f2328\"}],\"row_condition\":\"print_settings.print_taxes_with_zero_amount or row.tax_amount != 0\"},{\"label\":\"Grand Total\",\"fieldname\":\"grand_total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-top:1px solid #e5e7eb;margin-top:5px;padding-top:9px;font-weight:700;\",\"label_color\":\"#1f2328\"}],\"width\":50}],\"has_fields\":true,\"field_orientation\":\"left-right\",\"gap\":24,\"margin\":{\"top\":10,\"right\":12,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"In Words\",\"fieldname\":\"in_words\",\"fieldtype\":\"Small Text\"}]}],\"field_orientation\":\"left-right\",\"margin\":{\"top\":10,\"right\":0,\"bottom\":0,\"left\":0},\"background\":\"#f8f8f8\",\"padding\":{\"top\":5,\"right\":12,\"bottom\":5,\"left\":12}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Divider\",\"fieldname\":\"divider_LeiIYjph\",\"fieldtype\":\"Divider\",\"custom\":1}]}]},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Terms and Conditions Details\",\"fieldname\":\"terms\",\"fieldtype\":\"Text Editor\"}]}],\"margin\":{\"top\":5,\"right\":12,\"bottom\":0,\"left\":12}}],\"footer\":{\"columns\":[{\"label\":\"\",\"fields\":[]}],\"show_label\":\"hide\"}}",
+ "format_data": "{\"header\":{\"columns\":[{\"label\":\"\",\"fields\":[]}]},\"sections\":[{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Custom HTML\",\"fieldname\":\"custom_html_jtLStRVi\",\"fieldtype\":\"HTML\",\"html\":\"\",\"custom\":1},{\"label\":\"Customer Name\",\"fieldname\":\"customer_name\",\"fieldtype\":\"Small Text\",\"show_label\":\"hide\",\"custom_style\":\"font-weight: bold;\"},{\"label\":\"Address\",\"fieldname\":\"address_display\",\"fieldtype\":\"Text Editor\",\"show_label\":\"hide\"}],\"width\":53},{\"label\":\"\",\"fields\":[{\"label\":\"Sales Invoice\",\"fieldname\":\"name\",\"fieldtype\":\"Data\",\"align\":\"left\",\"label_justify\":\"space-between\",\"visible_if\":\"doc.is_return == 0\",\"custom_style\":\"font-weight: bold;\\nborder-bottom: 1px solid #e5e7eb;\\npadding-bottom: 10px;\",\"label_color\":\"#292929\"},{\"label\":\"Credit Note\",\"fieldname\":\"name\",\"fieldtype\":\"Data\",\"align\":\"left\",\"label_justify\":\"space-between\",\"visible_if\":\"doc.is_return\",\"custom_style\":\"font-weight: bold;\\nborder-bottom: 1px solid #e5e7eb;\\npadding-bottom: 10px;\",\"label_color\":\"#292929\"},{\"label\":\"Posting Date\",\"fieldname\":\"posting_date\",\"fieldtype\":\"Date\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-bottom: 1px solid #e5e7eb;\\npadding-bottom: 10px;\"},{\"label\":\"Payment Due Date\",\"fieldname\":\"due_date\",\"fieldtype\":\"Date\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-bottom: 1px solid #e5e7eb;\\npadding-bottom: 10px;\"}],\"width\":44}],\"show_label\":\"hide\",\"field_orientation\":\"left-right\",\"margin\":{\"top\":15,\"right\":12,\"bottom\":0,\"left\":12}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"\",\"fieldname\":\"items\",\"fieldtype\":\"Table\",\"options\":\"Sales Invoice Item\",\"table_columns\":[{\"label\":\"No\",\"fieldname\":\"idx\",\"fieldtype\":\"Data\",\"width\":5},{\"label\":\"Item\",\"fieldname\":\"item_name\",\"fieldtype\":\"Data\",\"width\":21},{\"label\":\"Code\",\"fieldname\":\"item_code\",\"fieldtype\":\"Link\",\"options\":\"Item\",\"width\":12},{\"label\":\"Quantity\",\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"options\":\"UOM\",\"width\":13,\"merged_fields\":[{\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity != 1\"},{\"label\":\"Quantity\",\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"width\":14,\"merged_fields\":[{\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity\"},{\"label\":\"Rate\",\"fieldname\":\"rate\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":15},{\"label\":\"Amount\",\"fieldname\":\"amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":15}],\"table_style\":\"lined\",\"table_bordered\":true,\"table_header\":\"styled\",\"table_cell_padding\":10,\"table_radius\":10,\"table_header_bg\":\"#f3f3f3\",\"show_label\":\"hide\"}]}],\"has_fields\":true,\"margin\":{\"top\":15,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[],\"width\":47},{\"label\":\"\",\"fields\":[{\"label\":\"Sub Total\",\"fieldname\":\"total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\"},{\"label\":\"Discount\",\"fieldname\":\"discount_amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"label_justify\":\"space-between\"},{\"label\":\"\",\"fieldname\":\"repeater\",\"fieldtype\":\"Repeater\",\"source\":\"taxes\",\"repeater_columns\":[{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"description\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"left\",\"width\":60,\"color\":\"#6b7280\"},{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"tax_amount\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"right\",\"width\":40,\"color\":\"#1f2328\"}],\"row_condition\":\"print_settings.print_taxes_with_zero_amount or row.tax_amount != 0\"},{\"label\":\"Grand Total\",\"fieldname\":\"grand_total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-top:1px solid #e5e7eb;margin-top:5px;padding-top:9px;font-weight:700;\",\"label_color\":\"#1f2328\"}],\"width\":50}],\"has_fields\":true,\"field_orientation\":\"left-right\",\"gap\":24,\"margin\":{\"top\":10,\"right\":12,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"In Words\",\"fieldname\":\"in_words\",\"fieldtype\":\"Small Text\"}]}],\"field_orientation\":\"left-right\",\"margin\":{\"top\":10,\"right\":0,\"bottom\":0,\"left\":0},\"background\":\"#f8f8f8\",\"padding\":{\"top\":5,\"right\":12,\"bottom\":5,\"left\":12}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Divider\",\"fieldname\":\"divider_LeiIYjph\",\"fieldtype\":\"Divider\",\"custom\":1}]}]},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Terms and Conditions Details\",\"fieldname\":\"terms\",\"fieldtype\":\"Text Editor\",\"allow_page_break\":true}]}],\"margin\":{\"top\":5,\"right\":12,\"bottom\":0,\"left\":12}}],\"footer\":{\"columns\":[{\"label\":\"\",\"fields\":[]}],\"show_label\":\"hide\"}}",
"idx": 0,
"label_color": "#6b7280",
"line_breaks": 0,
@@ -18,7 +18,7 @@
"margin_left": 8.0,
"margin_right": 8.0,
"margin_top": 10.0,
- "modified": "2026-07-23 17:39:50.717285",
+ "modified": "2026-08-17 15:24:57.726497",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Sales Invoice Classic",
diff --git a/erpnext/accounts/print_format/sales_invoice_modern/sales_invoice_modern.json b/erpnext/accounts/print_format/sales_invoice_modern/sales_invoice_modern.json
index 75f50ecd957..5c14a828c37 100644
--- a/erpnext/accounts/print_format/sales_invoice_modern/sales_invoice_modern.json
+++ b/erpnext/accounts/print_format/sales_invoice_modern/sales_invoice_modern.json
@@ -10,7 +10,7 @@
"doctype": "Print Format",
"font": "Inter",
"font_size": 14,
- "format_data": "{\"header\":{\"columns\":[{\"label\":\"\",\"fields\":[]}]},\"sections\":[{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Custom HTML\",\"fieldname\":\"custom_html_jPuFiKyJ\",\"fieldtype\":\"HTML\",\"html\":\"\\n
\\n {{ \\\"Credit Note\\\" if doc.is_return else \\\"Sales Invoice\\\" }}\\n
\\n
\\n {{ doc.name }}\\n
\\n
\",\"custom\":1}]}],\"margin\":{\"top\":10,\"right\":0,\"bottom\":10,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Divider\",\"fieldname\":\"divider_QbdbRgGE\",\"fieldtype\":\"Divider\",\"custom\":1}]}]},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Billed To\",\"fieldname\":\"customer_name\",\"fieldtype\":\"Small Text\",\"custom_style\":\"flex-direction:column;align-items:flex-start;gap:3px;\"},{\"label\":\"Address\",\"fieldname\":\"address_display\",\"fieldtype\":\"Text Editor\",\"show_label\":\"hide\"}],\"width\":56},{\"label\":\"\",\"fields\":[{\"label\":\"Posting Date\",\"fieldname\":\"posting_date\",\"fieldtype\":\"Date\",\"align\":\"left\",\"label_justify\":\"space-between\"},{\"label\":\"Due Date\",\"fieldname\":\"due_date\",\"fieldtype\":\"Date\",\"align\":\"left\",\"label_justify\":\"space-between\"},{\"label\":\"Status\",\"fieldname\":\"status\",\"fieldtype\":\"Select\",\"options\":\"\\nDraft\\nReturn\\nCredit Note Issued\\nSubmitted\\nPaid\\nPartly Paid\\nUnpaid\\nUnpaid and Discounted\\nPartly Paid and Discounted\\nOverdue and Discounted\\nOverdue\\nCancelled\\nInternal Transfer\",\"label_justify\":\"space-between\",\"visible_if\":\"\"}],\"width\":38}],\"has_fields\":true,\"field_orientation\":\"left-right\",\"gap\":44,\"margin\":{\"top\":15,\"right\":12,\"bottom\":0,\"left\":12}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"\",\"fieldname\":\"items\",\"fieldtype\":\"Table\",\"options\":\"Sales Invoice Item\",\"table_columns\":[{\"label\":\"No\",\"fieldname\":\"idx\",\"fieldtype\":\"Data\",\"width\":5},{\"label\":\"Item\",\"fieldname\":\"item_name\",\"fieldtype\":\"Data\",\"width\":25,\"merged_fields\":[{\"fieldname\":\"description\",\"fieldtype\":\"Text Editor\",\"style\":\"muted-sm\"}]},{\"label\":\"Code\",\"fieldname\":\"item_code\",\"fieldtype\":\"Link\",\"options\":\"Item\",\"width\":12},{\"label\":\"Quantity\",\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"options\":\"UOM\",\"width\":12,\"merged_fields\":[{\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity != 1\"},{\"label\":\"Quantity\",\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"width\":12,\"merged_fields\":[{\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity\"},{\"label\":\"Rate\",\"fieldname\":\"rate\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":14},{\"label\":\"Amount\",\"fieldname\":\"amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":15}],\"table_bordered\":false,\"table_header\":\"styled\",\"table_cell_padding\":10,\"table_radius\":8,\"table_header_bg\":\"#f3f3f3\",\"table_border_color\":\"#f3f3f3\",\"show_label\":\"hide\",\"custom_style\":\"\"}]}],\"has_fields\":true,\"margin\":{\"top\":0,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[],\"width\":45},{\"label\":\"\",\"fields\":[{\"label\":\"Sub Total\",\"fieldname\":\"total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"\"},{\"label\":\"Discount\",\"fieldname\":\"discount_amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"label_justify\":\"space-between\",\"custom_style\":\"\"},{\"label\":\"\",\"fieldname\":\"repeater\",\"fieldtype\":\"Repeater\",\"source\":\"taxes\",\"repeater_columns\":[{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"description\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"left\",\"width\":60,\"color\":\"#6b7280\"},{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"tax_amount\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"right\",\"width\":40,\"color\":\"#1f2328\"}],\"row_condition\":\"print_settings.print_taxes_with_zero_amount or row.tax_amount != 0\",\"custom_style\":\"\"},{\"label\":\"Grand Total\",\"fieldname\":\"grand_total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-top:1px solid #e5e7eb;margin-top:5px;padding-top:9px;font-weight:700;\",\"label_color\":\"#1f2328\"}],\"width\":49}],\"has_fields\":true,\"field_orientation\":\"left-right\",\"gap\":44,\"margin\":{\"top\":15,\"right\":12,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"In Words\",\"fieldname\":\"in_words\",\"fieldtype\":\"Small Text\",\"show_label\":\"hide\"}]}],\"background\":\"#f8f8f8\",\"padding\":{\"top\":5,\"right\":12,\"bottom\":5,\"left\":12},\"margin\":{\"top\":10,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Divider\",\"fieldname\":\"divider_IMskVBrj\",\"fieldtype\":\"Divider\",\"custom\":1}]}]},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Terms and Conditions Details\",\"fieldname\":\"terms\",\"fieldtype\":\"Text Editor\"}]}],\"margin\":{\"top\":5,\"right\":12,\"bottom\":0,\"left\":12}}],\"footer\":{\"columns\":[{\"label\":\"\",\"fields\":[]}],\"show_label\":\"hide\"}}",
+ "format_data": "{\"header\":{\"columns\":[{\"label\":\"\",\"fields\":[]}]},\"sections\":[{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Custom HTML\",\"fieldname\":\"custom_html_jPuFiKyJ\",\"fieldtype\":\"HTML\",\"html\":\"\\n
\\n {{ \\\"Credit Note\\\" if doc.is_return else \\\"Sales Invoice\\\" }}\\n
\\n
\\n {{ doc.name }}\\n
\\n
\",\"custom\":1}]}],\"margin\":{\"top\":10,\"right\":0,\"bottom\":10,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Divider\",\"fieldname\":\"divider_QbdbRgGE\",\"fieldtype\":\"Divider\",\"custom\":1}]}]},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Billed To\",\"fieldname\":\"customer_name\",\"fieldtype\":\"Small Text\",\"custom_style\":\"flex-direction:column;align-items:flex-start;gap:3px;\"},{\"label\":\"Address\",\"fieldname\":\"address_display\",\"fieldtype\":\"Text Editor\",\"show_label\":\"hide\"}],\"width\":56},{\"label\":\"\",\"fields\":[{\"label\":\"Posting Date\",\"fieldname\":\"posting_date\",\"fieldtype\":\"Date\",\"align\":\"left\",\"label_justify\":\"space-between\"},{\"label\":\"Due Date\",\"fieldname\":\"due_date\",\"fieldtype\":\"Date\",\"align\":\"left\",\"label_justify\":\"space-between\"},{\"label\":\"Status\",\"fieldname\":\"status\",\"fieldtype\":\"Select\",\"options\":\"\\nDraft\\nReturn\\nCredit Note Issued\\nSubmitted\\nPaid\\nPartly Paid\\nUnpaid\\nUnpaid and Discounted\\nPartly Paid and Discounted\\nOverdue and Discounted\\nOverdue\\nCancelled\\nInternal Transfer\",\"label_justify\":\"space-between\",\"visible_if\":\"\"}],\"width\":38}],\"has_fields\":true,\"field_orientation\":\"left-right\",\"gap\":44,\"margin\":{\"top\":15,\"right\":12,\"bottom\":0,\"left\":12}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"\",\"fieldname\":\"items\",\"fieldtype\":\"Table\",\"options\":\"Sales Invoice Item\",\"table_columns\":[{\"label\":\"No\",\"fieldname\":\"idx\",\"fieldtype\":\"Data\",\"width\":5},{\"label\":\"Item\",\"fieldname\":\"item_name\",\"fieldtype\":\"Data\",\"width\":25,\"merged_fields\":[{\"fieldname\":\"description\",\"fieldtype\":\"Text Editor\",\"style\":\"muted-sm\"}]},{\"label\":\"Code\",\"fieldname\":\"item_code\",\"fieldtype\":\"Link\",\"options\":\"Item\",\"width\":12},{\"label\":\"Quantity\",\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"options\":\"UOM\",\"width\":12,\"merged_fields\":[{\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity != 1\"},{\"label\":\"Quantity\",\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"width\":12,\"merged_fields\":[{\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity\"},{\"label\":\"Rate\",\"fieldname\":\"rate\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":14},{\"label\":\"Amount\",\"fieldname\":\"amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":15}],\"table_bordered\":false,\"table_header\":\"styled\",\"table_cell_padding\":10,\"table_radius\":8,\"table_header_bg\":\"#f3f3f3\",\"table_border_color\":\"#f3f3f3\",\"show_label\":\"hide\",\"custom_style\":\"\"}]}],\"has_fields\":true,\"margin\":{\"top\":0,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[],\"width\":45},{\"label\":\"\",\"fields\":[{\"label\":\"Sub Total\",\"fieldname\":\"total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"\"},{\"label\":\"Discount\",\"fieldname\":\"discount_amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"label_justify\":\"space-between\",\"custom_style\":\"\"},{\"label\":\"\",\"fieldname\":\"repeater\",\"fieldtype\":\"Repeater\",\"source\":\"taxes\",\"repeater_columns\":[{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"description\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"left\",\"width\":60,\"color\":\"#6b7280\"},{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"tax_amount\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"right\",\"width\":40,\"color\":\"#1f2328\"}],\"row_condition\":\"print_settings.print_taxes_with_zero_amount or row.tax_amount != 0\",\"custom_style\":\"\"},{\"label\":\"Grand Total\",\"fieldname\":\"grand_total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-top:1px solid #e5e7eb;margin-top:5px;padding-top:9px;font-weight:700;\",\"label_color\":\"#1f2328\"}],\"width\":49}],\"has_fields\":true,\"field_orientation\":\"left-right\",\"gap\":44,\"margin\":{\"top\":15,\"right\":12,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"In Words\",\"fieldname\":\"in_words\",\"fieldtype\":\"Small Text\",\"show_label\":\"hide\"}]}],\"background\":\"#f8f8f8\",\"padding\":{\"top\":5,\"right\":12,\"bottom\":5,\"left\":12},\"margin\":{\"top\":10,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Divider\",\"fieldname\":\"divider_IMskVBrj\",\"fieldtype\":\"Divider\",\"custom\":1}]}]},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Terms and Conditions Details\",\"fieldname\":\"terms\",\"fieldtype\":\"Text Editor\",\"allow_page_break\":true}]}],\"margin\":{\"top\":5,\"right\":12,\"bottom\":0,\"left\":12}}],\"footer\":{\"columns\":[{\"label\":\"\",\"fields\":[]}],\"show_label\":\"hide\"}}",
"idx": 0,
"label_color": "#6b7280",
"line_breaks": 0,
@@ -18,7 +18,7 @@
"margin_left": 8.0,
"margin_right": 8.0,
"margin_top": 15.0,
- "modified": "2026-07-23 17:28:35.317242",
+ "modified": "2026-08-17 15:27:04.988758",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Sales Invoice Modern",
diff --git a/erpnext/selling/print_format/sales_order_bordered/sales_order_bordered.json b/erpnext/selling/print_format/sales_order_bordered/sales_order_bordered.json
index b159f89c60d..61af9587554 100644
--- a/erpnext/selling/print_format/sales_order_bordered/sales_order_bordered.json
+++ b/erpnext/selling/print_format/sales_order_bordered/sales_order_bordered.json
@@ -9,7 +9,7 @@
"doctype": "Print Format",
"font": "Inter",
"font_size": 12,
- "format_data": "{\"header\":{\"columns\":[{\"label\":\"\",\"fields\":[]}]},\"sections\":[{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Customer Name\",\"fieldname\":\"customer_name\",\"fieldtype\":\"Data\",\"show_label\":\"inline\",\"label_gap\":6},{\"label\":\"Sales Order\",\"fieldname\":\"name\",\"fieldtype\":\"Data\",\"show_label\":\"inline\",\"label_gap\":6},{\"label\":\"Custom HTML\",\"fieldname\":\"custom_html_vytjghmu\",\"fieldtype\":\"HTML\",\"html\":\"\\n
Bill From:
\\n
{{ doc.company }}
\\n
\",\"custom\":1},{\"label\":\"Address\",\"fieldname\":\"company_address_display\",\"fieldtype\":\"Text Editor\",\"show_label\":\"hide\"}]},{\"label\":\"\",\"fields\":[{\"label\":\"Order Date\",\"fieldname\":\"transaction_date\",\"fieldtype\":\"Date\",\"show_label\":\"inline\",\"label_gap\":6},{\"label\":\"Delivery Date\",\"fieldname\":\"delivery_date\",\"fieldtype\":\"Date\",\"show_label\":\"inline\",\"label_gap\":6},{\"label\":\"Custom HTML\",\"fieldname\":\"custom_html_vytjghmu_zBGrfDlm\",\"fieldtype\":\"HTML\",\"html\":\"\\n
Bill To:
\\n
{{ doc.customer }}
\\n
\",\"custom\":1},{\"label\":\"Address\",\"fieldname\":\"address_display\",\"fieldtype\":\"Text Editor\",\"show_label\":\"hide\"}]}],\"has_fields\":true,\"cell_padding\":10,\"custom_style\":\"\",\"margin\":{\"top\":15,\"right\":0,\"bottom\":0,\"left\":0},\"field_borders\":true,\"gap\":0},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"\",\"fieldname\":\"items\",\"fieldtype\":\"Table\",\"options\":\"Sales Order Item\",\"table_columns\":[{\"label\":\"No\",\"fieldname\":\"idx\",\"fieldtype\":\"Data\",\"width\":5},{\"label\":\"Item\",\"fieldname\":\"item_name\",\"fieldtype\":\"Data\",\"width\":22,\"column_condition\":\"\"},{\"label\":\"Item\",\"fieldname\":\"item_code\",\"fieldtype\":\"Link\",\"options\":\"Item\",\"width\":13},{\"label\":\"Quantity\",\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"options\":\"UOM\",\"width\":10,\"merged_fields\":[{\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity != 1\"},{\"label\":\"Quantity\",\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"width\":10,\"merged_fields\":[{\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity\"},{\"label\":\"Rate\",\"fieldname\":\"rate\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":9},{\"label\":\"Amount\",\"fieldname\":\"amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":11}],\"table_style\":\"lined\",\"table_bordered\":true,\"table_header\":\"styled\",\"table_cell_padding\":8,\"table_radius\":10,\"show_label\":\"hide\"}]}],\"has_fields\":true,\"margin\":{\"top\":10,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[]},{\"label\":\"\",\"fields\":[{\"label\":\"Sub Total\",\"fieldname\":\"total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"\"},{\"label\":\"Discount\",\"fieldname\":\"discount_amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"\"},{\"label\":\"\",\"fieldname\":\"repeater\",\"fieldtype\":\"Repeater\",\"source\":\"taxes\",\"repeater_columns\":[{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"description\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"left\",\"width\":65,\"color\":\"#6b7280\"},{\"template\":[{\"t\":\"f\",\"v\":\"tax_amount\"}],\"align\":\"right\",\"width\":35,\"color\":\"#1f2328\"}],\"row_condition\":\"print_settings.print_taxes_with_zero_amount or row.tax_amount != 0\"},{\"label\":\"Grand Total\",\"fieldname\":\"grand_total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-top:1.5px solid #e5e7eb;margin-top:6px;padding-top:10px;font-weight:700;\",\"label_color\":\"#1f2328\"}]}],\"has_fields\":true,\"field_orientation\":\"left-right\",\"gap\":40,\"margin\":{\"top\":15,\"right\":12,\"bottom\":0,\"left\":0},\"padding\":{\"top\":0,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"In Words\",\"fieldname\":\"in_words\",\"fieldtype\":\"Data\",\"show_label\":\"hide\"}]}],\"background\":\"#f8f8f8\",\"padding\":{\"top\":5,\"right\":12,\"bottom\":5,\"left\":12},\"margin\":{\"top\":5,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Divider\",\"fieldname\":\"divider_dGLQjxHJ\",\"fieldtype\":\"Divider\",\"custom\":1}]}]},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Terms and Conditions\",\"fieldname\":\"terms\",\"fieldtype\":\"Text Editor\"}]}],\"has_fields\":true,\"margin\":{\"top\":5,\"right\":12,\"bottom\":0,\"left\":12}}],\"footer\":{\"columns\":[{\"label\":\"\",\"fields\":[]}],\"show_label\":\"hide\"}}",
+ "format_data": "{\"header\":{\"columns\":[{\"label\":\"\",\"fields\":[]}]},\"sections\":[{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Customer Name\",\"fieldname\":\"customer_name\",\"fieldtype\":\"Data\",\"show_label\":\"inline\",\"label_gap\":6},{\"label\":\"Sales Order\",\"fieldname\":\"name\",\"fieldtype\":\"Data\",\"show_label\":\"inline\",\"label_gap\":6},{\"label\":\"Custom HTML\",\"fieldname\":\"custom_html_vytjghmu\",\"fieldtype\":\"HTML\",\"html\":\"\\n
Bill From:
\\n
{{ doc.company }}
\\n
\",\"custom\":1},{\"label\":\"Address\",\"fieldname\":\"company_address_display\",\"fieldtype\":\"Text Editor\",\"show_label\":\"hide\"}]},{\"label\":\"\",\"fields\":[{\"label\":\"Order Date\",\"fieldname\":\"transaction_date\",\"fieldtype\":\"Date\",\"show_label\":\"inline\",\"label_gap\":6},{\"label\":\"Delivery Date\",\"fieldname\":\"delivery_date\",\"fieldtype\":\"Date\",\"show_label\":\"inline\",\"label_gap\":6},{\"label\":\"Custom HTML\",\"fieldname\":\"custom_html_vytjghmu_zBGrfDlm\",\"fieldtype\":\"HTML\",\"html\":\"\\n
Bill To:
\\n
{{ doc.customer }}
\\n
\",\"custom\":1},{\"label\":\"Address\",\"fieldname\":\"address_display\",\"fieldtype\":\"Text Editor\",\"show_label\":\"hide\"}]}],\"has_fields\":true,\"cell_padding\":10,\"custom_style\":\"\",\"margin\":{\"top\":15,\"right\":0,\"bottom\":0,\"left\":0},\"field_borders\":true,\"gap\":0},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"\",\"fieldname\":\"items\",\"fieldtype\":\"Table\",\"options\":\"Sales Order Item\",\"table_columns\":[{\"label\":\"No\",\"fieldname\":\"idx\",\"fieldtype\":\"Data\",\"width\":5},{\"label\":\"Item\",\"fieldname\":\"item_name\",\"fieldtype\":\"Data\",\"width\":22,\"column_condition\":\"\"},{\"label\":\"Item\",\"fieldname\":\"item_code\",\"fieldtype\":\"Link\",\"options\":\"Item\",\"width\":13},{\"label\":\"Quantity\",\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"options\":\"UOM\",\"width\":10,\"merged_fields\":[{\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity != 1\"},{\"label\":\"Quantity\",\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"width\":10,\"merged_fields\":[{\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity\"},{\"label\":\"Rate\",\"fieldname\":\"rate\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":9},{\"label\":\"Amount\",\"fieldname\":\"amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":11}],\"table_style\":\"lined\",\"table_bordered\":true,\"table_header\":\"styled\",\"table_cell_padding\":8,\"table_radius\":10,\"show_label\":\"hide\"}]}],\"has_fields\":true,\"margin\":{\"top\":10,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[]},{\"label\":\"\",\"fields\":[{\"label\":\"Sub Total\",\"fieldname\":\"total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"\"},{\"label\":\"Discount\",\"fieldname\":\"discount_amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"\"},{\"label\":\"\",\"fieldname\":\"repeater\",\"fieldtype\":\"Repeater\",\"source\":\"taxes\",\"repeater_columns\":[{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"description\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"left\",\"width\":65,\"color\":\"#6b7280\"},{\"template\":[{\"t\":\"f\",\"v\":\"tax_amount\"}],\"align\":\"right\",\"width\":35,\"color\":\"#1f2328\"}],\"row_condition\":\"print_settings.print_taxes_with_zero_amount or row.tax_amount != 0\"},{\"label\":\"Grand Total\",\"fieldname\":\"grand_total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-top:1.5px solid #e5e7eb;margin-top:6px;padding-top:10px;font-weight:700;\",\"label_color\":\"#1f2328\"}]}],\"has_fields\":true,\"field_orientation\":\"left-right\",\"gap\":40,\"margin\":{\"top\":15,\"right\":12,\"bottom\":0,\"left\":0},\"padding\":{\"top\":0,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"In Words\",\"fieldname\":\"in_words\",\"fieldtype\":\"Data\",\"show_label\":\"hide\"}]}],\"background\":\"#f8f8f8\",\"padding\":{\"top\":5,\"right\":12,\"bottom\":5,\"left\":12},\"margin\":{\"top\":5,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Divider\",\"fieldname\":\"divider_dGLQjxHJ\",\"fieldtype\":\"Divider\",\"custom\":1}]}]},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Terms and Conditions\",\"fieldname\":\"terms\",\"fieldtype\":\"Text Editor\",\"allow_page_break\":true}]}],\"has_fields\":true,\"margin\":{\"top\":5,\"right\":12,\"bottom\":0,\"left\":12}}],\"footer\":{\"columns\":[{\"label\":\"\",\"fields\":[]}],\"show_label\":\"hide\"}}",
"idx": 0,
"label_color": "#6b7280",
"line_breaks": 0,
@@ -17,7 +17,7 @@
"margin_left": 8.0,
"margin_right": 8.0,
"margin_top": 15.0,
- "modified": "2026-07-24 12:56:57.777517",
+ "modified": "2026-08-17 15:26:24.648837",
"modified_by": "Administrator",
"module": "Selling",
"name": "Sales Order Bordered",
diff --git a/erpnext/selling/print_format/sales_order_classic/sales_order_classic.json b/erpnext/selling/print_format/sales_order_classic/sales_order_classic.json
index eba7a43f186..9e2f423fc2e 100644
--- a/erpnext/selling/print_format/sales_order_classic/sales_order_classic.json
+++ b/erpnext/selling/print_format/sales_order_classic/sales_order_classic.json
@@ -9,7 +9,7 @@
"doctype": "Print Format",
"font": "Inter",
"font_size": 13,
- "format_data": "{\"header\":{\"columns\":[{\"label\":\"\",\"fields\":[]}]},\"sections\":[{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Custom HTML\",\"fieldname\":\"custom_html_jtLStRVi\",\"fieldtype\":\"HTML\",\"html\":\"\",\"custom\":1},{\"label\":\"Customer Name\",\"fieldname\":\"customer_name\",\"fieldtype\":\"Data\",\"show_label\":\"hide\",\"custom_style\":\"font-weight: bold;\"},{\"label\":\"Address\",\"fieldname\":\"address_display\",\"fieldtype\":\"Text Editor\",\"show_label\":\"hide\"}],\"width\":53},{\"label\":\"\",\"fields\":[{\"label\":\"Sales Order\",\"fieldname\":\"name\",\"fieldtype\":\"Data\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"font-weight: bold;\\nborder-bottom: 1px solid #e5e7eb;\\npadding-bottom: 10px;\",\"label_color\":\"#292929\"},{\"label\":\"Order Date\",\"fieldname\":\"transaction_date\",\"fieldtype\":\"Date\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-bottom: 1px solid #e5e7eb;\\npadding-bottom: 10px;\"},{\"label\":\"Delivery Date\",\"fieldname\":\"delivery_date\",\"fieldtype\":\"Date\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-bottom: 1px solid #e5e7eb;\\npadding-bottom: 10px;\"}],\"width\":44}],\"show_label\":\"hide\",\"field_orientation\":\"left-right\",\"margin\":{\"top\":15,\"right\":12,\"bottom\":0,\"left\":12}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"\",\"fieldname\":\"items\",\"fieldtype\":\"Table\",\"options\":\"Sales Order Item\",\"table_columns\":[{\"label\":\"No\",\"fieldname\":\"idx\",\"fieldtype\":\"Data\",\"width\":5},{\"label\":\"Item\",\"fieldname\":\"item_name\",\"fieldtype\":\"Data\",\"width\":21},{\"label\":\"Code\",\"fieldname\":\"item_code\",\"fieldtype\":\"Link\",\"options\":\"Item\",\"width\":12},{\"label\":\"Quantity\",\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"options\":\"UOM\",\"width\":13,\"merged_fields\":[{\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity != 1\"},{\"label\":\"Quantity\",\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"width\":14,\"merged_fields\":[{\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity\"},{\"label\":\"Rate\",\"fieldname\":\"rate\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":15},{\"label\":\"Amount\",\"fieldname\":\"amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":15}],\"table_style\":\"lined\",\"table_bordered\":true,\"table_header\":\"styled\",\"table_cell_padding\":10,\"table_radius\":10,\"table_header_bg\":\"#f3f3f3\",\"show_label\":\"hide\"}]}],\"has_fields\":true,\"margin\":{\"top\":15,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[],\"width\":47},{\"label\":\"\",\"fields\":[{\"label\":\"Sub Total\",\"fieldname\":\"total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\"},{\"label\":\"Discount\",\"fieldname\":\"discount_amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"label_justify\":\"space-between\"},{\"label\":\"\",\"fieldname\":\"repeater\",\"fieldtype\":\"Repeater\",\"source\":\"taxes\",\"repeater_columns\":[{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"description\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"left\",\"width\":60,\"color\":\"#6b7280\"},{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"tax_amount\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"right\",\"width\":40,\"color\":\"#1f2328\"}],\"row_condition\":\"print_settings.print_taxes_with_zero_amount or row.tax_amount != 0\"},{\"label\":\"Grand Total\",\"fieldname\":\"grand_total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-top:1px solid #e5e7eb;margin-top:5px;padding-top:9px;font-weight:700;\",\"label_color\":\"#1f2328\"}],\"width\":50}],\"has_fields\":true,\"field_orientation\":\"left-right\",\"gap\":24,\"margin\":{\"top\":10,\"right\":12,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"In Words\",\"fieldname\":\"in_words\",\"fieldtype\":\"Data\"}]}],\"field_orientation\":\"left-right\",\"margin\":{\"top\":10,\"right\":0,\"bottom\":0,\"left\":0},\"background\":\"#f8f8f8\",\"padding\":{\"top\":5,\"right\":12,\"bottom\":5,\"left\":12}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Divider\",\"fieldname\":\"divider_LeiIYjph\",\"fieldtype\":\"Divider\",\"custom\":1}]}]},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Terms and Conditions Details\",\"fieldname\":\"terms\",\"fieldtype\":\"Text Editor\"}]}],\"margin\":{\"top\":5,\"right\":12,\"bottom\":0,\"left\":12}}],\"footer\":{\"columns\":[{\"label\":\"\",\"fields\":[]}],\"show_label\":\"hide\"}}",
+ "format_data": "{\"header\":{\"columns\":[{\"label\":\"\",\"fields\":[]}]},\"sections\":[{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Custom HTML\",\"fieldname\":\"custom_html_jtLStRVi\",\"fieldtype\":\"HTML\",\"html\":\"\",\"custom\":1},{\"label\":\"Customer Name\",\"fieldname\":\"customer_name\",\"fieldtype\":\"Data\",\"show_label\":\"hide\",\"custom_style\":\"font-weight: bold;\"},{\"label\":\"Address\",\"fieldname\":\"address_display\",\"fieldtype\":\"Text Editor\",\"show_label\":\"hide\"}],\"width\":53},{\"label\":\"\",\"fields\":[{\"label\":\"Sales Order\",\"fieldname\":\"name\",\"fieldtype\":\"Data\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"font-weight: bold;\\nborder-bottom: 1px solid #e5e7eb;\\npadding-bottom: 10px;\",\"label_color\":\"#292929\"},{\"label\":\"Order Date\",\"fieldname\":\"transaction_date\",\"fieldtype\":\"Date\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-bottom: 1px solid #e5e7eb;\\npadding-bottom: 10px;\"},{\"label\":\"Delivery Date\",\"fieldname\":\"delivery_date\",\"fieldtype\":\"Date\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-bottom: 1px solid #e5e7eb;\\npadding-bottom: 10px;\"}],\"width\":44}],\"show_label\":\"hide\",\"field_orientation\":\"left-right\",\"margin\":{\"top\":15,\"right\":12,\"bottom\":0,\"left\":12}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"\",\"fieldname\":\"items\",\"fieldtype\":\"Table\",\"options\":\"Sales Order Item\",\"table_columns\":[{\"label\":\"No\",\"fieldname\":\"idx\",\"fieldtype\":\"Data\",\"width\":5},{\"label\":\"Item\",\"fieldname\":\"item_name\",\"fieldtype\":\"Data\",\"width\":21},{\"label\":\"Code\",\"fieldname\":\"item_code\",\"fieldtype\":\"Link\",\"options\":\"Item\",\"width\":12},{\"label\":\"Quantity\",\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"options\":\"UOM\",\"width\":13,\"merged_fields\":[{\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity != 1\"},{\"label\":\"Quantity\",\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"width\":14,\"merged_fields\":[{\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity\"},{\"label\":\"Rate\",\"fieldname\":\"rate\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":15},{\"label\":\"Amount\",\"fieldname\":\"amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":15}],\"table_style\":\"lined\",\"table_bordered\":true,\"table_header\":\"styled\",\"table_cell_padding\":10,\"table_radius\":10,\"table_header_bg\":\"#f3f3f3\",\"show_label\":\"hide\"}]}],\"has_fields\":true,\"margin\":{\"top\":15,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[],\"width\":47},{\"label\":\"\",\"fields\":[{\"label\":\"Sub Total\",\"fieldname\":\"total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\"},{\"label\":\"Discount\",\"fieldname\":\"discount_amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"label_justify\":\"space-between\"},{\"label\":\"\",\"fieldname\":\"repeater\",\"fieldtype\":\"Repeater\",\"source\":\"taxes\",\"repeater_columns\":[{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"description\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"left\",\"width\":60,\"color\":\"#6b7280\"},{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"tax_amount\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"right\",\"width\":40,\"color\":\"#1f2328\"}],\"row_condition\":\"print_settings.print_taxes_with_zero_amount or row.tax_amount != 0\"},{\"label\":\"Grand Total\",\"fieldname\":\"grand_total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-top:1px solid #e5e7eb;margin-top:5px;padding-top:9px;font-weight:700;\",\"label_color\":\"#1f2328\"}],\"width\":50}],\"has_fields\":true,\"field_orientation\":\"left-right\",\"gap\":24,\"margin\":{\"top\":10,\"right\":12,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"In Words\",\"fieldname\":\"in_words\",\"fieldtype\":\"Data\"}]}],\"field_orientation\":\"left-right\",\"margin\":{\"top\":10,\"right\":0,\"bottom\":0,\"left\":0},\"background\":\"#f8f8f8\",\"padding\":{\"top\":5,\"right\":12,\"bottom\":5,\"left\":12}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Divider\",\"fieldname\":\"divider_LeiIYjph\",\"fieldtype\":\"Divider\",\"custom\":1}]}]},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Terms and Conditions Details\",\"fieldname\":\"terms\",\"fieldtype\":\"Text Editor\",\"allow_page_break\":true}]}],\"margin\":{\"top\":5,\"right\":12,\"bottom\":0,\"left\":12}}],\"footer\":{\"columns\":[{\"label\":\"\",\"fields\":[]}],\"show_label\":\"hide\"}}",
"idx": 0,
"label_color": "#6b7280",
"line_breaks": 0,
@@ -17,7 +17,7 @@
"margin_left": 8.0,
"margin_right": 8.0,
"margin_top": 10.0,
- "modified": "2026-07-24 12:56:57.882204",
+ "modified": "2026-08-17 15:25:52.889367",
"modified_by": "Administrator",
"module": "Selling",
"name": "Sales Order Classic",
diff --git a/erpnext/selling/print_format/sales_order_modern/sales_order_modern.json b/erpnext/selling/print_format/sales_order_modern/sales_order_modern.json
index c64cfa910a2..0cbad9e72b0 100644
--- a/erpnext/selling/print_format/sales_order_modern/sales_order_modern.json
+++ b/erpnext/selling/print_format/sales_order_modern/sales_order_modern.json
@@ -9,7 +9,7 @@
"doctype": "Print Format",
"font": "Inter",
"font_size": 14,
- "format_data": "{\"header\":{\"columns\":[{\"label\":\"\",\"fields\":[]}]},\"sections\":[{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Custom HTML\",\"fieldname\":\"custom_html_jPuFiKyJ\",\"fieldtype\":\"HTML\",\"html\":\"\\n
\\n Sales Order\\n
\\n
\\n {{ doc.name }}\\n
\\n
\",\"custom\":1}]}],\"margin\":{\"top\":10,\"right\":0,\"bottom\":10,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Divider\",\"fieldname\":\"divider_QbdbRgGE\",\"fieldtype\":\"Divider\",\"custom\":1}]}]},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Billed To\",\"fieldname\":\"customer_name\",\"fieldtype\":\"Data\",\"custom_style\":\"flex-direction:column;align-items:flex-start;gap:3px;\"},{\"label\":\"Address\",\"fieldname\":\"address_display\",\"fieldtype\":\"Text Editor\",\"show_label\":\"hide\"}],\"width\":56},{\"label\":\"\",\"fields\":[{\"label\":\"Order Date\",\"fieldname\":\"transaction_date\",\"fieldtype\":\"Date\",\"align\":\"left\",\"label_justify\":\"space-between\"},{\"label\":\"Delivery Date\",\"fieldname\":\"delivery_date\",\"fieldtype\":\"Date\",\"align\":\"left\",\"label_justify\":\"space-between\"},{\"label\":\"Status\",\"fieldname\":\"status\",\"fieldtype\":\"Select\",\"options\":\"\\nDraft\\nOn Hold\\nTo Pay\\nTo Deliver and Bill\\nTo Bill\\nTo Deliver\\nCompleted\\nCancelled\\nClosed\",\"label_justify\":\"space-between\",\"visible_if\":\"\"}],\"width\":38}],\"has_fields\":true,\"field_orientation\":\"left-right\",\"gap\":44,\"margin\":{\"top\":15,\"right\":12,\"bottom\":0,\"left\":12}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"\",\"fieldname\":\"items\",\"fieldtype\":\"Table\",\"options\":\"Sales Order Item\",\"table_columns\":[{\"label\":\"No\",\"fieldname\":\"idx\",\"fieldtype\":\"Data\",\"width\":5},{\"label\":\"Item\",\"fieldname\":\"item_name\",\"fieldtype\":\"Data\",\"width\":25,\"merged_fields\":[{\"fieldname\":\"description\",\"fieldtype\":\"Text Editor\",\"style\":\"muted-sm\"}]},{\"label\":\"Code\",\"fieldname\":\"item_code\",\"fieldtype\":\"Link\",\"options\":\"Item\",\"width\":12},{\"label\":\"Quantity\",\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"options\":\"UOM\",\"width\":12,\"merged_fields\":[{\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity != 1\"},{\"label\":\"Quantity\",\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"width\":12,\"merged_fields\":[{\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity\"},{\"label\":\"Rate\",\"fieldname\":\"rate\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":14},{\"label\":\"Amount\",\"fieldname\":\"amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":15}],\"table_bordered\":false,\"table_header\":\"styled\",\"table_cell_padding\":10,\"table_radius\":8,\"table_header_bg\":\"#f3f3f3\",\"table_border_color\":\"#f3f3f3\",\"show_label\":\"hide\",\"custom_style\":\"\"}]}],\"has_fields\":true,\"margin\":{\"top\":0,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[],\"width\":45},{\"label\":\"\",\"fields\":[{\"label\":\"Sub Total\",\"fieldname\":\"total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"\"},{\"label\":\"Discount\",\"fieldname\":\"discount_amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"label_justify\":\"space-between\",\"custom_style\":\"\"},{\"label\":\"\",\"fieldname\":\"repeater\",\"fieldtype\":\"Repeater\",\"source\":\"taxes\",\"repeater_columns\":[{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"description\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"left\",\"width\":60,\"color\":\"#6b7280\"},{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"tax_amount\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"right\",\"width\":40,\"color\":\"#1f2328\"}],\"row_condition\":\"print_settings.print_taxes_with_zero_amount or row.tax_amount != 0\",\"custom_style\":\"\"},{\"label\":\"Grand Total\",\"fieldname\":\"grand_total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-top:1px solid #e5e7eb;margin-top:5px;padding-top:9px;font-weight:700;\",\"label_color\":\"#1f2328\"}],\"width\":49}],\"has_fields\":true,\"field_orientation\":\"left-right\",\"gap\":44,\"margin\":{\"top\":15,\"right\":12,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"In Words\",\"fieldname\":\"in_words\",\"fieldtype\":\"Data\",\"show_label\":\"hide\"}]}],\"background\":\"#f8f8f8\",\"padding\":{\"top\":5,\"right\":12,\"bottom\":5,\"left\":12},\"margin\":{\"top\":10,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Divider\",\"fieldname\":\"divider_IMskVBrj\",\"fieldtype\":\"Divider\",\"custom\":1}]}]},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Terms and Conditions Details\",\"fieldname\":\"terms\",\"fieldtype\":\"Text Editor\"}]}],\"margin\":{\"top\":5,\"right\":12,\"bottom\":0,\"left\":12}}],\"footer\":{\"columns\":[{\"label\":\"\",\"fields\":[]}],\"show_label\":\"hide\"}}",
+ "format_data": "{\"header\":{\"columns\":[{\"label\":\"\",\"fields\":[]}]},\"sections\":[{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Custom HTML\",\"fieldname\":\"custom_html_jPuFiKyJ\",\"fieldtype\":\"HTML\",\"html\":\"\\n
\\n Sales Order\\n
\\n
\\n {{ doc.name }}\\n
\\n
\",\"custom\":1}]}],\"margin\":{\"top\":10,\"right\":0,\"bottom\":10,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Divider\",\"fieldname\":\"divider_QbdbRgGE\",\"fieldtype\":\"Divider\",\"custom\":1}]}]},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Billed To\",\"fieldname\":\"customer_name\",\"fieldtype\":\"Data\",\"custom_style\":\"flex-direction:column;align-items:flex-start;gap:3px;\"},{\"label\":\"Address\",\"fieldname\":\"address_display\",\"fieldtype\":\"Text Editor\",\"show_label\":\"hide\"}],\"width\":56},{\"label\":\"\",\"fields\":[{\"label\":\"Order Date\",\"fieldname\":\"transaction_date\",\"fieldtype\":\"Date\",\"align\":\"left\",\"label_justify\":\"space-between\"},{\"label\":\"Delivery Date\",\"fieldname\":\"delivery_date\",\"fieldtype\":\"Date\",\"align\":\"left\",\"label_justify\":\"space-between\"},{\"label\":\"Status\",\"fieldname\":\"status\",\"fieldtype\":\"Select\",\"options\":\"\\nDraft\\nOn Hold\\nTo Pay\\nTo Deliver and Bill\\nTo Bill\\nTo Deliver\\nCompleted\\nCancelled\\nClosed\",\"label_justify\":\"space-between\",\"visible_if\":\"\"}],\"width\":38}],\"has_fields\":true,\"field_orientation\":\"left-right\",\"gap\":44,\"margin\":{\"top\":15,\"right\":12,\"bottom\":0,\"left\":12}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"\",\"fieldname\":\"items\",\"fieldtype\":\"Table\",\"options\":\"Sales Order Item\",\"table_columns\":[{\"label\":\"No\",\"fieldname\":\"idx\",\"fieldtype\":\"Data\",\"width\":5},{\"label\":\"Item\",\"fieldname\":\"item_name\",\"fieldtype\":\"Data\",\"width\":25,\"merged_fields\":[{\"fieldname\":\"description\",\"fieldtype\":\"Text Editor\",\"style\":\"muted-sm\"}]},{\"label\":\"Code\",\"fieldname\":\"item_code\",\"fieldtype\":\"Link\",\"options\":\"Item\",\"width\":12},{\"label\":\"Quantity\",\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"options\":\"UOM\",\"width\":12,\"merged_fields\":[{\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity != 1\"},{\"label\":\"Quantity\",\"fieldname\":\"qty\",\"fieldtype\":\"Float\",\"width\":12,\"merged_fields\":[{\"fieldname\":\"uom\",\"fieldtype\":\"Link\",\"style\":\"secondary\"}],\"merge_direction\":\"horizontal\",\"column_condition\":\"print_settings.print_uom_after_quantity\"},{\"label\":\"Rate\",\"fieldname\":\"rate\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":14},{\"label\":\"Amount\",\"fieldname\":\"amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"width\":15}],\"table_bordered\":false,\"table_header\":\"styled\",\"table_cell_padding\":10,\"table_radius\":8,\"table_header_bg\":\"#f3f3f3\",\"table_border_color\":\"#f3f3f3\",\"show_label\":\"hide\",\"custom_style\":\"\"}]}],\"has_fields\":true,\"margin\":{\"top\":0,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[],\"width\":45},{\"label\":\"\",\"fields\":[{\"label\":\"Sub Total\",\"fieldname\":\"total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"\"},{\"label\":\"Discount\",\"fieldname\":\"discount_amount\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"label_justify\":\"space-between\",\"custom_style\":\"\"},{\"label\":\"\",\"fieldname\":\"repeater\",\"fieldtype\":\"Repeater\",\"source\":\"taxes\",\"repeater_columns\":[{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"description\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"left\",\"width\":60,\"color\":\"#6b7280\"},{\"template\":[{\"t\":\"s\",\"v\":\"\"},{\"t\":\"f\",\"v\":\"tax_amount\"},{\"t\":\"s\",\"v\":\"\"}],\"align\":\"right\",\"width\":40,\"color\":\"#1f2328\"}],\"row_condition\":\"print_settings.print_taxes_with_zero_amount or row.tax_amount != 0\",\"custom_style\":\"\"},{\"label\":\"Grand Total\",\"fieldname\":\"grand_total\",\"fieldtype\":\"Currency\",\"options\":\"currency\",\"align\":\"left\",\"label_justify\":\"space-between\",\"custom_style\":\"border-top:1px solid #e5e7eb;margin-top:5px;padding-top:9px;font-weight:700;\",\"label_color\":\"#1f2328\"}],\"width\":49}],\"has_fields\":true,\"field_orientation\":\"left-right\",\"gap\":44,\"margin\":{\"top\":15,\"right\":12,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"In Words\",\"fieldname\":\"in_words\",\"fieldtype\":\"Data\",\"show_label\":\"hide\"}]}],\"background\":\"#f8f8f8\",\"padding\":{\"top\":5,\"right\":12,\"bottom\":5,\"left\":12},\"margin\":{\"top\":10,\"right\":0,\"bottom\":0,\"left\":0}},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Divider\",\"fieldname\":\"divider_IMskVBrj\",\"fieldtype\":\"Divider\",\"custom\":1}]}]},{\"label\":\"\",\"columns\":[{\"label\":\"\",\"fields\":[{\"label\":\"Terms and Conditions Details\",\"fieldname\":\"terms\",\"fieldtype\":\"Text Editor\",\"allow_page_break\":true}]}],\"margin\":{\"top\":5,\"right\":12,\"bottom\":0,\"left\":12}}],\"footer\":{\"columns\":[{\"label\":\"\",\"fields\":[]}],\"show_label\":\"hide\"}}",
"idx": 0,
"label_color": "#6b7280",
"line_breaks": 0,
@@ -17,7 +17,7 @@
"margin_left": 8.0,
"margin_right": 8.0,
"margin_top": 15.0,
- "modified": "2026-07-24 12:56:57.903631",
+ "modified": "2026-08-17 15:26:07.985568",
"modified_by": "Administrator",
"module": "Selling",
"name": "Sales Order Modern",