business changes
This commit is contained in:
parent
dbc5678bca
commit
603e57f80f
@ -1143,7 +1143,7 @@
|
||||
</mat-card>
|
||||
<mat-card>
|
||||
<mat-card-header>
|
||||
<mat-card-title>No of Employees Sighted Ny PD Officer During His Visit </mat-card-title>
|
||||
<mat-card-title>No of Employees Sighted By PD Officer During His Visit </mat-card-title>
|
||||
</mat-card-header>
|
||||
<mat-card-content class="matcard">
|
||||
<mat-form-field>
|
||||
|
||||
@ -1189,6 +1189,10 @@ export class BusinessInfoComponent implements OnInit {
|
||||
if(total_experience > current_experience) {
|
||||
control.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))
|
||||
}
|
||||
else if(total_experience < current_experience) {
|
||||
control.controls[key].controls['total_business_experiance'].setValue(current_experience);
|
||||
control.controls[key].removeControl('total_business_previous_experience')
|
||||
}
|
||||
else {
|
||||
control.controls[key].removeControl('total_business_previous_experience')
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user