completed jobs
This commit is contained in:
@@ -42,7 +42,13 @@ historyTypes:any=[];
|
||||
};
|
||||
historyTotalData:any;
|
||||
refreshHxReport(item){
|
||||
|
||||
var endP='';
|
||||
switch(item?.id){
|
||||
case 'COMPLETED_JOBS':
|
||||
endP="contracthx";
|
||||
break;
|
||||
}
|
||||
//debugger;
|
||||
this.usrData = {
|
||||
action: 100001,
|
||||
member_id: this.sessionDataProviderService.member_id,
|
||||
@@ -54,7 +60,7 @@ historyTypes:any=[];
|
||||
};
|
||||
|
||||
this.wrenchService
|
||||
.getHistoryReport(this.usrData, "contracthx")
|
||||
.getHistoryReport(this.usrData, endP)
|
||||
.subscribe((historyTotalData) => {
|
||||
this.historyTotalData = historyTotalData;
|
||||
console.log("HX RETURN->", this.historyTotalData);
|
||||
|
||||
@@ -213,7 +213,8 @@ export class WrenchService {
|
||||
return this.getPostData("cachecontacts", usrData);
|
||||
}
|
||||
getUserWallets(usrData) {
|
||||
return this.getPostData("getwallets", usrData);
|
||||
//return this.getPostData("getwallets", usrData);
|
||||
return this.getPostData("wallets", usrData);
|
||||
}
|
||||
|
||||
getFamilyUserWallets(usrData) {
|
||||
|
||||
Reference in New Issue
Block a user