mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-09-01 02:43:58 +00:00
update customer profile
This commit is contained in:
@@ -6,9 +6,13 @@
|
||||
<label>{{this.company_details.reference ? this.company_details.reference : ""}}</label>
|
||||
</div>
|
||||
<div class="col-12 p-0">
|
||||
<label :style="minWidth">Company Type</label>
|
||||
<label :style="minWidth">Business Type</label>
|
||||
<label>{{this.company_details.business_type ? getBusinessTypeDesc(this.company_details.business_type) : ""}}</label>
|
||||
</div>
|
||||
<div class="col-12 p-0">
|
||||
<label :style="minWidth">Company Type</label>
|
||||
<label>{{this.company_details.type ? getCompanyTypeDesc(this.company_details.type) : ""}}</label>
|
||||
</div>
|
||||
<div class="col-12 p-0">
|
||||
<label :style="minWidth">Email</label>
|
||||
<label><i class="fa fa-envelope text-primary fs-10"></i> {{this.company_details.employee ? this.company_details.employee.email : ""}}</label>
|
||||
@@ -185,8 +189,29 @@
|
||||
backToCompanyList() {
|
||||
this.$root.$emit('backToCompanyList');
|
||||
},
|
||||
getBusinessTypeDesc(type){
|
||||
return (type==1) ? 'Company Business':'Personal Business';
|
||||
getBusinessTypeDesc(business_type_id) {
|
||||
switch (business_type_id) {
|
||||
case 1:
|
||||
return 'Freight Forwarder';
|
||||
case 2:
|
||||
return 'Importer';
|
||||
case 3:
|
||||
return 'Currency Vendor';
|
||||
case 4:
|
||||
return 'Transfer Agent';
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
},
|
||||
getCompanyTypeDesc(company_type_id) {
|
||||
switch (company_type_id) {
|
||||
case 0:
|
||||
return 'Personal Business';
|
||||
case 1:
|
||||
return 'Company Business';
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
},
|
||||
},
|
||||
mixins: [componentHandler]
|
||||
|
||||
Reference in New Issue
Block a user