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
@@ -1,4 +1,8 @@
import { Component, OnInit } from '@angular/core';
import {Component, Input, OnInit} from '@angular/core';
import {NavController} from "@ionic/angular";
import {Router} from "@angular/router";
import {SessionDataProviderService} from "../../store/session-data-provider.service";
import {WrenchService} from "../../services/wrench.service";
@Component({
selector: 'app-interest-card',
@@ -6,9 +10,29 @@ import { Component, OnInit } from '@angular/core';
styleUrls: ['./interest-card.component.scss'],
})
export class InterestCardComponent implements OnInit {
@Input() intData:any;
@Input() intResponse: any;
constructor() { }
currData:any;
constructor( private navctr: NavController,
private router: Router,
public sessionDataProviderService: SessionDataProviderService,
private wrenchService: WrenchService) {
ngOnInit() {}
}
ngOnInit() {
var tt = this.intData;
this.currData = this.intData;
// debugger;
}
approveStart(){
this.intResponse(this.intData, "APPROVED");
}
rejectStart(){
this.intResponse(this.intData, "REJECT");
}
}