smart PD loan details changes

This commit is contained in:
sriram-at-840620226347 2020-07-29 19:00:50 +05:30
parent bfea84cef2
commit a8f4db495d
4 changed files with 11 additions and 8 deletions

View File

@ -31,7 +31,7 @@
<mat-card> <mat-card>
<mat-card-content> <mat-card-content>
<mat-card-subtitle>Location</mat-card-subtitle> <mat-card-subtitle>Location</mat-card-subtitle>
<mat-form-field style="width:94%;" *ngIf="fk_pd_type != '3'" [ngClass]="{'smartPd':fk_pd_type == '2'}"> <mat-form-field style="width:94%;" *ngIf="fk_pd_type != '3'">
<mat-select placeholder="Is the location of the business / profession suited to the nature of business / service provided? " <mat-select placeholder="Is the location of the business / profession suited to the nature of business / service provided? "
formControlName="is_service_provided" > formControlName="is_service_provided" >
<mat-option>Select</mat-option> <mat-option>Select</mat-option>
@ -136,7 +136,7 @@
</div> </div>
</div> </div>
</span> </span>
<div [ngClass]="{'smartPd':fk_pd_type == '2'}">
<div class="toggle" fxLayout="row nowrap" *ngIf="fk_pd_type != '3'"> <div class="toggle" fxLayout="row nowrap" *ngIf="fk_pd_type != '3'">
<mat-label>Any additional visit (Godown /multiple rental properties)</mat-label>&nbsp;&nbsp; <mat-label>Any additional visit (Godown /multiple rental properties)</mat-label>&nbsp;&nbsp;
<mat-slide-toggle formControlName="was_the_pd_address_ogl" color="primary"></mat-slide-toggle> <mat-slide-toggle formControlName="was_the_pd_address_ogl" color="primary"></mat-slide-toggle>
@ -156,7 +156,6 @@
<input matInput autocomplete="off" placeholder="Specify the Mode of Transport Used to Visit the PD address" formControlName="others_transport" required> <input matInput autocomplete="off" placeholder="Specify the Mode of Transport Used to Visit the PD address" formControlName="others_transport" required>
<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-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-form-field>
</div>
<mat-card *ngIf="(lender_short_name == 'CLIX' || lender_short_name == 'MWISE' || prod_catagory == 'LAEP') && fk_pd_type != '3'" [ngClass]="{'smartPd':fk_pd_type == '2'}"> <mat-card *ngIf="(lender_short_name == 'CLIX' || lender_short_name == 'MWISE' || prod_catagory == 'LAEP') && fk_pd_type != '3'" [ngClass]="{'smartPd':fk_pd_type == '2'}">
<mat-card-content> <mat-card-content>

View File

@ -21,9 +21,9 @@
// width: 100% !important; // width: 100% !important;
// height: 95% !important; // height: 95% !important;
// } // }
.mat-card-content { // .mat-card-content {
background-color: white; // background-color: white;
} // }
.mat-card-actions { .mat-card-actions {
background-color: white; background-color: white;
} }

View File

@ -926,9 +926,13 @@ export class LoanDetailsComponent implements OnInit {
records.own_contribution = this.loanDetailsForm.controls['own_contribution'].value; records.own_contribution = this.loanDetailsForm.controls['own_contribution'].value;
let dataSource_list = []; let dataSource_list = [];
console.log(this.loanDetailsForm.controls['source'].value);
if(this.loanDetailsForm.controls['source'].value && this.loanDetailsForm.controls['source'].value.length > 0){
this.loanDetailsForm.controls['source'].value.forEach(element => { this.loanDetailsForm.controls['source'].value.forEach(element => {
dataSource_list.push({ sources: element }) dataSource_list.push({ sources: element })
}); });
}
records.source_group = dataSource_list; records.source_group = dataSource_list;
} }
} }

View File

@ -3,7 +3,7 @@
<div fxLayout="row" fxLayoutAlign="center" class="pt-2"> <div fxLayout="row" fxLayoutAlign="center" class="pt-2">
<!-- <p>SINEEDGE Login Details</p> --> <!-- <p>SINEEDGE Login Details</p> -->
<!-- [src]="'http://ssa.sineedge.com/sparqapi/logo/sineedge_red.png'" --> <!-- [src]="'http://ssa.sineedge.com/sparqapi/logo/sineedge_red.png'" -->
<h3 class="page-title"><img src="assets/images/PD_Genie_TM1.jpg" style="height: 70px;;"> <h3 class="page-title"><img src="assets/images/PD_Genie_TM1.png" style="height: 70px;;">
</h3> </h3>
</div> </div>
<div fxLayout="row" fxLayoutAlign="center start" class="pt-2"> <div fxLayout="row" fxLayoutAlign="center start" class="pt-2">