changes : ps
This commit is contained in:
parent
893fc1c37b
commit
dfd912a89e
Binary file not shown.
@ -38,19 +38,19 @@
|
||||
<!-- Position1 Column -->
|
||||
<ng-container matColumnDef="position_2">
|
||||
<th mat-header-cell *matHeaderCellDef> Declared_by_customer</th>
|
||||
<td mat-cell *matCellDef="let element"> {{element.declared_by_customer.toFixed(2)}} </td>
|
||||
<td mat-cell *matCellDef="let element"> {{element.declared_by_customer}} </td>
|
||||
</ng-container>
|
||||
|
||||
<!-- Position2 Column -->
|
||||
<ng-container matColumnDef="position_3">
|
||||
<th mat-header-cell *matHeaderCellDef> As Derived from Item Wise Sales </th>
|
||||
<td mat-cell *matCellDef="let element"> {{element.derived_item_wise.toFixed(2)}} </td>
|
||||
<td mat-cell *matCellDef="let element"> {{element.derived_item_wise}} </td>
|
||||
</ng-container>
|
||||
|
||||
<!-- Position3 Column -->
|
||||
<ng-container matColumnDef="position_4">
|
||||
<th mat-header-cell *matHeaderCellDef> As Derived from Kuchha Sales Book/Bills </th>
|
||||
<td mat-cell *matCellDef="let element"> {{element.derived_sales_book.toFixed(2)}} </td>
|
||||
<td mat-cell *matCellDef="let element"> {{element.derived_sales_book}} </td>
|
||||
</ng-container>
|
||||
|
||||
<!-- action Column -->
|
||||
|
||||
@ -120,7 +120,7 @@
|
||||
</mat-select>
|
||||
</mat-form-field>
|
||||
<mat-form-field>
|
||||
<input matInput placeholder="Age" formControlName="family_member_age" [readonly]="isReadOnly[i]">
|
||||
<input matInput placeholder="Age" formControlName="family_member_age" [readonly]="item.get('family_member_earning_status').value != '' ? 'true' : 'false'">
|
||||
</mat-form-field>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@ -394,6 +394,7 @@ export class FinancialInfoComponent implements OnInit {
|
||||
else if(e == 'no'){
|
||||
|
||||
this.isDisplay = false;
|
||||
this.selectedFinancialCustomer('no');
|
||||
this.financialForm.controls['is_financial_customer'].setValue('no');
|
||||
|
||||
const statementControl = <FormArray>this.financialForm.controls['date_per_financial'];
|
||||
@ -424,7 +425,9 @@ export class FinancialInfoComponent implements OnInit {
|
||||
}
|
||||
else if (e == 'no'){
|
||||
const control = <FormArray>this.financialForm.controls['estimated_value'];
|
||||
control.push(this.createValue(''));
|
||||
if(control.length === 0){
|
||||
control.push(this.createValue(''));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user