MWISE changes

This commit is contained in:
sriram-at-840620226347 2019-11-20 18:54:21 +05:30
parent f9fa5d8655
commit cfd88d382d
15 changed files with 48 additions and 46 deletions

View File

@ -144,12 +144,12 @@
</mat-form-field>
<mat-form-field style="width:100%" *ngIf="detail.get('property_type').value != '' && (lender_short_name != 'CLIX' && lender_short_name != 'SMC')">
<mat-form-field style="width:100%" *ngIf="detail.get('property_type').value != '' && (lender_short_name != 'CLIX' && lender_short_name != 'MWISE')">
<input matInput placeholder="Description of the Property" formControlName="describe_of_the_property_asset"
autocomplete="off">
</mat-form-field>
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC' || product_abbr == 'LFMP'">
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE' || product_abbr == 'LFMP'">
<mat-form-field style="width:100%">
<input matInput placeholder="Area Covered" formControlName="area_covered_by_this_property"
autocomplete="off" type="number">
@ -348,7 +348,7 @@
</mat-form-field>
</div>-->
<div *ngIf="(lender_short_name !== 'CLIX' && lender_short_name !== 'SMC' || product_abbr === 'LFMP') && (sup.get('assets_mode').value == 1 || sup.get('assets_mode').value == 2 || sup.get('assets_mode').value == 3)">
<div *ngIf="(lender_short_name != 'CLIX') && (lender_short_name == 'MWISE' && product_abbr == 'LFMP') && (sup.get('assets_mode').value == 1 || sup.get('assets_mode').value == 2 || sup.get('assets_mode').value == 3)">
<mat-form-field style="width:100%">
<!-- <mat-label>Vintage</mat-label> -->
@ -380,7 +380,7 @@
</mat-form-field>-->
<mat-list *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC' || product_abbr == 'LFMP'">
<mat-list *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE' || product_abbr == 'LFMP'">
<p>Is there a Loan Existing Against this Assets?</p>
<mat-radio-group formControlName="emi">

View File

@ -215,7 +215,7 @@
<!-- <span *ngIf="(sup.get('business_assets_mode').value == 1 || sup.get('business_assets_mode').value == 2 || sup.get('business_assets_mode').value == 3) && sup.get('business_ownership_type').value == 'owned'"> -->
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC' || product_abbr == 'LFMP'">
<div *ngIf="(lender_short_name != 'CLIX') && (lender_short_name == 'MWISE' && product_abbr == 'LFMP')">
<mat-form-field>
<mat-label>Age of Asset in Years</mat-label>
<input matInput autocomplete="off" placeholder="eg.99" formControlName="business_vintage"
@ -240,7 +240,7 @@
<!-- </div> -->
<span>
<div *ngIf="(lender_short_name !== 'CLIX' && lender_short_name !== 'SMC' || product_abbr === 'LFMP') && (itemrow.get('business_ownership_type').value == 'owned')">
<div *ngIf="(lender_short_name !== 'CLIX' && lender_short_name !== 'MWISE' || product_abbr === 'LFMP') && (itemrow.get('business_ownership_type').value == 'owned')">
<p>Is There a Loan Existing Against This Asset?</p>
<mat-radio-group formControlName="business_emi">
<mat-radio-button value="yes">Yes</mat-radio-button>
@ -426,7 +426,7 @@
</mat-form-field>
<!-- <div *ngIf="sup.get('business_assets_mode').value == 1 || sup.get('business_assets_mode').value == 2 || sup.get('business_assets_mode').value == 3">-->
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC' || product_abbr == 'LFMP'">
<div *ngIf="(lender_short_name != 'CLIX') && (lender_short_name == 'MWISE' && product_abbr == 'LFMP')">
<mat-form-field>
<mat-label>Age of Asset in Years</mat-label>
@ -449,7 +449,7 @@
<!--<div *ngIf="sup.get('business_assets_mode').value == 2 || sup.get('business_assets_mode').value == 3 || sup.get('business_assets_mode').value == 4">-->
<div
*ngIf="(lender_short_name !== 'CLIX' && lender_short_name !== 'SMC' || product_abbr === 'LFMP') && (sup.get('business_assets_mode').value != '') && sup.get('business_ownership_type').value == 'owned'">
*ngIf="(lender_short_name !== 'CLIX' && lender_short_name !== 'MWISE' || product_abbr === 'LFMP') && (sup.get('business_assets_mode').value != '') && sup.get('business_ownership_type').value == 'owned'">
<p>Is There a Loan Existing Against This Asset?</p>
<mat-radio-group formControlName="business_emi">

View File

@ -1939,7 +1939,7 @@
<input matInput type="number" placeholder="Permanent"
(change)="checkTotalEmployee(businessForm)" formControlName="employees_permanent" >
</mat-form-field>
<mat-form-field style="width:100%;" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC'">
<mat-form-field style="width:100%;" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE'">
<input matInput type="number" placeholder="Temporary"
(change)="checkTotalEmployee(businessForm)" formControlName="employees_temporary" >
</mat-form-field>

View File

@ -593,7 +593,7 @@ export class PdQuestionBusinessInfoPage {
});
if (selectedRetail.length > 0) {
selectedRetail.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');
if(!(this.lender_short_name == 'CLIX' && this.product_abbr == 'BL') && !(this.lender_short_name == 'SMC' && this.product_abbr == 'BL')){
if(!(this.lender_short_name == 'CLIX' && this.product_abbr == 'BL') && !(this.lender_short_name == 'MWISE' && this.product_abbr == 'BL')){
selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');
selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');
selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')) : this.businessForm.removeControl('no_of_pos_machines');
@ -674,7 +674,7 @@ export class PdQuestionBusinessInfoPage {
});
if (selectedWholesale.length > 0) {
selectedWholesale.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');
if(!(this.lender_short_name == 'CLIX' && this.product_abbr == 'BL') && !(this.lender_short_name == 'SMC' && this.product_abbr == 'BL')){
if(!(this.lender_short_name == 'CLIX' && this.product_abbr == 'BL') && !(this.lender_short_name == 'MWISE' && this.product_abbr == 'BL')){
selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');
selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');
selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')) : this.businessForm.removeControl('no_of_pos_machines');
@ -756,7 +756,7 @@ export class PdQuestionBusinessInfoPage {
})
if (selectedService.length > 0) {
selectedService.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('practice_cert');
if(!(this.lender_short_name == 'CLIX' && this.product_abbr == 'BL') && !(this.lender_short_name == 'SMC' && this.product_abbr == 'BL')){
if(!(this.lender_short_name == 'CLIX' && this.product_abbr == 'BL') && !(this.lender_short_name == 'MWISE' && this.product_abbr == 'BL')){
selectedService.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');
selectedService.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');
selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')) : this.businessForm.removeControl('no_of_pos_machines');
@ -1190,7 +1190,7 @@ export class PdQuestionBusinessInfoPage {
this.businessForm.value.service_provider_activity_details.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl(this.businessForm.value.practice_cert, Validators.required)) : this.businessForm.removeControl('practice_cert');
// check activity for extra question make dynamic
if(!(this.lender_short_name == 'CLIX' && this.product_abbr == 'BL') && !(this.lender_short_name == 'SMC' && this.product_abbr == 'BL')){
if(!(this.lender_short_name == 'CLIX' && this.product_abbr == 'BL') && !(this.lender_short_name == 'MWISE' && this.product_abbr == 'BL')){
this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl(this.businessForm.value.applicant_use_mobile_wallets)) : this.businessForm.removeControl('applicant_use_mobile_wallets');
this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl(this.businessForm.value.applicant_use_pos_machines)) : this.businessForm.removeControl('applicant_use_pos_machines');

View File

@ -119,7 +119,7 @@
<input matInput placeholder="Client Name" formControlName="manufacturing_client_name" (change)="setValidationForRemarks($event.target.value,items,i,1)">
</mat-form-field>
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC'">
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE'">
<mat-form-field style="width: 100%">
<mat-select placeholder="Title" formControlName="person_title_name">
<mat-option>Select</mat-option>
@ -198,7 +198,7 @@
</mat-form-field>
</span>
</div>
<div *ngIf="lender_short_name == 'SMC'">
<div *ngIf="lender_short_name == 'MWISE'">
<mat-form-field style="width: 100%">
<input matInput placeholder="Contribution to Total Turnover in %"
formControlName="manufacturing_contribution_total_turnover"
@ -265,7 +265,7 @@
<input matInput placeholder="Client Name" formControlName="trade_client_name">
</mat-form-field>
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC'">
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE'">
<mat-form-field style="width: 100%">
<mat-select placeholder="Title" formControlName="person_title_name">
<mat-option>Select</mat-option>
@ -348,7 +348,7 @@
</mat-form-field>
</span>
</div>
<div *ngIf="lender_short_name == 'SMC'">
<div *ngIf="lender_short_name == 'MWISE'">
<mat-form-field style="width: 100%">
<input matInput placeholder="Contribution to Total Turnover in %"
formControlName="trade_product_contribution_total_turnover"
@ -416,7 +416,7 @@
<input matInput placeholder="Client Name" formControlName="service_provider_client_name">
</mat-form-field>
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC'">
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE'">
<mat-form-field style="width: 100%">
<mat-select placeholder="Title" formControlName="person_title_name">
<mat-option>Select</mat-option>
@ -497,7 +497,7 @@
</mat-form-field>
</span>
</div>
<div *ngIf="lender_short_name == 'SMC'">
<div *ngIf="lender_short_name == 'MWISE'">
<mat-form-field style="width: 100%">
<input matInput placeholder="Contribution to Total Turnover in %"
formControlName="service_provider_contribution_total_turnover"

View File

@ -361,7 +361,7 @@
</div>
</div> <br/>
<div *ngIf="financialForm.value.is_financial_customer == 'no' && financialForm.controls['kuccha_records_shown'] && (lender_short_name !== 'CLIX' && lender_short_name !== 'SMC')">
<div *ngIf="financialForm.value.is_financial_customer == 'no' && financialForm.controls['kuccha_records_shown'] && (lender_short_name !== 'CLIX' && lender_short_name !== 'MWISE')">
<div>
<mat-radio-group formControlName="kuccha_records_shown" (change)="kucchaChangeFun()">
<mat-label>Were the Kuccha records shown to the PD officer</mat-label><br/>

View File

@ -105,7 +105,7 @@
</mat-select>
</mat-form-field>
<span *ngIf="mrm.get('stock_observed').value == 'yes'">
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC' || product_abbr == 'LFMP'">
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE' || product_abbr == 'LFMP'">
<mat-form-field style="width:100%">
<input matInput autocomplete="off" placeholder="Estimated Quantity"
formControlName="raw_quantity" type="number">
@ -199,7 +199,7 @@
</mat-select>
</mat-form-field>
<span *ngIf="mfg.get('goods_observed').value == 'yes'">
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC' || product_abbr == 'LFMP'">
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE' || product_abbr == 'LFMP'">
<mat-form-field style="width:100%">
<input matInput autocomplete="off" placeholder="Estimated Quantity"
formControlName="goods_quantity" type="number">
@ -293,7 +293,7 @@
</mat-select>
</mat-form-field>
<span *ngIf="item.get('traded_goods_observed').value == 'yes'">
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC' || product_abbr == 'LFMP'">
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE' || product_abbr == 'LFMP'">
<mat-form-field style="width:100%">
<input matInput autocomplete="off" placeholder="Estimated Quantity"
formControlName="traded_goods_quantity" type="number">
@ -391,7 +391,7 @@
</mat-select>
</mat-form-field>
<span *ngIf="tradetg.get('traded_goods_observed').value == 'yes'">
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC' || product_abbr == 'LFMP'">
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE' || product_abbr == 'LFMP'">
<mat-form-field style="width:100%">
<input matInput autocomplete="off" placeholder="Estimated Quantity"
formControlName="traded_goods_quantity" type="number">
@ -508,7 +508,7 @@
</mat-form-field>
<span *ngIf="serv.get('service_provider_observed').value == 'yes'">
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC' || product_abbr == 'LFMP'">
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE' || product_abbr == 'LFMP'">
<mat-form-field style="width:100%">
<input matInput autocomplete="off" placeholder="Estimated Quantity"
formControlName="service_provider_quantity" type="number">
@ -589,7 +589,7 @@
<mat-card-title><h5>Service Provider Details</h5></mat-card-title>
<div style="text-align: center; margin: 12px;">Service Provider Details Not applicable here !!</div>
</mat-card> -->
<mat-card *ngIf="lender_short_name == 'SMC'">
<mat-card *ngIf="lender_short_name == 'MWISE'">
<ion-buttons slot="end">
<button mini ion-fab color="optblue" float-right slot="fixed" (click)="capture()"><ion-icon name="md-camera" style="font-size: 24px"></ion-icon></button>
</ion-buttons>

View File

@ -116,7 +116,7 @@
<mat-form-field style="width: 100%">
<input matInput placeholder="Supplier Name" formControlName="manufacturing_supplier_name">
</mat-form-field>
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC'">
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE'">
<mat-form-field style="width: 100%">
<mat-select placeholder="Title" formControlName="person_title_name">
<mat-option>Select</mat-option>
@ -185,7 +185,7 @@
</mat-form-field>
</span>
</div>
<div *ngIf="lender_short_name == 'SMC'">
<div *ngIf="lender_short_name == 'MWISE'">
<mat-form-field style="width: 100%">
<input matInput placeholder="Contribution to Total Purchase in %"
formControlName="manufacturing_contribution_total_purchase"
@ -254,7 +254,7 @@
<mat-form-field style="width: 100%">
<input matInput placeholder="Supplier Name" formControlName="trade_supplier_name">
</mat-form-field>
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC'">
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE'">
<mat-form-field style="width: 100%">
<mat-select placeholder="Title" formControlName="person_title_name">
<mat-option>Select</mat-option>
@ -325,7 +325,7 @@
</mat-form-field>
</span>
</div>
<div *ngIf="lender_short_name == 'SMC'">
<div *ngIf="lender_short_name == 'MWISE'">
<mat-form-field style="width: 100%">
<input matInput placeholder="Contribution to Total Purchase in %"
formControlName="trade_product_contribution_total_purchase"
@ -401,7 +401,7 @@
<mat-form-field style="width: 100%">
<input matInput placeholder="Supplier Name" formControlName="service_provider_supplier_name">
</mat-form-field>
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC'">
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE'">
<mat-form-field style="width: 100%">
<mat-select placeholder="Title" formControlName="person_title_name">
<mat-option>Select</mat-option>
@ -472,7 +472,7 @@
</mat-form-field>
</span>
</div>
<div *ngIf="lender_short_name == 'SMC'">
<div *ngIf="lender_short_name == 'MWISE'">
<mat-form-field style="width: 100%">
<input matInput placeholder="Contribution to Total Purchase in %"
formControlName="service_provider_contribution_total_purchase"

View File

@ -230,13 +230,15 @@
<div *ngIf="currentLoans.controls.loan_info_available.value == 'No'&& currentLoans.controls['tot_outstanding_loans'] && currentLoans.controls.existing_loan.value == 'Yes'">
<mat-card-content>
<mat-form-field style="width: 100%">
<input matInput type="number" placeholder="Total no of running loans" formControlName="tot_running_loans">
<input matInput autocomplete="off" type="text" placeholder="Total no of running loans" formControlName="tot_running_loans" (keypress)="keyPress($event)">
</mat-form-field>
<mat-form-field style="width: 100%">
<input matInput type="number" placeholder="Total EMI being paid" formControlName="tot_emi_paid">
<input matInput autocomplete="off" OnlyNumber type="text" placeholder="Total EMI being paid" formControlName="tot_emi_paid" (keyup)="inWords($event,i,1)" (keypress)="keyPress($event)">
<mat-hint align="end" *ngIf="currentLoans.value.tot_emi_paid.value != ''">{{"&#8377;"}} {{amtInwords[i]}} Only</mat-hint>
</mat-form-field>
<mat-form-field style="width: 100%">
<input matInput type="number" placeholder="Total Outstanding of all running loans" formControlName="tot_outstanding_loans">
<input matInput autocomplete="off" OnlyNumber type="text" placeholder="Total Outstanding of all running loans" formControlName="tot_outstanding_loans" (keyup)="inWords($event,i,2)" (keypress)="keyPress($event)">
<mat-hint align="end" *ngIf="currentLoans.value.tot_outstanding_loans.value != ''">{{"&#8377;"}} {{emiAmtInwords[i]}} Only</mat-hint>
</mat-form-field>
</mat-card-content>
</div>

View File

@ -200,7 +200,7 @@
</ion-row>
</ion-buttons>
</mat-card>
<mat-card *ngIf="tech.get('selected_person').value != '' && (lender_short_name != 'CLIX' && lender_short_name != 'SMC') || product_abbr === 'LFMP'">
<mat-card *ngIf="tech.get('selected_person').value != '' && (lender_short_name != 'CLIX' && lender_short_name != 'MWISE') || product_abbr === 'LFMP'">
<div formArrayName="family_members_details" >
<div *ngFor="let item of tech.controls.family_members_details['controls']; let ix=index; let last=last" [formGroupName]="ix">
@ -301,7 +301,7 @@
</div>
</mat-card>
<mat-card *ngIf="lender_short_name == 'CLIX' || lender_short_name == 'SMC' && product_abbr !== 'LFMP'">
<mat-card *ngIf="lender_short_name == 'CLIX' || lender_short_name == 'MWISE' && product_abbr !== 'LFMP'">
<mat-card-header appearence="outline">
<mat-card-title><h5>Family Details Of {{FamilyMemberAsLabel[i]}}</h5></mat-card-title>
</mat-card-header>

View File

@ -208,10 +208,10 @@
</mat-form-field> -->
</mat-card-content>
</mat-card>
<mat-card *ngIf="lender_short_name == 'CLIX' || lender_short_name == 'SMC' || product_abbr == 'LAEP'">
<mat-card *ngIf="lender_short_name == 'CLIX' || lender_short_name == 'MWISE' || product_abbr == 'LAEP'">
<mat-card-content>
<mat-card-subtitle *ngIf="lender_short_name == 'CLIX'">CLIX</mat-card-subtitle>
<mat-card-subtitle *ngIf="lender_short_name == 'SMC'">SMC</mat-card-subtitle>
<mat-card-subtitle *ngIf="lender_short_name == 'MWISE'">MWISE</mat-card-subtitle>
<!-- <mat-form-field *ngIf="_finalRemarkForm.controls['outlet_location']">
<mat-select placeholder="Comment on Footfall in the market where the B2C outlet is located…" formControlName="outlet_location"
required>

View File

@ -86,7 +86,7 @@ export class PdQuestionFinalRemarkPage {
})
if(this.lender_short_name == 'CLIX' || this.lender_short_name == 'SMC' || this.product_abbr == 'LAEP'){
if(this.lender_short_name == 'CLIX' || this.lender_short_name == 'MWISE' || this.product_abbr == 'LAEP'){
this.product_abbr == 'LAEP' ? this._finalRemarkForm.addControl('outlet_location', new FormControl('', Validators.required)) : this._finalRemarkForm.removeControl('outlet_location');
this._finalRemarkForm.addControl('is_competition', new FormControl(''));
this._finalRemarkForm.addControl('sealing_activity', new FormControl(''));
@ -472,7 +472,7 @@ RecommendationChange(e) {
}
this._finalRemarkForm.controls.final_form_remarks.setValue(data['records'].final_form_remarks);
if(this.lender_short_name == 'CLIX' || this.lender_short_name == 'SMC' || this.product_abbr == 'LAEP'){
if(this.lender_short_name == 'CLIX' || this.lender_short_name == 'MWISE' || this.product_abbr == 'LAEP'){
if(this.product_abbr == 'LAEP'){this._finalRemarkForm.controls.outlet_location.setValue(this.product_abbr == 'LAEP' ? data['records'].outlet_location : '')}
this._finalRemarkForm.controls.is_competition.setValue(data['records'].is_competition);

File diff suppressed because one or more lines are too long

View File

@ -73,7 +73,7 @@
<mat-form-field *ngIf="isOtherPurpose" style="width: 100%">
<input matInput placeholder="Specify End Use" formControlName="end_use_other">
</mat-form-field>
<mat-form-field style="width: 100%" *ngIf="lender_short_name == 'CLIX' || lender_short_name == 'SMC' && productAbbr != 'LFMP'">
<mat-form-field style="width: 100%" *ngIf="lender_short_name == 'CLIX' || lender_short_name == 'MWISE' && productAbbr != 'LFMP'">
<mat-select placeholder="Total fund requirement"
formControlName="is_there_total_fund">
<mat-option>Select</mat-option>
@ -89,7 +89,7 @@
<mat-hint align="end" *ngIf="loanDetailsForm.controls['fund_amt'].value != '' && fundAmtInWords !=''">{{"&#8377;"}} {{fundAmtInWords}} Only</mat-hint>
</mat-form-field>
</span>
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC' || productAbbr == 'LFMP'">
<div *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE' || productAbbr == 'LFMP'">
<mat-form-field style="width: 100%">
<mat-select placeholder="Is there a balance transfer ? " (selectionChange)="selectedBalancesTransferChanges($event.value)"
formControlName="is_transfer" >
@ -131,7 +131,7 @@
<input matInput placeholder="Top Up Amt" type="number" formControlName="topup_amount" (keyup)="inWords($event,5)">
<mat-hint align="end" *ngIf="loanDetailsForm.controls['topup_amount'].value != ''">{{"&#8377;"}} {{topUpAmtInWords}} Only</mat-hint>
</mat-form-field >
<mat-form-field style="width:100%" *ngIf="loanDetailsForm.controls['topup_amount'].value > 0 && (lender_short_name != 'CLIX' && lender_short_name != 'SMC' || productAbbr == 'LFMP')" >
<mat-form-field style="width:100%" *ngIf="loanDetailsForm.controls['topup_amount'].value > 0 && (lender_short_name != 'CLIX' && lender_short_name != 'MWISE' || productAbbr == 'LFMP')" >
<mat-select placeholder="What is the End Use of the Top Up?"
formControlName="end_use_topup" >
<mat-option>Select</mat-option>

View File

@ -956,7 +956,7 @@ export class PdQuestionLoansPage {
// this.loanDetailsForm.controls['value_per_agreement'].setValue(loanDetails.value_per_agreement);
this.loanDetailsForm.controls['loandetails_remarks'].setValue(loanDetails.loandetails_remarks);
} else {
if(this.lender_short_name == 'CLIX' || this.lender_short_name == 'SMC'){
if(this.lender_short_name == 'CLIX' || this.lender_short_name == 'MWISE'){
this.loanDetailsForm.controls['is_transfer'].setValue("no");
this.selectedBalancesTransferChanges("no")