mirror of
https://github.com/openMF/fineract-pentaho.git
synced 2026-02-06 11:17:11 +00:00
Rollback changes, the pool connection is not working on multi tenant setup
This commit is contained in:
parent
90a111e6b8
commit
d64c810726
@ -184,12 +184,11 @@ public class PentahoReportingProcessServiceImpl implements ReportingProcessServi
|
||||
|
||||
final var reportEnvironment = (DefaultReportEnvironment) masterReport.getReportEnvironment();
|
||||
|
||||
//Set Locale for the report
|
||||
if(fineractPentahoLocale !=null){
|
||||
Locale localeReport = new Locale.Builder().setLanguageTag(fineractPentahoLocale).build();
|
||||
reportEnvironment.setLocale(localeReport);
|
||||
}
|
||||
else if (locale != null) {
|
||||
// Set Locale for the report
|
||||
if (fineractPentahoLocale != null) {
|
||||
Locale localeReport = new Locale.Builder().setLanguageTag(fineractPentahoLocale).build();
|
||||
reportEnvironment.setLocale(localeReport);
|
||||
} else if (locale != null) {
|
||||
reportEnvironment.setLocale(locale);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user