Skip to content

Commit

Permalink
feat: Tab Break in Supplier Quotation
Browse files Browse the repository at this point in the history
  • Loading branch information
nabinhait committed Oct 11, 2022
1 parent 2172c50 commit 3d9263b
Showing 1 changed file with 69 additions and 49 deletions.
118 changes: 69 additions & 49 deletions erpnext/buying/doctype/supplier_quotation/supplier_quotation.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,13 @@
"naming_series",
"supplier",
"supplier_name",
"column_break1",
"company",
"column_break1",
"status",
"transaction_date",
"valid_till",
"quotation_number",
"amended_from",
"address_section",
"supplier_address",
"contact_person",
"address_display",
"contact_display",
"contact_mobile",
"contact_email",
"currency_and_price_list",
"currency",
"conversion_rate",
Expand All @@ -36,25 +30,23 @@
"ignore_pricing_rule",
"items_section",
"items",
"pricing_rule_details",
"pricing_rules",
"section_break_22",
"total_qty",
"total_net_weight",
"column_break_26",
"base_total",
"base_net_total",
"column_break_24",
"total",
"net_total",
"total_net_weight",
"taxes_section",
"taxes_and_charges",
"column_break_34",
"tax_category",
"column_break_36",
"shipping_rule",
"section_break_38",
"taxes_and_charges",
"taxes",
"tax_breakup",
"other_charges_calculation",
"totals",
"base_taxes_and_charges_added",
"base_taxes_and_charges_deducted",
Expand All @@ -80,24 +72,36 @@
"rounded_total",
"in_words",
"disable_rounded_total",
"terms_section_break",
"tax_breakup",
"other_charges_calculation",
"pricing_rule_details",
"pricing_rules",
"address_and_contact_tab",
"supplier_address",
"address_display",
"column_break_72",
"contact_person",
"contact_display",
"contact_mobile",
"contact_email",
"terms_tab",
"tc_name",
"terms",
"more_info_tab",
"printing_settings",
"select_print_heading",
"group_same_items",
"column_break_72",
"column_break_85",
"letter_head",
"language",
"subscription_section",
"auto_repeat",
"update_auto_repeat_reference",
"more_info",
"status",
"column_break_57",
"is_subcontracted",
"reference",
"opportunity"
"column_break_57",
"opportunity",
"connections_tab"
],
"fields": [
{
Expand Down Expand Up @@ -146,7 +150,7 @@
"fieldname": "supplier_name",
"fieldtype": "Data",
"in_global_search": 1,
"label": "Name",
"label": "Supplier Name",
"read_only": 1
},
{
Expand Down Expand Up @@ -193,12 +197,6 @@
"reqd": 1,
"search_index": 1
},
{
"collapsible": 1,
"fieldname": "address_section",
"fieldtype": "Section Break",
"label": "Address and Contact"
},
{
"fieldname": "supplier_address",
"fieldtype": "Link",
Expand Down Expand Up @@ -309,14 +307,15 @@
{
"fieldname": "items_section",
"fieldtype": "Section Break",
"hide_border": 1,
"label": "Items",
"oldfieldtype": "Section Break",
"options": "fa fa-shopping-cart"
},
{
"allow_bulk_edit": 1,
"fieldname": "items",
"fieldtype": "Table",
"label": "Items",
"oldfieldname": "po_details",
"oldfieldtype": "Table",
"options": "Supplier Quotation Item",
Expand Down Expand Up @@ -394,6 +393,7 @@
{
"fieldname": "taxes_section",
"fieldtype": "Section Break",
"hide_border": 1,
"label": "Taxes and Charges",
"oldfieldtype": "Section Break",
"options": "fa fa-money"
Expand All @@ -417,7 +417,8 @@
},
{
"fieldname": "section_break_38",
"fieldtype": "Section Break"
"fieldtype": "Section Break",
"hide_border": 1
},
{
"fieldname": "taxes_and_charges",
Expand Down Expand Up @@ -523,7 +524,6 @@
},
{
"collapsible": 1,
"collapsible_depends_on": "discount_amount",
"fieldname": "section_break_41",
"fieldtype": "Section Break",
"label": "Additional Discount"
Expand Down Expand Up @@ -563,7 +563,8 @@
},
{
"fieldname": "section_break_46",
"fieldtype": "Section Break"
"fieldtype": "Section Break",
"label": "Totals"
},
{
"fieldname": "base_grand_total",
Expand Down Expand Up @@ -654,19 +655,10 @@
"fieldtype": "Check",
"label": "Disable Rounded Total"
},
{
"collapsible": 1,
"collapsible_depends_on": "terms",
"fieldname": "terms_section_break",
"fieldtype": "Section Break",
"label": "Terms and Conditions",
"oldfieldtype": "Section Break",
"options": "fa fa-legal"
},
{
"fieldname": "tc_name",
"fieldtype": "Link",
"label": "Terms",
"label": "Terms Template",
"oldfieldname": "tc_name",
"oldfieldtype": "Link",
"options": "Terms and Conditions",
Expand Down Expand Up @@ -729,7 +721,7 @@
{
"fieldname": "subscription_section",
"fieldtype": "Section Break",
"label": "Auto Repeat Section"
"label": "Auto Repeat"
},
{
"fieldname": "auto_repeat",
Expand All @@ -751,7 +743,7 @@
"collapsible": 1,
"fieldname": "more_info",
"fieldtype": "Section Break",
"label": "More Information",
"label": "Additional Info",
"oldfieldtype": "Section Break",
"options": "fa fa-file-text"
},
Expand Down Expand Up @@ -779,11 +771,6 @@
"label": "Is Subcontracted",
"print_hide": 1
},
{
"fieldname": "reference",
"fieldtype": "Section Break",
"label": "Reference"
},
{
"fieldname": "opportunity",
"fieldtype": "Link",
Expand All @@ -803,14 +790,47 @@
"fieldname": "quotation_number",
"fieldtype": "Data",
"label": "Quotation Number"
},
{
"fieldname": "address_and_contact_tab",
"fieldtype": "Tab Break",
"label": "Address & Contact"
},
{
"fieldname": "terms_tab",
"fieldtype": "Tab Break",
"label": "Terms"
},
{
"fieldname": "more_info_tab",
"fieldtype": "Tab Break",
"label": "More Info"
},
{
"fieldname": "connections_tab",
"fieldtype": "Tab Break",
"label": "Connections",
"show_dashboard": 1
},
{
"fieldname": "column_break_26",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_34",
"fieldtype": "Column Break"
},
{
"fieldname": "column_break_85",
"fieldtype": "Column Break"
}
],
"icon": "fa fa-shopping-cart",
"idx": 29,
"index_web_pages_for_search": 1,
"is_submittable": 1,
"links": [],
"modified": "2022-03-14 16:13:20.284572",
"modified": "2022-09-27 18:13:09.462037",
"modified_by": "Administrator",
"module": "Buying",
"name": "Supplier Quotation",
Expand Down

0 comments on commit 3d9263b

Please sign in to comment.