general and business form changes
This commit is contained in:
parent
fe95c3be4a
commit
d3ce0ea3c9
@ -9,7 +9,7 @@
|
|||||||
<mat-dialog-content>
|
<mat-dialog-content>
|
||||||
<mat-card *ngFor="let companyList of existCompanyList">
|
<mat-card *ngFor="let companyList of existCompanyList">
|
||||||
<mat-card-header>
|
<mat-card-header>
|
||||||
<mat-card-title class="p-text">{{companyList.company_name | titlecase}}</mat-card-title>
|
<mat-card-title class="p-text">{{companyList.company_name}}</mat-card-title>
|
||||||
</mat-card-header>
|
</mat-card-header>
|
||||||
<mat-card-content>
|
<mat-card-content>
|
||||||
<div fxLayout="row wrap" class="child_mat_card">
|
<div fxLayout="row wrap" class="child_mat_card">
|
||||||
|
|||||||
@ -26,7 +26,7 @@
|
|||||||
<mat-form-field style="width: 45%;">
|
<mat-form-field style="width: 45%;">
|
||||||
<mat-select placeholder="Name in Which The Business is Run"
|
<mat-select placeholder="Name in Which The Business is Run"
|
||||||
formControlName="profession_name" required>
|
formControlName="profession_name" required>
|
||||||
<mat-option [value]="company.company_name" *ngFor="let company of existCompanyList">{{company.company_name | titlecase}}</mat-option>
|
<mat-option [value]="company.company_name" *ngFor="let company of existCompanyList">{{company.company_name}}</mat-option>
|
||||||
<!-- <mat-option value="Others">Others</mat-option> -->
|
<!-- <mat-option value="Others">Others</mat-option> -->
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
@ -37,7 +37,7 @@
|
|||||||
<mat-form-field style="width: 45%;">
|
<mat-form-field style="width: 45%;">
|
||||||
<mat-select placeholder="Business Entity Type"
|
<mat-select placeholder="Business Entity Type"
|
||||||
formControlName="business_entity_type" required>
|
formControlName="business_entity_type" required>
|
||||||
<mat-option [value]="entity.business_entity_type_id" *ngFor="let entity of businessEntityTypeList">{{entity.business_entity_type_name | titlecase}}</mat-option>
|
<mat-option [value]="entity.business_entity_type_id" *ngFor="let entity of businessEntityTypeList">{{entity.business_entity_type_name}}</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field style="width: 45%;" *ngIf="businessForm.controls.business_entity_type.value=='11'">
|
<mat-form-field style="width: 45%;" *ngIf="businessForm.controls.business_entity_type.value=='11'">
|
||||||
|
|||||||
@ -168,7 +168,7 @@
|
|||||||
<mat-select placeholder="Company / Firm" formControlName="relation_to_company" style="width: 75%;">
|
<mat-select placeholder="Company / Firm" formControlName="relation_to_company" style="width: 75%;">
|
||||||
<mat-option>Select</mat-option>
|
<mat-option>Select</mat-option>
|
||||||
<mat-option *ngFor="let comp of companyList" [value]="comp.company_order_id">
|
<mat-option *ngFor="let comp of companyList" [value]="comp.company_order_id">
|
||||||
{{comp.company_name | titlecase}}
|
{{comp.company_name}}
|
||||||
</mat-option>
|
</mat-option>
|
||||||
<mat-option value="0" > Not Applicable </mat-option>
|
<mat-option value="0" > Not Applicable </mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
|
|||||||
@ -254,6 +254,7 @@ export class GeneralInfoComponent implements OnInit {
|
|||||||
return this._fb.group({
|
return this._fb.group({
|
||||||
company_order_id: [elementValue.company_order_id],
|
company_order_id: [elementValue.company_order_id],
|
||||||
company_name: [elementValue.company_name],
|
company_name: [elementValue.company_name],
|
||||||
|
company_messrs_name: ['M/s'],
|
||||||
is_active: [elementValue.is_active]
|
is_active: [elementValue.is_active]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user