fully working transaction edit and delete
This commit is contained in:
parent
df6c469965
commit
390b670be5
3 changed files with 39 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Reference in a new issue