Fineract backend settings with environment variables
This commit is contained in:
committed by
Arnold Gálovics
parent
1b72136411
commit
14ceb4f3fd
@@ -331,10 +331,17 @@ export class SystemService {
|
||||
/**
|
||||
* @returns {Observable<any>} Business Date data.
|
||||
*/
|
||||
getBusinessDates(): Observable<any> {
|
||||
getBusinessDates(): Observable<any> {
|
||||
return this.http.get('/businessdate');
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Observable<any>} Business Date data using a type BUSINESS_DATE / COB_DATE.
|
||||
*/
|
||||
getBusinessDate(dateType: string): Observable<any> {
|
||||
return this.http.get(`/businessdate/${dateType}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {any} dateData Business Date data to be updated.
|
||||
* @returns {Observable<any>}
|
||||
@@ -358,6 +365,14 @@ export class SystemService {
|
||||
return this.http.get(`/configurations/${configurationId}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} configurationId Configuration ID of configuration.
|
||||
* @returns {Observable<any>} Configuration.
|
||||
*/
|
||||
getConfigurationByName(configurationName: string): Observable<any> {
|
||||
return this.http.get(`/configurations/name/${configurationName}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} configurationId Configuration ID of configuration to be updated.
|
||||
* @param {any} configuration Configuration to be updated.
|
||||
|
||||
Reference in New Issue
Block a user