add expect payments by date pentaho rpt to core reports script + other minor changes

This commit is contained in:
John Woodlock
2013-03-16 15:28:58 +00:00
parent ed323c00a3
commit ea78f7b126
5 changed files with 34 additions and 12 deletions
File diff suppressed because one or more lines are too long
@@ -314,7 +314,6 @@ public class ReadReportingServiceImpl implements ReadReportingService {
try {
logger.info("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
ReportParameterValues rptParamValues = report.getParameterValues();
ReportParameterDefinition paramsDefinition = report.getParameterDefinition();
@@ -346,17 +345,17 @@ public class ReadReportingServiceImpl implements ReadReportingService {
rptParamValues.put(paramName, pValue);
}
// tenant database name and current user's office hierarchy
// passed as parameters to allow multitenant penaho reporting
// and
// data scoping
String tenantdb = dataSource.getConnection().getCatalog();
String userhierarchy = currentUser.getOffice().getHierarchy();
logger.info("db name:" + tenantdb + " userhierarchy:" + userhierarchy);
rptParamValues.put("tenantdb", tenantdb);
rptParamValues.put("userhierarchy", userhierarchy);
}
// tenant database name and current user's office hierarchy
// passed as parameters to allow multitenant penaho reporting
// and
// data scoping
String tenantdb = dataSource.getConnection().getCatalog();
String userhierarchy = currentUser.getOffice().getHierarchy();
logger.info("db name:" + tenantdb + " userhierarchy:" + userhierarchy);
rptParamValues.put("tenantdb", tenantdb);
rptParamValues.put("userhierarchy", userhierarchy);
} catch (Exception e) {
logger.error("error.msg.reporting.error:" + e.getMessage());
throw new PlatformDataIntegrityException("error.msg.reporting.error", e.getMessage());
@@ -0,0 +1,23 @@
ExpectedPaymentsByDate=Expected Payments By Date
From=From :
To=To:
Office=Office :
DueDate=Due Date :
ClientName=Client Name
LoanAccountNo=Loan Account No:
Product=Product
Installment=Installment
Date=Date
Principal=Principal
LoanOfficer=Loan Officer
Interest=Interest
FeesDue=Fees Due
PenaltyDue=Penalty Due
TotalDue=Total Due
TotalOverDue=Total Over Due
Total=Total :
PrintedBy\:=Printed by:
On\:=On:
MFIName\:=MFI Name:
Page=Page
VersionAt=Version 1.3.1