Jon interest

This commit is contained in:
CHIEFSOFT\ameye
2023-11-18 12:52:58 -05:00
parent 54bc507dc6
commit 184d5248d5
3 changed files with 52 additions and 9 deletions
@@ -12,7 +12,7 @@ import {WrenchService} from "../../services/wrench.service";
export class InterestCardComponent implements OnInit {
@Input() intData:any;
@Input() intResponse: any;
@Input() thisObj:any;
currData:any;
constructor( private navctr: NavController,
private router: Router,
@@ -28,11 +28,11 @@ currData:any;
}
approveStart(){
this.intResponse(this.intData, "APPROVED");
async approveStart(){
this.intResponse(this.thisObj, this.intData, "APPROVED");
}
rejectStart(){
this.intResponse(this.intData, "REJECT");
async rejectStart(){
this.intResponse(this.thisObj,this.intData, "REJECT");
}
}