feat: edit savings account transaction page (#954)

Fixes: #953
This commit is contained in:
Karan Takalkar
2020-06-30 01:23:11 +05:30
committed by GitHub
parent 99fd6ad38c
commit ce8ca77ad7
9 changed files with 302 additions and 6 deletions
+10
View File
@@ -204,6 +204,16 @@ export class SavingsService {
return this.http.get(`/savingsaccounts/${accountId}/transactions/${transactionId}`);
}
/**
* @param {string} accountId Savings Account Id
* @param {string} transactionId Transaction Id
* @returns {Observable<any>}
*/
getSavingsAccountTransactionTemplate(accountId: string, transactionId: string): Observable<any> {
const httpParams = new HttpParams().set('template', 'true');
return this.http.get(`/savingsaccounts/${accountId}/transactions/${transactionId}`, { params: httpParams });
}
/**
* @param {string} accountId Savings Account Id
* @param {string} command Command