Add new interest pause and list existing interest pause periods of the loan

This commit is contained in:
Jose Alberto Hernandez
2025-01-06 14:55:44 -05:00
committed by Jose Alberto Hernandez
parent a6455212fd
commit d04890fd3f
37 changed files with 400 additions and 122 deletions
@@ -21,8 +21,8 @@ export class NotificationsService {
/**
* @returns {Observable<any>} Notifications.
*/
getNotifications(isRead: boolean): Observable<any> {
const httpParams = new HttpParams().set('isRead', isRead.toString());
getNotifications(isRead: boolean, limit: number): Observable<any> {
const httpParams = new HttpParams().set('isRead', isRead.toString()).set('limit', limit);
return this.http.get('/notifications', { params: httpParams });
}