From 265c1947e3b7d1944e271707556a2596553780b9 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 26 Mar 2013 14:16:20 +0530 Subject: [PATCH] [form] [usability] change z-index only if in form --- selling/doctype/lead/lead.txt | 64 ++++++++++++++--------------------- 1 file changed, 26 insertions(+), 38 deletions(-) diff --git a/selling/doctype/lead/lead.txt b/selling/doctype/lead/lead.txt index ae8c6c4c15..e162551607 100644 --- a/selling/doctype/lead/lead.txt +++ b/selling/doctype/lead/lead.txt @@ -2,7 +2,7 @@ { "creation": "2013-01-28 17:07:01", "docstatus": 0, - "modified": "2013-03-26 13:07:11", + "modified": "2013-03-26 14:05:01", "modified_by": "Administrator", "owner": "Administrator" }, @@ -117,6 +117,18 @@ "reqd": 0, "search_index": 0 }, + { + "depends_on": "eval:doc.source == 'Customer'", + "description": "Source of th", + "doctype": "DocField", + "fieldname": "customer", + "fieldtype": "Link", + "hidden": 0, + "label": "From Customer", + "oldfieldname": "customer", + "oldfieldtype": "Link", + "options": "Customer" + }, { "depends_on": "eval:doc.source == 'Campaign'", "description": "Enter campaign name if the source of lead is campaign.", @@ -145,37 +157,10 @@ }, { "doctype": "DocField", - "fieldname": "sb8", + "fieldname": "contact_info", "fieldtype": "Section Break", - "label": "Lead Details" - }, - { - "depends_on": "eval:doc.source == 'Existing Customer'", - "description": "Source of th", - "doctype": "DocField", - "fieldname": "customer", - "fieldtype": "Link", - "hidden": 0, - "label": "From Customer", - "oldfieldname": "customer", - "oldfieldtype": "Link", - "options": "Customer" - }, - { - "doctype": "DocField", - "fieldname": "column_break1", - "fieldtype": "Column Break", - "width": "50%" - }, - { - "doctype": "DocField", - "fieldname": "type", - "fieldtype": "Select", - "in_filter": 1, - "label": "Lead Type", - "oldfieldname": "type", - "oldfieldtype": "Select", - "options": "\nClient\nChannel Partner\nConsultant" + "label": "Contact Info", + "oldfieldtype": "Column Break" }, { "doctype": "DocField", @@ -185,13 +170,6 @@ "oldfieldname": "remark", "oldfieldtype": "Text" }, - { - "doctype": "DocField", - "fieldname": "contact_info", - "fieldtype": "Section Break", - "label": "Contact Info", - "oldfieldtype": "Column Break" - }, { "doctype": "DocField", "fieldname": "phone", @@ -307,6 +285,16 @@ "label": "More Info", "oldfieldtype": "Section Break" }, + { + "doctype": "DocField", + "fieldname": "type", + "fieldtype": "Select", + "in_filter": 1, + "label": "Lead Type", + "oldfieldname": "type", + "oldfieldtype": "Select", + "options": "\nClient\nChannel Partner\nConsultant" + }, { "default": "__user", "doctype": "DocField",