feat: add recurring deposit action buttons (#1022)

- add delete action
- add calculate interest action
- add post interest action
- add enable withhold tax action
- add disable withhold tax action

Fixes: #1020
This commit is contained in:
Muskan Khedia
2020-07-08 09:15:13 +05:30
committed by GitHub
parent 29c9cf38f1
commit 74b219fe00
8 changed files with 235 additions and 2 deletions
@@ -75,4 +75,12 @@ export class RecurringDepositsService {
const httpParams = new HttpParams().set('command', command);
return this.http.post(`/recurringdepositaccounts/${accountId}`, data, { params: httpParams });
}
/**
* @param {string} accountId recurring deposits account Id
* @returns {Observable<any>}
*/
deleteRecurringDepositsAccount(accountId: string): Observable<any> {
return this.http.delete(`/recurringdepositaccounts/${accountId}`);
}
}