diff --git a/mifosng-provider/src/main/pentahoReports/Active Loan Summary per Branch.prpt b/mifosng-provider/src/main/pentahoReports/Active Loan Summary per Branch.prpt new file mode 100644 index 000000000..76af0d36d Binary files /dev/null and b/mifosng-provider/src/main/pentahoReports/Active Loan Summary per Branch.prpt differ diff --git a/mifosng-provider/src/main/pentahoReports/ActiveLoanSummaryperBranch.properties b/mifosng-provider/src/main/pentahoReports/ActiveLoanSummaryperBranch.properties new file mode 100644 index 000000000..5a8ff11b6 --- /dev/null +++ b/mifosng-provider/src/main/pentahoReports/ActiveLoanSummaryperBranch.properties @@ -0,0 +1,16 @@ +active_loan_summery.=Active Loan Summary per Branch +branch.=Branch +centers.=No of Centers +groups.=No of Groups +clients.=No of Clients +activeloan.=No of Active Loan +loanarrears.=No of Loan in Arrears +disbursed.=Total Loans Disbursed +principalrepaid.=Total Principal Repaid +interestrepaid.=Total Interest Repaid +principaloutstand.=Total Principal Outstanding +interestoutstand.=Total Interest Outstanding +amountarreas.=Amount in Arrears +total.=Total +PrintedBy\:=Printed By : +On\:=On : \ No newline at end of file diff --git a/mifosng-provider/src/main/pentahoReports/Balance Outstanding.prpt b/mifosng-provider/src/main/pentahoReports/Balance Outstanding.prpt new file mode 100644 index 000000000..db67924bd Binary files /dev/null and b/mifosng-provider/src/main/pentahoReports/Balance Outstanding.prpt differ diff --git a/mifosng-provider/src/main/pentahoReports/Collection Report.prpt b/mifosng-provider/src/main/pentahoReports/Collection Report.prpt new file mode 100644 index 000000000..440da9e19 Binary files /dev/null and b/mifosng-provider/src/main/pentahoReports/Collection Report.prpt differ diff --git a/mifosng-provider/src/main/pentahoReports/CollectionReport.properties b/mifosng-provider/src/main/pentahoReports/CollectionReport.properties new file mode 100644 index 000000000..b507b6938 --- /dev/null +++ b/mifosng-provider/src/main/pentahoReports/CollectionReport.properties @@ -0,0 +1,16 @@ +collection.=Collection Report +receipt.=Receipt No +group.=Group Name +client.=Clients Name +pricAmt.=Principal Amount +intAmt.=Interest Amount +totalAmt.=Total Receipt Amount +mifos.=Mifos User +actdate.=Action Date +created.=Created Date +office.=Branch : +ondate.=From Date : +todate.=To Date : +PrintedBy\:=Printed by: +On\:=On: +center\:=Center : \ No newline at end of file diff --git a/mifosng-provider/src/main/pentahoReports/Disbursal Report.prpt b/mifosng-provider/src/main/pentahoReports/Disbursal Report.prpt new file mode 100644 index 000000000..35f1260cb Binary files /dev/null and b/mifosng-provider/src/main/pentahoReports/Disbursal Report.prpt differ diff --git a/mifosng-provider/src/main/pentahoReports/DisbursalReport.properties b/mifosng-provider/src/main/pentahoReports/DisbursalReport.properties new file mode 100644 index 000000000..df864a834 --- /dev/null +++ b/mifosng-provider/src/main/pentahoReports/DisbursalReport.properties @@ -0,0 +1,23 @@ +disbursalReport=Disbursal Report +receiptNo=Receipt No: +phoneNo=Phone No: +accountId=Account ID: +clientGroup=Client/Group +loanAmount=Loan Amount +disbDate=Disbursed Date +loanType=Loan Type +loanOfficer=Loan Officer +PrintedBy\:=Printed By : +On\:=On : +center\:=Center : +centerName=Center Name +groupName=Group Name +disbursedAmount=Disbursed Amount +clientName=Client Name +serviceTax=Service Tax +annualSubscription=Annual Subscription +processingFees=Processing Fees +disbursedDate=Disbursed Date +createdDate=Created Date +mifosUser=Mifos User +fees=Fees \ No newline at end of file diff --git a/mifosng-provider/src/main/pentahoReports/balanceOutstanding.properties b/mifosng-provider/src/main/pentahoReports/balanceOutstanding.properties new file mode 100644 index 000000000..d89471f89 --- /dev/null +++ b/mifosng-provider/src/main/pentahoReports/balanceOutstanding.properties @@ -0,0 +1,14 @@ +balanceOutstanding=Balance Outstanding +accountId=Account ID: +clientGroup=Client/Group +loanAmount=Loan Amount +balance=Balance +loanStatus=Loan Status +disbDate=Disbursed Date +gender=Gender +loanType=Loan Type +fundSource=Fund Source +loanOfficer=Loan Officer +PrintedBy\:=Printed By : +On\:=On : +center\:=Center : \ No newline at end of file diff --git a/mifosng-provider/src/main/resources/sql/migrations/core_db/V263__mifos_reports.sql b/mifosng-provider/src/main/resources/sql/migrations/core_db/V263__mifos_reports.sql new file mode 100644 index 000000000..e36859ca2 --- /dev/null +++ b/mifosng-provider/src/main/resources/sql/migrations/core_db/V263__mifos_reports.sql @@ -0,0 +1,26 @@ +INSERT INTO `stretchy_report` (`report_name`, `report_type`, `report_subtype`, `report_category`, `report_sql`, `description`, `core_report`, `use_report`) VALUES ('Active Loan Summary per Branch', 'Pentaho', NULL, 'Loans', NULL, NULL, 0, 1); + +INSERT INTO `stretchy_parameter` (`parameter_name`, `parameter_variable`, `parameter_label`, `parameter_displayType`, `parameter_FormatType`, `parameter_default`, `special`, `selectOne`, `selectAll`, `parameter_sql`, `parent_id`) VALUES ('asOnDate', 'asOn', 'As On', 'date', 'date', 'today', NULL, NULL, NULL, NULL, NULL); + +INSERT INTO `stretchy_report` (`report_name`, `report_type`, `report_subtype`, `report_category`, `report_sql`, `description`, `core_report`, `use_report`) VALUES ('Balance Outstanding', 'Pentaho', NULL, 'Loans', NULL, NULL, 0, 1); + +INSERT INTO `stretchy_report_parameter` (report_id,parameter_id,report_parameter_name) VALUES ((select id from stretchy_report where report_name = 'Balance Outstanding'),(select id from stretchy_parameter where parameter_name='OfficeIdSelectOne'),'branch'); +INSERT INTO `stretchy_report_parameter` (report_id,parameter_id,report_parameter_name) VALUES ((select id from stretchy_report where report_name = 'Balance Outstanding'),(select id from stretchy_parameter where parameter_name='asOnDate'),'ondate'); + +INSERT INTO `stretchy_report` (`report_name`, `report_type`, `report_subtype`, `report_category`, `report_sql`, `description`, `core_report`, `use_report`) VALUES ('Collection Report', 'Pentaho', NULL, 'Loans', NULL, NULL, 0, 1); +INSERT INTO `stretchy_report_parameter` (report_id,parameter_id,report_parameter_name) VALUES ((select id from stretchy_report where report_name = 'Collection Report'),(select id from stretchy_parameter where parameter_name='OfficeIdSelectOne'),'branch'); +INSERT INTO `stretchy_report_parameter` (report_id,parameter_id,report_parameter_name) VALUES ((select id from stretchy_report where report_name = 'Collection Report'),(select id from stretchy_parameter where parameter_name='startDateSelect'),'fromDate'); +INSERT INTO `stretchy_report_parameter` (report_id,parameter_id,report_parameter_name) VALUES ((select id from stretchy_report where report_name = 'Collection Report'),(select id from stretchy_parameter where parameter_name='endDateSelect'),'toDate'); + +INSERT INTO `stretchy_report` (`report_name`, `report_type`, `report_subtype`, `report_category`, `report_sql`, `description`, `core_report`, `use_report`) VALUES ('Disbursal Report', 'Pentaho', NULL, 'Loans', NULL, NULL, 0, 1); +INSERT INTO `stretchy_report_parameter` (report_id,parameter_id,report_parameter_name) VALUES ((select id from stretchy_report where report_name = 'Disbursal Report'),(select id from stretchy_parameter where parameter_name='OfficeIdSelectOne'),'branch'); +INSERT INTO `stretchy_report_parameter` (report_id,parameter_id,report_parameter_name) VALUES ((select id from stretchy_report where report_name = 'Disbursal Report'),(select id from stretchy_parameter where parameter_name='startDateSelect'),'fromDate'); +INSERT INTO `stretchy_report_parameter` (report_id,parameter_id,report_parameter_name) VALUES ((select id from stretchy_report where report_name = 'Disbursal Report'),(select id from stretchy_parameter where parameter_name='endDateSelect'),'toDate'); + +INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('report', 'READ_Active Loan Summary per Branch', 'Active Loan Summary per Branch', 'READ', 0); +INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('report', 'READ_Disbursal Report', 'Disbursal Report', 'READ', 0); +INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('report', 'READ_Balance Outstanding', 'Balance Outstanding', 'READ', 0); +INSERT INTO `m_permission` (`grouping`, `code`, `entity_name`, `action_name`, `can_maker_checker`) VALUES ('report', 'READ_Collection Report', 'Collection Report', 'READ', 0); + + +