approve jobs

This commit is contained in:
CHIEFSOFT\ameye
2023-11-18 11:20:31 -05:00
parent 61bd75c46a
commit 54bc507dc6
5 changed files with 62 additions and 24 deletions
@@ -48,7 +48,9 @@
<ion-label>{{item.client_name}}</ion-label>
</ion-item>
<div class="ion-padding" slot="content">
<app-interest-card></app-interest-card>
<app-interest-card [intData]="item"
[intResponse]="intResponse"
></app-interest-card>
</div>
</ion-accordion>
<!-- <ion-accordion value="second">-->
@@ -15,6 +15,7 @@ export class JobintprocessPage implements OnInit {
jobData: any;
allInterest: any;
selected_job_uid:string='';
constructor( private navctr: NavController,
private router: Router,
@@ -29,14 +30,19 @@ export class JobintprocessPage implements OnInit {
if (this.jobData==undefined){
this.onBack();
}
this.selected_job_uid = this.jobData.job_uid;
this.filterInterestList(this.allInterest);
}
filterIntList:any;
filterIntList:[];
filterInterestList(newAllInterest){
this.filterIntList = newAllInterest;
this.filterIntList = newAllInterest.filter((item)=> item.job_uid == this.selected_job_uid);
// his.jobsData = AllResult.filter((item) => item.status_description == 'ACTIVE')
}
intResponse(itemData, approveStatus){
//alert("It is me");
}
ngOnInit() {