latest change done

This commit is contained in:
gayathri1990 2021-03-13 21:56:59 +05:30
parent ab39da14d0
commit c215128638
3 changed files with 39 additions and 36 deletions

View File

@ -392,7 +392,7 @@
<div fxLayout="row wrap" fxLayoutGap="2px" fxLayoutAlign="start none" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE' || prod_catagory == 'LFMP'"> <div fxLayout="row wrap" fxLayoutGap="2px" fxLayoutAlign="start none" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE' || prod_catagory == 'LFMP'">
<mat-form-field *ngIf="sup.get('assets_mode').value != ''" style="width:95%"> <mat-form-field *ngIf="sup.get('assets_mode').value != ''" style="width:95%">
<mat-label>Is There a Loan Against This Asset?</mat-label> <mat-label>Facility to Loan?</mat-label>
<mat-select <mat-select
formControlName="emi"> formControlName="emi">
<mat-option>Select</mat-option> <mat-option>Select</mat-option>

View File

@ -188,7 +188,7 @@
<div fxLayout="row wrap" fxLayoutGap="2px" fxLayoutAlign="start none"> <div fxLayout="row wrap" fxLayoutGap="2px" fxLayoutAlign="start none">
<mat-form-field style="width:95%" <mat-form-field style="width:95%"
*ngIf="(itemrow.get('business_ownership_type').value == 'owned')"> *ngIf="(itemrow.get('business_ownership_type').value == 'owned')">
<mat-label>Is There a {{lender_short_name == 'CFPL' ? 'Facility' :'Loan'}} Existing Against This Asset?</mat-label> <mat-label>Is There a Loan Existing Against This Asset?</mat-label>
<mat-select <mat-select
formControlName="business_emi"> formControlName="business_emi">
<mat-option>Select</mat-option> <mat-option>Select</mat-option>
@ -448,7 +448,7 @@
*ngIf="(sup.get('business_assets_mode').value != '') && sup.get('business_ownership_type').value == 'owned' && (lender_short_name != 'CLIX' && lender_short_name != 'MWISE' || prod_catagory === 'LFMP')"> *ngIf="(sup.get('business_assets_mode').value != '') && sup.get('business_ownership_type').value == 'owned' && (lender_short_name != 'CLIX' && lender_short_name != 'MWISE' || prod_catagory === 'LFMP')">
<div fxLayout="row wrap" fxLayoutGap="2px" fxLayoutAlign="start none"> <div fxLayout="row wrap" fxLayoutGap="2px" fxLayoutAlign="start none">
<mat-form-field style="width:95%"> <mat-form-field style="width:95%">
<mat-label>Is There a {{lender_short_name == 'CFPL' ? 'Facility' :'Loan'}} Existing Against This Asset?</mat-label> <mat-label>Is There a Loan Existing Against This Asset?</mat-label>
<mat-select <mat-select
formControlName="business_emi"> formControlName="business_emi">
<mat-option>Select</mat-option> <mat-option>Select</mat-option>

View File

@ -787,12 +787,39 @@
</mat-card> </mat-card>
</div> </div>
</div> </div>
<div *ngIf="lender_short_name== 'CFPL'">
<mat-card-subtitle>
<p>Financial Data</p>
</mat-card-subtitle>
<mat-form-field style="width:92%">
<input matInput autocomplete="off" placeholder="Turnover in last completed Year"
formControlName="turnover_lastcomplete_year" OnlyNumber type="text">
</mat-form-field>
<mat-form-field style="width:92%">
<input matInput autocomplete="off" placeholder="YTD turnover"
formControlName="ytd_turnover" OnlyNumber type="text">
</mat-form-field>
<mat-form-field style="width:92%">
<input matInput autocomplete="off" placeholder="Overall debtor collection period"
formControlName="deptor_collection_period" OnlyNumber type="text">
</mat-form-field>
<mat-form-field style="width:92%">
<input matInput autocomplete="off" placeholder="Overall Inventory holding period"
formControlName="inventory_holding_period" OnlyNumber type="text">
</mat-form-field>
<mat-form-field style="width:92%">
<input matInput autocomplete="off" placeholder="Overall creditor payment period"
formControlName="creditor_payment_period" OnlyNumber type="text">
</mat-form-field>
</div>
<div fxLayout="row wrap"> <div fxLayout="row wrap">
<div fxFlex="100"> <div fxFlex="100">
<mat-card> <mat-card>
<mat-card-header> <mat-card-header>
<mat-card-title> <mat-card-title>
<p>Working Capital Details</p> <p>Total Banking Facilities</p>
</mat-card-title> </mat-card-title>
</mat-card-header> </mat-card-header>
<mat-card-content> <mat-card-content>
@ -810,7 +837,7 @@
formControlName="unsold_stock_lies_in_days" OnlyNumber type="text"> formControlName="unsold_stock_lies_in_days" OnlyNumber type="text">
</mat-form-field> </mat-form-field>
<mat-form-field style="width:92%"> <mat-form-field style="width:92%">
<mat-select placeholder="Is there Working Capital Facilities?" formControlName="is_there_working_capital_available"> <mat-select placeholder="Is there {{lender_short_name == 'CFPL' ? 'Total Banking Facilities' :'Working Capital Facilities'}}?" formControlName="is_there_working_capital_available">
<!-- (selectionChange)="selectedWorkingCptl($event.value)" --> <!-- (selectionChange)="selectedWorkingCptl($event.value)" -->
<mat-option value="yes">Yes</mat-option> <mat-option value="yes">Yes</mat-option>
<mat-option value="no">No</mat-option> <mat-option value="no">No</mat-option>
@ -824,35 +851,9 @@
</mat-select> </mat-select>
</mat-form-field> --> </mat-form-field> -->
<div *ngIf="financialForm.controls.is_there_working_capital_available.value == 'yes'"> <div *ngIf="financialForm.controls.is_there_working_capital_available.value == 'yes'">
<div *ngIf="lender_short_name== 'CFPL'">
<mat-card-subtitle>
<p>Financial Data</p>
</mat-card-subtitle>
<mat-form-field style="width:92%">
<input matInput autocomplete="off" placeholder="Turnover in last completed Year"
formControlName="turnover_lastcomplete_year" OnlyNumber type="text">
</mat-form-field>
<mat-form-field style="width:92%">
<input matInput autocomplete="off" placeholder="YTD turnover"
formControlName="ytd_turnover" OnlyNumber type="text">
</mat-form-field>
<mat-form-field style="width:92%">
<input matInput autocomplete="off" placeholder="Overall debtor collection period"
formControlName="deptor_collection_period" OnlyNumber type="text">
</mat-form-field>
<mat-form-field style="width:92%">
<input matInput autocomplete="off" placeholder="Overall Inventory holding period"
formControlName="inventory_holding_period" OnlyNumber type="text">
</mat-form-field>
<mat-form-field style="width:92%">
<input matInput autocomplete="off" placeholder="Overall creditor payment period"
formControlName="creditor_payment_period" OnlyNumber type="text">
</mat-form-field>
</div>
<mat-card-subtitle> <mat-card-subtitle>
<p>Working Capital Facilities availed</p> <p>{{lender_short_name == 'CFPL' ? 'Total Banking Facilities' :'Working Capital Facilities'}} availed</p>
</mat-card-subtitle> </mat-card-subtitle>
<div class="toggle" fxLayout="row wrap" formArrayName="select_working_capital_facilities_availed"> <div class="toggle" fxLayout="row wrap" formArrayName="select_working_capital_facilities_availed">
@ -866,15 +867,17 @@
<mat-form-field style="width:42%;" *ngIf="financialForm.controls['other_reason_for_working_capital_facilities_availed']"> <mat-form-field style="width:42%;" *ngIf="financialForm.controls['other_reason_for_working_capital_facilities_availed']">
<input matInput autocomplete="off" placeholder="Others Working Capital Facilities availed" <input matInput autocomplete="off" placeholder="Others
{{lender_short_name == 'CFPL' ? 'Total Banking Facilities' :'Working Capital Facilities'}}?
availed"
formControlName="other_reason_for_working_capital_facilities_availed"> formControlName="other_reason_for_working_capital_facilities_availed">
<mat-error *ngIf="financialForm.controls['other_reason_for_working_capital_facilities_availed'].hasError('required')">Other Reason For Working Capital Facilities Availed Required</mat-error> <mat-error *ngIf="financialForm.controls['other_reason_for_working_capital_facilities_availed'].hasError('required')">Other Reason For{{lender_short_name == 'CFPL' ? 'Total Banking Facilities' :'Working Capital Facilities'}} Availed Required</mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field style="width:42%;" *ngIf="financialForm.controls['reason_for_working_capital_facilities_availed']"> <mat-form-field style="width:42%;" *ngIf="financialForm.controls['reason_for_working_capital_facilities_availed']">
<input matInput autocomplete="off" placeholder="Details of Others Facility" <input matInput autocomplete="off" placeholder="Details of Others Facility"
formControlName="reason_for_working_capital_facilities_availed"> formControlName="reason_for_working_capital_facilities_availed">
<mat-error *ngIf="financialForm.controls['reason_for_working_capital_facilities_availed'].hasError('required')">Reason For Working Capital Facilities Availed Required</mat-error> <mat-error *ngIf="financialForm.controls['reason_for_working_capital_facilities_availed'].hasError('required')">Reason For {{lender_short_name == 'CFPL' ? 'Total Banking Facilities' :'Working Capital Facilities'}} Availed Required</mat-error>
</mat-form-field> </mat-form-field>
<mat-form-field style="width:42%;" *ngIf="financialForm.controls['bank_guarantee']"> <mat-form-field style="width:42%;" *ngIf="financialForm.controls['bank_guarantee']">