File tree Expand file tree Collapse file tree
india_compliance/public/js Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,6 +168,27 @@ class PartyQuickEntryForm extends GSTQuickEntryForm {
168168 fieldtype : "Section Break" ,
169169 collapsible : 0 ,
170170 } ,
171+ {
172+ label : __ ( "First Name" ) ,
173+ fieldname : "map_to_first_name" ,
174+ fieldtype : "Data" ,
175+ depends_on : "eval:doc.customer_type=='Company'" ,
176+ } ,
177+ {
178+ fieldtype : "Column Break" ,
179+ } ,
180+ {
181+ label : __ ( "Last Name" ) ,
182+ fieldname : "map_to_last_name" ,
183+ fieldtype : "Data" ,
184+ depends_on : "eval:doc.customer_type=='Company'" ,
185+ } ,
186+ {
187+ fieldname : "primary_contact_section_2" ,
188+ fieldtype : "Section Break" ,
189+ collapsible : 0 ,
190+ hide_border : 1 ,
191+ } ,
171192 {
172193 label : __ ( "Email ID" ) ,
173194 fieldname : "_email_id" ,
@@ -195,6 +216,8 @@ class PartyQuickEntryForm extends GSTQuickEntryForm {
195216 // these fields were suffixed with _ to prevent them from being read only
196217 doc . email_id = doc . _email_id ;
197218 doc . mobile_no = doc . _mobile_no ;
219+ doc . first_name = doc . map_to_first_name ;
220+ doc . last_name = doc . map_to_last_name ;
198221
199222 return doc ;
200223 }
You can’t perform that action at this time.
0 commit comments