changes : ps
This commit is contained in:
parent
6c8c655746
commit
9a140e061c
@ -296,7 +296,7 @@ import { ActivatedRoute, Router } from "@angular/router";
|
|||||||
})
|
})
|
||||||
export class FamilyDetailsComponent implements OnInit {
|
export class FamilyDetailsComponent implements OnInit {
|
||||||
//@Input() pdid: number;
|
//@Input() pdid: number;
|
||||||
pageTitle: string = "Other Family Details";
|
pageTitle: string = "Family Details";
|
||||||
pdid: string;
|
pdid: string;
|
||||||
form_id: number;
|
form_id: number;
|
||||||
|
|
||||||
@ -325,7 +325,8 @@ export class FamilyDetailsComponent implements OnInit {
|
|||||||
ownerShipData: any = [];
|
ownerShipData: any = [];
|
||||||
customerSegData: any = [];
|
customerSegData: any = [];
|
||||||
stateData: any = [];
|
stateData: any = [];
|
||||||
cityData:any =[];
|
wholeCityData:any =[];
|
||||||
|
cityData: any =[];
|
||||||
PincodeData:any=[];
|
PincodeData:any=[];
|
||||||
// earnMemberArrCount :any ;
|
// earnMemberArrCount :any ;
|
||||||
// nonEarnMemberArrCount :any ;
|
// nonEarnMemberArrCount :any ;
|
||||||
@ -629,7 +630,7 @@ export class FamilyDetailsComponent implements OnInit {
|
|||||||
this.stateData = data.records.filter(item => item.isactive == 1);
|
this.stateData = data.records.filter(item => item.isactive == 1);
|
||||||
}
|
}
|
||||||
else if(type == 7){
|
else if(type == 7){
|
||||||
this.cityData = data.records.filter(item => item.isactive == 1);
|
this.wholeCityData = data.records.filter(item => item.isactive == 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -637,8 +638,8 @@ export class FamilyDetailsComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getCity(e){
|
getCity(e){
|
||||||
console.log(e);
|
// console.log(e);
|
||||||
this.cityData = this.cityData.filter(city=>city.fk_state_id == e);
|
this.cityData = this.wholeCityData.filter(city=>city.fk_state_id == e);
|
||||||
}
|
}
|
||||||
|
|
||||||
getPinCode(e){
|
getPinCode(e){
|
||||||
|
|||||||
@ -141,6 +141,7 @@ export class FinancialInfoComponent implements OnInit {
|
|||||||
|
|
||||||
if (result_val.length > 0) {
|
if (result_val.length > 0) {
|
||||||
result_val.forEach((val,index) => {
|
result_val.forEach((val,index) => {
|
||||||
|
// console.log(val);
|
||||||
// console.log('val.estimate_sales_average',val.estimate_sales_average);
|
// console.log('val.estimate_sales_average',val.estimate_sales_average);
|
||||||
//console.log('dedrf',val.estimate_annual_sale);
|
//console.log('dedrf',val.estimate_annual_sale);
|
||||||
// this.AV_annualSalesInwords[index] = this._pd.convertNumberToWords(val.estimate_annual_sale);
|
// this.AV_annualSalesInwords[index] = this._pd.convertNumberToWords(val.estimate_annual_sale);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user