style(selling): organise Proforma Invoice form into sections

Group fields with section and column breaks: Details (two columns), Items with
right-aligned totals, Print Settings (two columns), and Status (two columns).
This commit is contained in:
Nabin Hait
2026-07-17 20:12:37 +05:30
parent 63607e91fd
commit 2a9603fcd6

View File

@@ -5,6 +5,7 @@
"doctype": "DocType",
"engine": "InnoDB",
"field_order": [
"details_section",
"naming_series",
"sales_order",
"customer",
@@ -17,19 +18,28 @@
"hide_item_qty",
"items_section",
"items",
"totals_section",
"column_break_totals",
"total_qty",
"grand_total",
"print_section",
"print_format",
"letter_head",
"column_break_print",
"proforma_pdf",
"status_section",
"status",
"sent_on",
"column_break_status",
"emailed_to",
"amended_from"
],
"fields": [
{
"fieldname": "details_section",
"fieldtype": "Section Break",
"label": "Details"
},
{
"fieldname": "naming_series",
"fieldtype": "Select",
@@ -127,6 +137,14 @@
"options": "Proforma Invoice Item",
"reqd": 1
},
{
"fieldname": "totals_section",
"fieldtype": "Section Break"
},
{
"fieldname": "column_break_totals",
"fieldtype": "Column Break"
},
{
"fieldname": "total_qty",
"fieldtype": "Float",
@@ -160,6 +178,10 @@
"options": "Letter Head",
"read_only": 1
},
{
"fieldname": "column_break_print",
"fieldtype": "Column Break"
},
{
"fieldname": "proforma_pdf",
"fieldtype": "Attach",
@@ -168,7 +190,8 @@
},
{
"fieldname": "status_section",
"fieldtype": "Section Break"
"fieldtype": "Section Break",
"label": "Status"
},
{
"default": "Draft",
@@ -188,6 +211,10 @@
"no_copy": 1,
"read_only": 1
},
{
"fieldname": "column_break_status",
"fieldtype": "Column Break"
},
{
"fieldname": "emailed_to",
"fieldtype": "Small Text",