fixes : ps
This commit is contained in:
parent
84cdfb64a9
commit
81d735cfb8
@ -579,7 +579,8 @@ export class BusinessInfoComponent implements OnInit {
|
|||||||
posControl.push(this.createPOSMachinesDetails(businessVal.pos_machines_details));
|
posControl.push(this.createPOSMachinesDetails(businessVal.pos_machines_details));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.businessForm.setValue(businessVal);
|
// this.businessForm.setValue(businessVal);
|
||||||
|
this.businessForm.patchValue(businessVal);
|
||||||
} else {
|
} else {
|
||||||
//Desgn.push(this.createDesignation());
|
//Desgn.push(this.createDesignation());
|
||||||
Partnr.push(this.createPartners());
|
Partnr.push(this.createPartners());
|
||||||
|
|||||||
@ -190,7 +190,7 @@
|
|||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field style="width:45%">
|
<mat-form-field style="width:45%">
|
||||||
<input matInput autocomplete="off" [ngClass]="details.get('financial_profit_to_sale_variation').value > 0 ? 'greenhighlight' : 'highlight'"
|
<input matInput autocomplete="off" [ngClass]="details.get('financial_profit_to_sale_variation').value > 0 ? 'greenhighlight' : 'highlight'"
|
||||||
placeholder="Variation of Profit % over sales" formControlName="financial_profit_to_sale_variation"
|
placeholder="Variation of Profit/Loss to Sales % from Previous Year" formControlName="financial_profit_to_sale_variation"
|
||||||
OnlyNumber type="text" readonly>
|
OnlyNumber type="text" readonly>
|
||||||
<mat-hint align="start" style="font-size:70%" *ngIf="i != 0 && details.get('financial_profit_to_sale_variation').value != '' ">
|
<mat-hint align="start" style="font-size:70%" *ngIf="i != 0 && details.get('financial_profit_to_sale_variation').value != '' ">
|
||||||
<span *ngIf="details.get('financial_profit_to_sale_variation').value == 0">
|
<span *ngIf="details.get('financial_profit_to_sale_variation').value == 0">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user