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:
@@ -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}`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user