general and business form changes
This commit is contained in:
parent
fe95c3be4a
commit
d3ce0ea3c9
@ -9,7 +9,7 @@
|
||||
<mat-dialog-content>
|
||||
<mat-card *ngFor="let companyList of existCompanyList">
|
||||
<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-content>
|
||||
<div fxLayout="row wrap" class="child_mat_card">
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
<mat-form-field style="width: 45%;">
|
||||
<mat-select placeholder="Name in Which The Business is Run"
|
||||
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-select>
|
||||
</mat-form-field>
|
||||
@ -37,7 +37,7 @@
|
||||
<mat-form-field style="width: 45%;">
|
||||
<mat-select placeholder="Business Entity Type"
|
||||
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-form-field>
|
||||
<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-option>Select</mat-option>
|
||||
<mat-option *ngFor="let comp of companyList" [value]="comp.company_order_id">
|
||||
{{comp.company_name | titlecase}}
|
||||
{{comp.company_name}}
|
||||
</mat-option>
|
||||
<mat-option value="0" > Not Applicable </mat-option>
|
||||
</mat-select>
|
||||
|
||||
@ -254,6 +254,7 @@ export class GeneralInfoComponent implements OnInit {
|
||||
return this._fb.group({
|
||||
company_order_id: [elementValue.company_order_id],
|
||||
company_name: [elementValue.company_name],
|
||||
company_messrs_name: ['M/s'],
|
||||
is_active: [elementValue.is_active]
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user