MWISE Changes

This commit is contained in:
sriram-at-840620226347 2019-11-20 18:51:33 +05:30
parent 217119b995
commit 0b30124956
15 changed files with 52 additions and 51 deletions

View File

@ -74,13 +74,13 @@
<input matInput placeholder="Address of the Property" formControlName="address_of_the_property"
autocomplete="off">
</mat-form-field>
<mat-form-field style="width:45%" *ngIf="detail.get('property_type').value != '' && (lender_short_name != 'CLIX' && lender_short_name != 'SMC')">
<mat-form-field style="width:45%" *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>
<div fxLayout="row nowrap" fxLayoutGap="2px" fxLayoutAlign="start none" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC' || product_abbr == 'LFMP'">
<div fxLayout="row nowrap" fxLayoutGap="2px" fxLayoutAlign="start none" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE' || product_abbr == 'LFMP'">
<mat-form-field style="width:45%">
<input matInput placeholder="Area Covered" formControlName="area_covered_by_this_property" OnlyNumber type="text"
autocomplete="off">
@ -358,8 +358,7 @@
</mat-form-field> -->
</div>
<span *ngIf="(lender_short_name !== 'CLIX' && lender_short_name !== 'SMC' || product_abbr === 'LFMP') && sup.get('assets_mode').value == 2 || sup.get('assets_mode').value == 3 || sup.get('assets_mode').value == 1 ">
<span *ngIf="(lender_short_name != 'CLIX') && (lender_short_name == 'MWISE' && product_abbr == 'LFMP') && (sup.get('assets_mode').value == 2 || sup.get('assets_mode').value == 3 || sup.get('assets_mode').value == 1)">
<mat-form-field style="width:45%">
<mat-label>Age of Asset in Years</mat-label>
@ -386,7 +385,7 @@
</mat-form-field>
</span>
<div fxLayout="row wrap" fxLayoutGap="2px" fxLayoutAlign="start none" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC' || product_abbr == 'LFMP'">
<div fxLayout="row wrap" fxLayoutGap="2px" fxLayoutAlign="start none" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE' || product_abbr == 'LFMP'">
<mat-form-field *ngIf="sup.get('assets_mode').value != ''" style="width:95%">
<mat-select placeholder="Is There a Loan Existing Against This Asset?"

View File

@ -155,7 +155,7 @@
*ngIf="itemrow.controls['business_name_of_the_other_owner'].hasError('required')">Asset
Owned by Required</mat-error>
</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:45%">
<mat-label>Age of Asset in Years</mat-label>
<input matInput autocomplete="off" placeholder="eg.99" formControlName="business_vintage"
@ -183,7 +183,7 @@
</div>
<span *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC' || product_abbr === 'LFMP'">
<span *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE' || product_abbr === 'LFMP'">
<div fxLayout="row wrap" fxLayoutGap="2px" fxLayoutAlign="start none">
<mat-form-field style="width:95%"
*ngIf="(itemrow.get('business_ownership_type').value == 'owned')">
@ -416,7 +416,7 @@
*ngIf="sup.controls['business_name_of_the_other_owner'].hasError('required')">Asset
Owned by is Required</mat-error>
</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:45%">
<mat-label>Age of Asset in Years</mat-label>
<input matInput autocomplete="off" placeholder="eg.99"
@ -443,7 +443,7 @@
</div>
<span
*ngIf="(sup.get('business_assets_mode').value != '') && sup.get('business_ownership_type').value == 'owned' && (lender_short_name != 'CLIX' && lender_short_name != 'SMC' || product_abbr === 'LFMP')">
*ngIf="(sup.get('business_assets_mode').value != '') && sup.get('business_ownership_type').value == 'owned' && (lender_short_name != 'CLIX' && lender_short_name != 'MWISE' || product_abbr === 'LFMP')">
<div fxLayout="row wrap" fxLayoutGap="2px" fxLayoutAlign="start none">
<mat-form-field style="width:95%">
<mat-select placeholder="Is There a Loan Existing Against This Asset?"

View File

@ -199,7 +199,7 @@ export class BusinessInfoGroupComponent implements OnInit {
this.getCompanyListForBusiness();
});
}else
if((this.lender_short_name == 'CLIX' || this.product_abbr == 'LAEP' || (this.product_abbr == 'LFMP' && this.lender_short_name == 'SMC')) && details.form_id==23){
if((this.lender_short_name == 'CLIX' || this.product_abbr == 'LAEP' || (this.product_abbr == 'LFMP' && this.lender_short_name == 'MWISE')) && details.form_id==23){
const dialogRef = this.dialog.open(FuturePlansAndBusinessEnvironmentComponent, {
data: this.pd_all_details,
maxWidth: '100vw',

View File

@ -1577,7 +1577,7 @@
type="number" formControlName="employees_permanent" required>
<mat-error *ngIf="businessForm.controls['employees_permanent'].hasError('required')">Permanent Required</mat-error>
</mat-form-field>
<mat-form-field *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC'">
<mat-form-field *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE'">
<input matInput placeholder="Temporary" (change)="checkTotalEmployee(businessForm)"
type="number" formControlName="employees_temporary" >
<mat-error *ngIf="businessForm.controls['employees_temporary'].hasError('required')">Temporary Required</mat-error>

View File

@ -396,7 +396,7 @@ export class BusinessInfoComponent implements OnInit {
});
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')){
console.log('###PAY');console.log(this.lender_short_name,this.product_abbr)
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');
@ -467,7 +467,7 @@ export class BusinessInfoComponent implements OnInit {
});
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');
@ -536,7 +536,7 @@ export class BusinessInfoComponent implements OnInit {
});
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');
@ -806,7 +806,7 @@ export class BusinessInfoComponent implements OnInit {
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');
if (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) {

View File

@ -56,7 +56,7 @@
<input matInput placeholder="Client Name" formControlName="manufacturing_client_name">
</mat-form-field>
</div>
<div fxLayout="row nowrap" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC'">
<div fxLayout="row nowrap" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE'">
<mat-form-field style="width: 15%">
<mat-select placeholder="Title" formControlName="person_title_name">
<mat-option>Select</mat-option>
@ -140,7 +140,7 @@
type="number">
</mat-form-field>
</div>
<div fxLayout="row" *ngIf="lender_short_name == 'SMC'">
<div fxLayout="row" *ngIf="lender_short_name == 'MWISE'">
<mat-form-field style="width: 100%">
<input matInput placeholder="Contribution to Total Turnover in %"
formControlName="manufacturing_contribution_total_turnover"
@ -203,7 +203,7 @@
<input matInput placeholder="Client Name" formControlName="trade_client_name">
</mat-form-field>
</div>
<div fxLayout="row nowrap" fxLayoutGap="2px" fxLayoutAlign="start none" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC'">
<div fxLayout="row nowrap" fxLayoutGap="2px" fxLayoutAlign="start none" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE'">
<mat-form-field style="width: 15%">
<mat-select placeholder="Title" formControlName="person_title_name">
<mat-option>Select</mat-option>
@ -287,7 +287,7 @@
type="number">
</mat-form-field>
</div>
<div fxLayout="row" *ngIf="lender_short_name == 'SMC'">
<div fxLayout="row" *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"
@ -347,7 +347,7 @@
<input matInput placeholder="Client Name" formControlName="service_provider_client_name">
</mat-form-field>
</div>
<div fxLayout="row wrap" fxLayoutGap="2px" fxLayoutAlign="start none" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC'">
<div fxLayout="row wrap" fxLayoutGap="2px" fxLayoutAlign="start none" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE'">
<!--<mat-form-field style="width: 100%">
<input matInput placeholder="Trade Product Name" formControlName="trade_product_name">
</mat-form-field>-->
@ -433,7 +433,7 @@
type="number">
</mat-form-field>
</div>
<div fxLayout="row" *ngIf="lender_short_name == 'SMC'">
<div fxLayout="row" *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

@ -194,13 +194,15 @@
</mat-card-header>
<mat-card-content>
<mat-form-field style="width: 30%">
<input matInput type="number" placeholder="Total no of running loans" formControlName="tot_running_loans">
<input matInput autocomplete="off" OnlyNumber type="text" placeholder="Total no of running loans" formControlName="tot_running_loans">
</mat-form-field>
<mat-form-field style="width: 30%">
<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">
<mat-hint align="start" style="font-size:90%" *ngIf="currentLoanForm.value.tot_emi_paid.value != ''">{{"&#8377;"}} {{currentLoanForm.value.tot_emi_paid | numberToWords}} Only</mat-hint>
</mat-form-field>
<mat-form-field style="width: 30%">
<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">
<mat-hint align="start" style="font-size:90%" *ngIf="currentLoanForm.value.tot_outstanding_loans.value != ''">{{"&#8377;"}} {{currentLoanForm.value.tot_outstanding_loans | numberToWords}} Only</mat-hint>
</mat-form-field>
</mat-card-content>
</mat-card>

View File

@ -134,7 +134,7 @@
</mat-form-field>
</div> -->
<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'">
<div formArrayName="family_members_details">
<div *ngFor="let item of sup.controls.family_members_details['controls']; let i=index; let last=last "
[formGroupName]="i">
@ -273,7 +273,7 @@
</mat-card-actions>
</div>
<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-card>
<mat-card-header>
<mat-card-title>

View File

@ -147,10 +147,10 @@
<mat-error *ngIf="_finalRemarkForm.controls['mode_of_transport_during_visit'].hasError('required')">Specify the Mode of Transport Used to Visit the PD address Required</mat-error>
</mat-form-field>
<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 style="width:94%;" *ngIf="_finalRemarkForm.controls['outlet_location'] && product_abbr == 'LAEP'">
<mat-select placeholder="Comment on Footfall in the market where the B2C outlet is located…" formControlName="outlet_location"
required>

View File

@ -100,7 +100,7 @@ export class FinalRemarksComponent implements OnInit {
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'){
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(''));
@ -239,7 +239,7 @@ export class FinalRemarksComponent implements OnInit {
this._finalRemarkForm.controls.market_intelligence.setValue(data.records.market_intelligence || '');
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);

View File

@ -397,7 +397,7 @@
{{AV_netProfitAmtInwords[i]}} Only </mat-hint> -->
</mat-form-field>
<mat-form-field style="width:54%" *ngIf="lender_short_name == 'CLIX' || lender_short_name == 'SMC' || product_abbr == 'LAEP'">
<mat-form-field style="width:54%" *ngIf="lender_short_name == 'CLIX' || lender_short_name == 'MWISE' || product_abbr == 'LAEP'">
<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;"}}
@ -486,7 +486,7 @@
</mat-card-content>
</div>
</div>
<div style="margin-left: 25px;" *ngIf="financialForm.value.is_financial_customer == 'no' && financialForm.controls['kuccha_records_shown'] && (customer_segment_abbr == 'SE-DI' && lender_short_name != 'CLIX') && (lender_short_name != 'SMC')">
<div style="margin-left: 25px;" *ngIf="financialForm.value.is_financial_customer == 'no' && financialForm.controls['kuccha_records_shown'] && (customer_segment_abbr == 'SE-DI' && lender_short_name != 'CLIX') && (lender_short_name != 'MWISE')">
<!-- <mat-form-field style="width: 100%"> -->
<!-- <mat-select placeholder="Were the Kuccha records shown to the PD officer"-->
<div style="width:auto">

View File

@ -58,7 +58,7 @@
<mat-error *ngIf="loanDetailsForm.controls['end_use_other'].hasError('required')">End Use Required</mat-error>
</mat-form-field>
<mat-form-field style="width: 28%" *ngIf="lenderShortName == 'CLIX' || lenderShortName == 'SMC' && productAbbr != 'LFMP'">
<mat-form-field style="width: 28%" *ngIf="lenderShortName == 'CLIX' || lenderShortName == 'MWISE' && productAbbr != 'LFMP'">
<mat-select placeholder="Total fund requirement"
formControlName="is_there_total_fund">
<mat-option>Select</mat-option>
@ -76,7 +76,7 @@
</mat-form-field>
</span>
<div *ngIf="lenderShortName != 'CLIX' && lenderShortName != 'SMC' || productAbbr == 'LFMP'">
<div *ngIf="lenderShortName != 'CLIX' && lenderShortName != 'MWISE' || productAbbr == 'LFMP'">
<mat-form-field style="width: 64%">
<mat-select placeholder="Is there a balance transfer ? " (selectionChange)="selectedBalancesTransferChanges($event.value)"
formControlName="is_transfer">
@ -119,7 +119,7 @@
</mat-form-field>
<mat-form-field style="width:64%" *ngIf="loanDetailsForm.controls['topup_amount'].value > 0 && (lenderShortName != 'CLIX' && lenderShortName != 'SMC' || productAbbr == 'LFMP')">
<mat-form-field style="width:64%" *ngIf="loanDetailsForm.controls['topup_amount'].value > 0 && (lenderShortName != 'CLIX' && lenderShortName != 'MWISE' || productAbbr == 'LFMP')">
<mat-select placeholder="What is the End Use of the Top Up?"
formControlName="end_use_topup">
<mat-option>Select</mat-option>
@ -166,7 +166,7 @@
</span>
<mat-form-field style="width: 64%" *ngIf="lenderShortName != 'CLIX' && lenderShortName != 'SMC' || productAbbr == 'LFMP'">
<mat-form-field style="width: 64%" *ngIf="lenderShortName != 'CLIX' && lenderShortName != 'MWISE' || productAbbr == 'LFMP'">
<input matInput placeholder="EMI Amount Comfortable Paying" formControlName="emi_level"
OnlyNumber type="text" autocomplete="off">
<mat-hint align="start" style="font-size:90%" *ngIf="loanDetailsForm.controls['emi_level'].value != ''">{{"&#8377;"}} {{ loanDetailsForm.controls['emi_level'].value | numberToWords }} Only</mat-hint>

View File

@ -335,7 +335,7 @@ export class LoanDetailsComponent implements OnInit {
if (this.pd_all_details.pdmaster_details.fk_subproduct_id) {
this.loanDetailsForm.controls['sub_product'].setValue(this.pd_all_details.pdmaster_details.fk_subproduct_id);
}
if(this.lenderShortName == 'CLIX' || this.lenderShortName == 'SMC'){
if(this.lenderShortName == 'CLIX' || this.lenderShortName == 'MWISE'){
// console.log(this.lenderShortName);
this.loanDetailsForm.controls['is_transfer'].setValue("no");
this.selectedBalancesTransferChanges("no")
@ -838,7 +838,7 @@ export class LoanDetailsComponent implements OnInit {
}
}
}
if(this.lenderShortName == 'CLIX' || this.lenderShortName == 'SMC'){
if(this.lenderShortName == 'CLIX' || this.lenderShortName == 'MWISE'){
this.loanDetailsForm.controls['own_contribution'].setValue('');
this.loanDetailsForm.controls['own_contribution'].clearValidators();
this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();
@ -892,7 +892,7 @@ export class LoanDetailsComponent implements OnInit {
records.balance_transfer_amount = this.loanDetailsForm.controls['balance_transfer_amount'].value;
}
else if (this.loanDetailsForm.controls['is_transfer'].value == 'no') {
if (this.isContribution || this.lenderShortName == 'CLIX' || this.lenderShortName == 'SMC') {
if (this.isContribution || this.lenderShortName == 'CLIX' || this.lenderShortName == 'MWISE') {
records.own_contribution = '';
records.source_group = '';
records.other_source = '';

View File

@ -46,7 +46,7 @@
<mat-error *ngIf="mrm.controls['stock_observed'].hasError('required')">Stock Required</mat-error>
</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:30%">
<input matInput autocomplete="off" placeholder="Estimated Quantity"
formControlName="raw_quantity" OnlyNumber type="text">
@ -141,7 +141,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:30%">
<input matInput autocomplete="off" placeholder="Estimated Quantity"
formControlName="goods_quantity" OnlyNumber
@ -227,7 +227,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:30%">
<input matInput autocomplete="off" placeholder="Estimated Quantity"
formControlName="traded_goods_quantity"
@ -316,7 +316,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:30%">
<input matInput autocomplete="off" placeholder="Estimated Quantity"
formControlName="traded_goods_quantity"
@ -430,7 +430,7 @@
</mat-select>
</mat-form-field>
<span *ngIf="sp.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:30%">
<input matInput autocomplete="off" placeholder="Estimated Quantity"
formControlName="service_provider_quantity"
@ -485,7 +485,7 @@
</div>
</mat-card>
<div fxLayout="row" *ngIf="lender_short_name == 'SMC'">
<div fxLayout="row" *ngIf="lender_short_name == 'MWISE'">
<mat-form-field style="width: 100%">
<input matInput placeholder="How was stock Validated?"
formControlName="stock_validated"

View File

@ -50,7 +50,7 @@
formControlName="manufacturing_supplier_name">
</mat-form-field>
</div>
<div fxLayout="row nowrap" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC'">
<div fxLayout="row nowrap" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE'">
<mat-form-field style="width: 15%">
<mat-select placeholder="Title"
formControlName="person_title_name">
@ -157,7 +157,7 @@
type="number">
</mat-form-field>
</div>
<div fxLayout="row" *ngIf="lender_short_name == 'SMC'">
<div fxLayout="row" *ngIf="lender_short_name == 'MWISE'">
<mat-form-field style="width: 100%">
<input matInput placeholder="Contribution to Total Purchase in %"
formControlName="manufacturing_contribution_total_purchase"
@ -228,7 +228,7 @@
formControlName="trade_supplier_name">
</mat-form-field>
</div>
<div fxLayout="row nowrap" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC'">
<div fxLayout="row nowrap" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE'">
<mat-form-field style="width: 15%">
<mat-select placeholder="Title"
formControlName="person_title_name">
@ -337,7 +337,7 @@
type="number">
</mat-form-field>
</div>
<div fxLayout="row" *ngIf="lender_short_name == 'SMC'">
<div fxLayout="row" *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"
@ -413,7 +413,7 @@
formControlName="service_provider_supplier_name">
</mat-form-field>
</div>
<div fxLayout="row nowrap" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'SMC'">
<div fxLayout="row nowrap" *ngIf="lender_short_name != 'CLIX' && lender_short_name != 'MWISE'">
<mat-form-field style="width: 15%">
<mat-select placeholder="Title"
formControlName="person_title_name">
@ -520,7 +520,7 @@
type="number">
</mat-form-field>
</div>
<div fxLayout="row" *ngIf="lender_short_name == 'SMC'">
<div fxLayout="row" *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"