fully working transaction edit and delete

This commit is contained in:
piratefinn 2018-03-20 17:29:00 +00:00
parent df6c469965
commit 390b670be5
3 changed files with 39 additions and 3 deletions

View file

@ -158,7 +158,7 @@ export class ApiService {
);
}
// Uploads a transaction
// Edits a recurring transaction
public recurUpdate(data) {
data.session_key = this.sessionKey;
@ -168,6 +168,16 @@ export class ApiService {
);
}
// Edits a recurring transaction
public recurDelete(data) {
data.session_key = this.sessionKey;
return this.http.post<any>(
this.apiUrl + '/recurring-transactions/delete',
data
);
}
// gets payroll list for log
public payrollList(data) {