issues fixes ps
This commit is contained in:
parent
86152b9c6a
commit
d5770c616f
@ -41,7 +41,7 @@ pdDetailLender:any = [];
|
|||||||
this.pdDetailLender = res;
|
this.pdDetailLender = res;
|
||||||
if(this.pdDetailLender.dataStatus == true)
|
if(this.pdDetailLender.dataStatus == true)
|
||||||
{
|
{
|
||||||
console.log("Pd",this.pdDetailLender)
|
// console.log("Pd",this.pdDetailLender)
|
||||||
this.pdFullDetails = this.pdDetailLender.records.pd_master_details[0];
|
this.pdFullDetails = this.pdDetailLender.records.pd_master_details[0];
|
||||||
this.addresses=this.pdDetailLender.records.pd_address
|
this.addresses=this.pdDetailLender.records.pd_address
|
||||||
this.qccompleted = this.pdFullDetails.pd_status.replace("_"," ");
|
this.qccompleted = this.pdFullDetails.pd_status.replace("_"," ");
|
||||||
|
|||||||
@ -118,10 +118,28 @@
|
|||||||
<!-- <ion-icon item-start="" class="lettericon" [style.background]="bgColorPast[i]">{{progess.applicat_details[0].applicant_name | slice : 0 :1 | uppercase}}</ion-icon> -->
|
<!-- <ion-icon item-start="" class="lettericon" [style.background]="bgColorPast[i]">{{progess.applicat_details[0].applicant_name | slice : 0 :1 | uppercase}}</ion-icon> -->
|
||||||
<p item-start class="lettericon" style="font-size: 90%; font-weight: bold" [style.background]="bgColorPast[i]">{{progess.pd_id}}</p>
|
<p item-start class="lettericon" style="font-size: 90%; font-weight: bold" [style.background]="bgColorPast[i]">{{progess.pd_id}}</p>
|
||||||
<ion-row>
|
<ion-row>
|
||||||
<ion-col col-5 *ngIf="progess.applicat_details.length !='0' && progess.applicat_details[0].applicant_type == 1">
|
<!-- <ion-col col-5 *ngIf="progess.applicat_details.length !='0' && progess.applicat_details[0].applicant_type == 1">
|
||||||
<h1>{{progess.applicat_details[0].applicant_name | titlecase}}</h1>
|
<h1>{{progess.applicat_details[0].applicant_name | titlecase}}</h1>
|
||||||
<!--<p>28 Sep 2018 10:00 AM</p>-->
|
!--<p>28 Sep 2018 10:00 AM</p>--
|
||||||
</ion-col>
|
</ion-col> -->
|
||||||
|
|
||||||
|
<!-- With Applicant Details -->
|
||||||
|
<ion-col col-5 *ngIf="progess.is_child == '0'">
|
||||||
|
<span *ngIf="progess.applicat_details && progess.applicat_details.length !=0">
|
||||||
|
<span *ngIf="progess.applicat_details && progess.applicat_details.length !=0 && progess.applicat_details[0].applicant_type == 1">
|
||||||
|
<h1>{{progess.applicat_details[0].applicant_name | titlecase}}</h1>
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
</ion-col>
|
||||||
|
|
||||||
|
<!-- Without Applicant details for Add On PD -->
|
||||||
|
<ion-col col-5 *ngIf="progess.is_child == '1'">
|
||||||
|
<ion-col>
|
||||||
|
<h1>Add On for {{progess.parent_pd_id}}</h1>
|
||||||
|
</ion-col>
|
||||||
|
</ion-col>
|
||||||
|
|
||||||
|
|
||||||
<ion-col text-right>
|
<ion-col text-right>
|
||||||
<div style="font-size: 13px;">
|
<div style="font-size: 13px;">
|
||||||
<h6>{{progess.pd_date_of_initiation}}</h6>
|
<h6>{{progess.pd_date_of_initiation}}</h6>
|
||||||
|
|||||||
@ -68,8 +68,8 @@ export class PdListPage {
|
|||||||
this.userDetails = res;
|
this.userDetails = res;
|
||||||
if(this.userDetails.dataStatus == true){
|
if(this.userDetails.dataStatus == true){
|
||||||
this.userDetails = this.userDetails.records[0];
|
this.userDetails = this.userDetails.records[0];
|
||||||
|
// console.log('this.userDetails.records[0]',this.userDetails.records[0]);
|
||||||
this.pdofficer.getpddetails(this.userDetails.fk_entity_id).subscribe(res=>
|
this.pdofficer.getpddetails(this.userDetails.fk_entity_id,this.userDetails.userid).subscribe(res=>
|
||||||
{
|
{
|
||||||
this.pdlistdetails = res;
|
this.pdlistdetails = res;
|
||||||
if(this.pdlistdetails.dataStatus == true)
|
if(this.pdlistdetails.dataStatus == true)
|
||||||
@ -77,7 +77,6 @@ export class PdListPage {
|
|||||||
this.pdlistaccess = true;
|
this.pdlistaccess = true;
|
||||||
this.pdinprogress = this.pdlistdetails.records.filter(past=>past.pd_status !="QC_COMPLETED");
|
this.pdinprogress = this.pdlistdetails.records.filter(past=>past.pd_status !="QC_COMPLETED");
|
||||||
this.searchinprogress = this.pdinprogress;
|
this.searchinprogress = this.pdinprogress;
|
||||||
console.log(this.pdinprogress);
|
|
||||||
this.pdlistdetails = this.pdlistdetails.records.filter(past=>past.pd_status =="QC_COMPLETED");
|
this.pdlistdetails = this.pdlistdetails.records.filter(past=>past.pd_status =="QC_COMPLETED");
|
||||||
this.searchpast = this.pdlistdetails;
|
this.searchpast = this.pdlistdetails;
|
||||||
this.random_bg_color();
|
this.random_bg_color();
|
||||||
@ -103,7 +102,7 @@ export class PdListPage {
|
|||||||
// if the value is an empty string don't filter the items
|
// if the value is an empty string don't filter the items
|
||||||
|
|
||||||
if(this.pdlist == "inpro"){
|
if(this.pdlist == "inpro"){
|
||||||
console.log('if');
|
// console.log('if');
|
||||||
if (q.trim() == '') {
|
if (q.trim() == '') {
|
||||||
return ;
|
return ;
|
||||||
}else{
|
}else{
|
||||||
@ -117,8 +116,8 @@ export class PdListPage {
|
|||||||
}else
|
}else
|
||||||
{
|
{
|
||||||
if (q.trim() == '') {
|
if (q.trim() == '') {
|
||||||
console.log(q.trim());
|
// console.log(q.trim());
|
||||||
console.log(this.pdlistdetails);
|
// console.log(this.pdlistdetails);
|
||||||
return ;
|
return ;
|
||||||
}else{
|
}else{
|
||||||
this.pdlistdetails = this.searchpast.filter((v) => {
|
this.pdlistdetails = this.searchpast.filter((v) => {
|
||||||
@ -160,11 +159,11 @@ export class PdListPage {
|
|||||||
}
|
}
|
||||||
doRefresh(refresher) {
|
doRefresh(refresher) {
|
||||||
this.bgColor = [];
|
this.bgColor = [];
|
||||||
console.log('Begin async operation', refresher);
|
// console.log('Begin async operation', refresher);
|
||||||
this.shared.refresh();
|
this.shared.refresh();
|
||||||
this.getlenderpddetails();
|
this.getlenderpddetails();
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
console.log('Async operation has ended');
|
// console.log('Async operation has ended');
|
||||||
refresher.complete();
|
refresher.complete();
|
||||||
}, 2000);
|
}, 2000);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,14 +17,14 @@ export class ConstantsProvider {
|
|||||||
|
|
||||||
apiurl()
|
apiurl()
|
||||||
{
|
{
|
||||||
let testapiurl = 'http://ssa.sineedge.com/sparqtest/api/';
|
let testapiurl = 'https://ssa.sineedge.com/sparqtest/api/';
|
||||||
let devapiurl = 'http://ssa.sineedge.com/sparqapi/api/';
|
let devapiurl = 'https://ssa.sineedge.com/sparqapi/api/';
|
||||||
let localapiurl = 'http://192.168.0.9/sparqapi/api/';
|
let localapiurl = 'https://192.168.0.9/sparqapi/api/';
|
||||||
return devapiurl;
|
return testapiurl;
|
||||||
}
|
}
|
||||||
//For Searching Fields
|
//For Searching Fields
|
||||||
searchValue(exist_data,value,option){
|
searchValue(exist_data,value,option){
|
||||||
console.log("option",option)
|
// console.log("option",option)
|
||||||
let returnDataVal:any
|
let returnDataVal:any
|
||||||
if(!exist_data){
|
if(!exist_data){
|
||||||
return
|
return
|
||||||
|
|||||||
@ -48,10 +48,10 @@ export class PdtriggerProvider {
|
|||||||
|
|
||||||
/**Get list of PD Trigger */
|
/**Get list of PD Trigger */
|
||||||
|
|
||||||
getpddetails(userid)
|
getpddetails(lendersentityid,lendersuserid)
|
||||||
{
|
{
|
||||||
//console.log(userid);
|
return this.http.get(this.apiurl+'listLessPDDetails/get?lenderid='+lendersuserid);
|
||||||
return this.http.get(this.apiurl+'listLessPDDetails/get?lenderid='+userid);
|
// return this.http.get(this.apiurl+'listLessPDDetails/get?lenderid='+lendersentityid+'/?userid='+lendersuserid);
|
||||||
}
|
}
|
||||||
getfullpddetails(pdid)
|
getfullpddetails(pdid)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user