[feature] Added Section Breaks to Grids for better visual hierarchy

This commit is contained in:
Rushabh Mehta 2013-07-10 12:07:45 +05:30
parent 0cc2830392
commit f9404ba89f
10 changed files with 153 additions and 27 deletions

View File

@ -2,7 +2,7 @@
{
"creation": "2013-05-22 12:43:10",
"docstatus": 0,
"modified": "2013-07-09 12:21:47",
"modified": "2013-07-10 11:56:50",
"modified_by": "Administrator",
"owner": "Administrator"
},
@ -62,6 +62,12 @@
"read_only": 0,
"width": "300px"
},
{
"doctype": "DocField",
"fieldname": "quantity_and_rate",
"fieldtype": "Section Break",
"label": "Quantity and Rate"
},
{
"doctype": "DocField",
"fieldname": "qty",
@ -155,6 +161,12 @@
"read_only": 1,
"reqd": 1
},
{
"doctype": "DocField",
"fieldname": "accounting",
"fieldtype": "Section Break",
"label": "Accounting"
},
{
"doctype": "DocField",
"fieldname": "expense_head",
@ -183,6 +195,12 @@
"read_only": 0,
"width": "120px"
},
{
"doctype": "DocField",
"fieldname": "reference",
"fieldtype": "Section Break",
"label": "Reference"
},
{
"doctype": "DocField",
"fieldname": "project_name",

View File

@ -2,7 +2,7 @@
{
"creation": "2013-06-04 11:02:19",
"docstatus": 0,
"modified": "2013-07-09 12:46:12",
"modified": "2013-07-10 11:57:15",
"modified_by": "Administrator",
"owner": "Administrator"
},
@ -81,6 +81,12 @@
"reqd": 1,
"width": "200px"
},
{
"doctype": "DocField",
"fieldname": "quantity_and_rate",
"fieldtype": "Section Break",
"label": "Quantity and Rate"
},
{
"doctype": "DocField",
"fieldname": "qty",
@ -181,15 +187,9 @@
},
{
"doctype": "DocField",
"fieldname": "warehouse",
"fieldtype": "Link",
"hidden": 0,
"label": "Warehouse",
"oldfieldname": "warehouse",
"oldfieldtype": "Link",
"options": "Warehouse",
"print_hide": 1,
"read_only": 0
"fieldname": "accounting",
"fieldtype": "Section Break",
"label": "Accounting"
},
{
"doctype": "DocField",
@ -234,6 +234,24 @@
"reqd": 0,
"width": "120px"
},
{
"doctype": "DocField",
"fieldname": "warehouse_and_reference",
"fieldtype": "Section Break",
"label": "Warehouse and Reference"
},
{
"doctype": "DocField",
"fieldname": "warehouse",
"fieldtype": "Link",
"hidden": 0,
"label": "Warehouse",
"oldfieldname": "warehouse",
"oldfieldtype": "Link",
"options": "Warehouse",
"print_hide": 1,
"read_only": 0
},
{
"doctype": "DocField",
"fieldname": "serial_no",

View File

@ -2,7 +2,7 @@
{
"creation": "2013-05-24 19:29:06",
"docstatus": 0,
"modified": "2013-07-09 11:45:00",
"modified": "2013-07-10 11:55:03",
"modified_by": "Administrator",
"owner": "Administrator"
},
@ -78,6 +78,12 @@
"reqd": 1,
"search_index": 1
},
{
"doctype": "DocField",
"fieldname": "quantity_and_rate",
"fieldtype": "Section Break",
"label": "Quantity and Rate"
},
{
"doctype": "DocField",
"fieldname": "description",
@ -193,6 +199,12 @@
"read_only": 1,
"reqd": 1
},
{
"doctype": "DocField",
"fieldname": "warehouse_and_reference",
"fieldtype": "Section Break",
"label": "Warehouse and Reference"
},
{
"doctype": "DocField",
"fieldname": "warehouse",

View File

@ -2,7 +2,7 @@
{
"creation": "2013-05-22 12:43:10",
"docstatus": 0,
"modified": "2013-07-09 12:15:15",
"modified": "2013-07-10 11:54:21",
"modified_by": "Administrator",
"owner": "Administrator"
},
@ -75,6 +75,12 @@
"reqd": 1,
"width": "300px"
},
{
"doctype": "DocField",
"fieldname": "quantity_and_rate",
"fieldtype": "Section Break",
"label": "Quantity and Rate"
},
{
"default": "0.00",
"doctype": "DocField",
@ -178,6 +184,12 @@
"read_only": 1,
"reqd": 1
},
{
"doctype": "DocField",
"fieldname": "warehouse_and_reference",
"fieldtype": "Section Break",
"label": "Warehouse and Reference"
},
{
"doctype": "DocField",
"fieldname": "warehouse",

View File

@ -2,7 +2,7 @@
{
"creation": "2013-02-22 01:27:51",
"docstatus": 0,
"modified": "2013-03-07 07:03:26",
"modified": "2013-07-10 11:52:34",
"modified_by": "Administrator",
"owner": "Administrator"
},
@ -80,14 +80,9 @@
},
{
"doctype": "DocField",
"fieldname": "basic_rate",
"fieldtype": "Currency",
"hidden": 1,
"label": "Basic Rate",
"oldfieldname": "basic_rate",
"oldfieldtype": "Currency",
"options": "Company:company:default_currency",
"print_hide": 1
"fieldname": "quantity_and_rate",
"fieldtype": "Section Break",
"label": "Quantity and Rate"
},
{
"doctype": "DocField",
@ -97,6 +92,17 @@
"oldfieldname": "qty",
"oldfieldtype": "Currency"
},
{
"doctype": "DocField",
"fieldname": "basic_rate",
"fieldtype": "Currency",
"hidden": 1,
"label": "Basic Rate",
"oldfieldname": "basic_rate",
"oldfieldtype": "Currency",
"options": "Company:company:default_currency",
"print_hide": 1
},
{
"doctype": "DocField",
"fieldname": "uom",

View File

@ -2,7 +2,7 @@
{
"creation": "2013-03-07 11:42:57",
"docstatus": 0,
"modified": "2013-07-09 12:24:21",
"modified": "2013-07-10 11:52:06",
"modified_by": "Administrator",
"owner": "Administrator"
},
@ -79,6 +79,12 @@
"reqd": 1,
"width": "300px"
},
{
"doctype": "DocField",
"fieldname": "quantity_and_rate",
"fieldtype": "Section Break",
"label": "Quantity and Rate"
},
{
"default": "0.00",
"doctype": "DocField",
@ -217,6 +223,12 @@
"search_index": 0,
"width": "100px"
},
{
"doctype": "DocField",
"fieldname": "reference",
"fieldtype": "Section Break",
"label": "Reference"
},
{
"doctype": "DocField",
"fieldname": "item_group",

View File

@ -2,7 +2,7 @@
{
"creation": "2013-03-07 11:42:58",
"docstatus": 0,
"modified": "2013-07-09 12:28:31",
"modified": "2013-07-10 11:41:52",
"modified_by": "Administrator",
"owner": "Administrator"
},
@ -76,6 +76,12 @@
"search_index": 1,
"width": "300px"
},
{
"doctype": "DocField",
"fieldname": "quantity_and_rate",
"fieldtype": "Section Break",
"label": "Quantity and Rate"
},
{
"default": "0.00",
"doctype": "DocField",
@ -203,6 +209,12 @@
"reqd": 0,
"width": "100px"
},
{
"doctype": "DocField",
"fieldname": "warehouse_and_reference",
"fieldtype": "Section Break",
"label": "Warehouse and Reference"
},
{
"doctype": "DocField",
"fieldname": "reserved_warehouse",

View File

@ -2,7 +2,7 @@
{
"creation": "2013-04-22 13:15:44",
"docstatus": 0,
"modified": "2013-07-09 12:42:09",
"modified": "2013-07-10 11:50:59",
"modified_by": "Administrator",
"owner": "Administrator"
},
@ -82,6 +82,12 @@
"reqd": 1,
"width": "300px"
},
{
"doctype": "DocField",
"fieldname": "quantity_and_rate",
"fieldtype": "Section Break",
"label": "Quantity and Rate"
},
{
"default": "0.00",
"doctype": "DocField",
@ -207,6 +213,12 @@
"reqd": 0,
"width": "100px"
},
{
"doctype": "DocField",
"fieldname": "warehouse_and_reference",
"fieldtype": "Section Break",
"label": "Warehouse and Reference"
},
{
"doctype": "DocField",
"fieldname": "warehouse",

View File

@ -2,7 +2,7 @@
{
"creation": "2013-02-22 01:28:02",
"docstatus": 0,
"modified": "2013-07-09 11:37:12",
"modified": "2013-07-10 11:53:34",
"modified_by": "Administrator",
"owner": "Administrator"
},
@ -64,6 +64,12 @@
"reqd": 1,
"width": "250px"
},
{
"doctype": "DocField",
"fieldname": "quantity_and_warehouse",
"fieldtype": "Section Break",
"label": "Quantity and Warehouse"
},
{
"doctype": "DocField",
"fieldname": "warehouse",

View File

@ -2,7 +2,7 @@
{
"creation": "2013-05-24 19:29:10",
"docstatus": 0,
"modified": "2013-07-09 12:20:50",
"modified": "2013-07-10 11:56:05",
"modified_by": "Administrator",
"owner": "Administrator"
},
@ -65,6 +65,12 @@
"reqd": 1,
"width": "300px"
},
{
"doctype": "DocField",
"fieldname": "received_and_accepted",
"fieldtype": "Section Break",
"label": "Received and Accepted"
},
{
"default": "0.00",
"doctype": "DocField",
@ -120,6 +126,12 @@
"reqd": 1,
"width": "100px"
},
{
"doctype": "DocField",
"fieldname": "rate_and_amount",
"fieldtype": "Section Break",
"label": "Rate and Amount"
},
{
"doctype": "DocField",
"fieldname": "import_ref_rate",
@ -200,6 +212,12 @@
"reqd": 0,
"width": "100px"
},
{
"doctype": "DocField",
"fieldname": "warehouse_and_reference",
"fieldtype": "Section Break",
"label": "Warehouse and Reference"
},
{
"doctype": "DocField",
"fieldname": "warehouse",