address : ps

This commit is contained in:
venbatechnologies@gmail.com 2019-04-23 12:00:43 +05:30
parent 40fa393b31
commit 6eedb742d3
3 changed files with 19 additions and 12 deletions

View File

@ -147,7 +147,9 @@ export class AddressComponent implements OnInit {
this.getCityAndPincodeDetails(datas.state, index);
this.getOtherPincode(datas.pincode, index);
let selectedAddressType = this.addressData.filter(element => element.address_type_id == datas.address_type)[0];
this.selectedAddressType(selectedAddressType.address_type, index);
if(selectedAddressType.address_type){
this.selectedAddressType(selectedAddressType.address_type, index);
}
if (datas.address_type == 1) {
this.selectedAddressType(datas.address_type_others, index);
}

View File

@ -123,7 +123,7 @@
</span>
<div class="toggle" fxLayout="row nowrap">
<mat-label>Was the PD Address Outside Geographic Limit (OGL)</mat-label>&nbsp;&nbsp;
<mat-slide-toggle formControlName="was_the_pd_address_ogl"></mat-slide-toggle>
<mat-slide-toggle formControlName="was_the_pd_address_ogl" color="primary"></mat-slide-toggle>
</div>
<mat-form-field style="width:50%;">
<mat-select placeholder="Mode of Transport Used to Visit the PD address" formControlName="mode_of_transport_during_visit"

View File

@ -1,18 +1,23 @@
<mat-card class="parent_mat_card">
<mat-card-header >
<mat-card-header>
<mat-card-title>
<div fxFlex="33" align="left">
<div fxFlex="31" align="left">
<h4 class="mt-0">{{mainApplicantName}}</h4>
<small>{{pdMasterList.customer_segment_name}}</small>
</div>
<div fxFlex="66" align="end">
<h4 class="mt-0">{{pdMasterList.product_name}}<span *ngIf="pdMasterList.subproduct_name">/{{pdMasterList.subproduct_name}}</span>
<button mat-raised-button mat-icon-button class="hover-icon " type="button" matTooltip="Close" matTooltipPosition="above"
</div>
<div fxFlex="62" align="end">
<h4 class="mt-0">
<span>{{pdMasterList.product_name}}</span>
<span *ngIf="pdMasterList.subproduct_name">/{{pdMasterList.subproduct_name}}</span>
</h4>
<small>{{pdMasterList.lender_full_name}}<span *ngIf="pdMasterList.lender_applicant_id">/{{pdMasterList.lender_applicant_id}}</span></small>
</div>
<div fxFlex="4" align="center" style="padding-inline-start: 1rem !important;">
<button mat-raised-button mat-icon-button class="hover-icon mr-1 mb-1" type="button" matTooltip="Close" matTooltipPosition="above"
(click)="loadPdViewCompoent()"><mat-icon>close</mat-icon></button>
</h4>
<small>{{pdMasterList.lender_full_name}}<span *ngIf="pdMasterList.lender_applicant_id">/{{pdMasterList.lender_applicant_id}}</span></small>
</div>
</mat-card-title>
</div>
</mat-card-title>
</mat-card-header>
<mat-card-content style="max-height:100% !important;">
<div fxLayout="row wrap" class="child_mat_card">