financial and sales issue fixed

This commit is contained in:
sriram-at-840620226347 2019-11-27 17:34:11 +05:30
parent 61beb9d3ae
commit 70c0b9c3e6
3 changed files with 10 additions and 5 deletions

View File

@ -477,7 +477,7 @@
formControlName="estimate_reason_for_loss">
</mat-form-field>
</div>
<mat-form-field style="width:54%" *ngIf="lender_short_name == 'CLIX' || lender_short_name == 'MWISE' || product_abbr == 'LAEP'">
<mat-form-field style="width:54%" *ngIf="(lender_short_name == 'CLIX' ? product_abbr !='BL' ? true : false : true) && (lender_short_name == 'MWISE' ? product_abbr != 'BL' ? true : false : true)">
<input matInput placeholder="Annual Sales through Credit Card / POS machines"
formControlName="estimate_posmachine_or_cc_annual_sales">
<mat-hint align="start" style="font-size:90%" *ngIf="details.get('estimate_posmachine_or_cc_annual_sales').value != ''">{{"&#8377;"}}

View File

@ -86,14 +86,19 @@
<small mat-line>{{details.sales_pd_id}}</small>
</mat-cell>
</ng-container>
<ng-container matColumnDef="SalesPdSno">
<mat-cell class="cell" *matCellDef="let details;">
<small mat-line>{{details.sales_pd_sno}}</small>
</mat-cell>
</ng-container>
<ng-container matColumnDef="Applicant Name">
<mat-cell class="cell" *matCellDef="let details;">
<span *ngIf="!details.applicant_name" mat-line>
<small>--</small>
</span><br>
</span>
<span *ngIf="details.applicant_name" mat-line>
<b>{{details.applicant_name}}</b>
</span><br>
</span>
<span class="fontsize"> {{details.applicant_id}}</span>
</mat-cell>
</ng-container>
@ -111,7 +116,7 @@
<mat-cell class="cell center" *matCellDef="let details;">
<span *ngIf="!details.officer_name" mat-line>
<small>--</small>
</span><br>
</span>
<span *ngIf="details.applicant_name" mat-line>
<small mat-line>{{details.officer_name}}</small>
</span>

View File

@ -12,7 +12,7 @@ export class SalesPdComponent implements OnInit {
public dataLengthTab4: number;
public dataSourceTab4 = new MatTableDataSource();
displayedColumns = ['SalesPdId','Applicant Name','Short Name','Abbr','Officer Name','Create On','Action'];
displayedColumns = ['SalesPdId','SalesPdSno','Applicant Name','Short Name','Abbr','Officer Name','Create On','Action'];
@ViewChild(MatPaginator) paginator: MatPaginator;
@ViewChild(MatSort) sort: MatSort;