diff --git a/resources/assets/vue/components/companies/elements/CompanyDetailsComponent.vue b/resources/assets/vue/components/companies/elements/CompanyDetailsComponent.vue index ecef9b01..ebb188e2 100644 --- a/resources/assets/vue/components/companies/elements/CompanyDetailsComponent.vue +++ b/resources/assets/vue/components/companies/elements/CompanyDetailsComponent.vue @@ -6,9 +6,13 @@
- +
+
+ + +
@@ -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]