diff --git a/src/app/pages/register-business/register-business.component.ts b/src/app/pages/register-business/register-business.component.ts
index b8411f4..a17709a 100644
--- a/src/app/pages/register-business/register-business.component.ts
+++ b/src/app/pages/register-business/register-business.component.ts
@@ -27,35 +27,27 @@ export class RegisterBusinessComponent implements OnInit {
paymentChild: Window | null = null;
childCheck: number | undefined;
- registerForm: Array
= [{
- name: 'Entity Type',
- type: 'select',
- options: [
- 'BUSINESS',
- 'LOCAL COMPANY',
- 'LIMITED LIABILITY PARTNERSHIP',
- 'FOREIGN COMPANY',
- 'LIMITED PARTNERSHIP',
- 'PUBLIC ACCOUNTING FIRM'
- ]
- }, {
- name: 'Company Category',
- type: 'select',
- options: [
- 'PUBLIC COMPANY LIMITED BY SHARES',
- 'PUBLIC COMPANY LIMITED BY GUARANTEE',
- 'PRIVATE COMPANY LIMITED BY SHARES',
- 'EXEMPT PRIVATE COMPANY LIMITED BY SHARES'
- ]
- }, {
- name: 'Company Suffix',
- type: 'select',
- options: ['LLC', 'LTD', 'PVT LTD', 'INC']
- }, {
- name: 'Drop the Suffix "Limited" or "Berhad"?',
- type: 'select',
- options: ['YES', 'NO']
- }];
+ selectedEntityType = 'FOREIGN COMPANY';
+ selectedCompanyCategory = '';
+ selectedCompanySuffix = '';
+ selectedDropSuffix = '';
+
+ entityTypeOptions = [
+ 'BUSINESS',
+ 'LOCAL COMPANY',
+ 'LIMITED LIABILITY PARTNERSHIP',
+ 'FOREIGN COMPANY',
+ 'LIMITED PARTNERSHIP',
+ 'PUBLIC ACCOUNTING FIRM'
+ ];
+ companyCategoryOptions = [
+ 'PUBLIC COMPANY LIMITED BY SHARES',
+ 'PUBLIC COMPANY LIMITED BY GUARANTEE',
+ 'PRIVATE COMPANY LIMITED BY SHARES',
+ 'EXEMPT PRIVATE COMPANY LIMITED BY SHARES'
+ ];
+ companySuffixOptions = ['LLC', 'LTD', 'PVT LTD', 'INC'];
+ dropSuffixOptions = ['YES', 'NO'];
acknowledgementDetails: Array<{
@@ -127,6 +119,22 @@ export class RegisterBusinessComponent implements OnInit {
this.formState = 'REGISTER_FORM';
}
+ selectEntityType(selectedEntityType: string) {
+ this.selectedEntityType = selectedEntityType;
+ }
+
+ selectCompanyCategory(selectedCompanyCategory: string) {
+ this.selectedCompanyCategory = selectedCompanyCategory;
+ }
+
+ selectCompanySuffix(selectedCompanySuffix: string) {
+ this.selectedCompanySuffix = selectedCompanySuffix;
+ }
+
+ selectDropSuffix(selectedDropSuffix: string) {
+ this.selectedDropSuffix = selectedDropSuffix;
+ }
+
goBackToFormDetails() {
if (typeof this.childCheck !== 'undefined') {
window.clearInterval(this.childCheck);
diff --git a/src/app/widgets/form/select-input/select-input.component.html b/src/app/widgets/form/select-input/select-input.component.html
index ae05107..9b34e74 100644
--- a/src/app/widgets/form/select-input/select-input.component.html
+++ b/src/app/widgets/form/select-input/select-input.component.html
@@ -1,5 +1,5 @@
-