diff --git a/mifosng-provider/src/main/pentahoReports/Savings Transaction Receipt.properties b/mifosng-provider/src/main/pentahoReports/Savings Transaction Receipt.properties new file mode 100644 index 000000000..8d0ba7da7 --- /dev/null +++ b/mifosng-provider/src/main/pentahoReports/Savings Transaction Receipt.properties @@ -0,0 +1,27 @@ +title.Saving.Transaction.Receipt=Receipt +label.ClientName=Client Name: +label.ClientAccountNumber=Client Account Number: +label.ProductName=Client Account Title: +label.Operation=Operation: +label.Operation.Deposit=Deposit +label.Operation.Withdrawal=Withdrawal +label.Operation.Amount=Amount: +label.Operation.Amount.InFigures=In Figures: +label.Operation.Amount.InWords=In Words: +label.Operation.Description=Description: +label.receipt.text1=Your account has been +label.receipt.credited=credited +label.receipt.credited=debited +label.receipt.text2= with +label.receipt.text.dot=. +label.receipt.ClientName=Client Name and Signature +label.receipt.TxnDateTime=Date and Time of Transaction: +label.receipt.Operator=Cashier Name: +label.receipt.TxnID=Transaction ID: +txn_type.1=Deposit +txn_type.2=Withdrawal +txn_type.3=Interest Posting +accounting_txn_type.1=credited +accounting_txn_type.2=debited +accounting_txn_type.3=credited +test.msg=Your Account has been $(acc_txn_type) with $(txn_amount, number, "#,###.##") \ No newline at end of file diff --git a/mifosng-provider/src/main/pentahoReports/Savings Transaction Receipt.prpt b/mifosng-provider/src/main/pentahoReports/Savings Transaction Receipt.prpt new file mode 100644 index 000000000..7eaca7e61 Binary files /dev/null and b/mifosng-provider/src/main/pentahoReports/Savings Transaction Receipt.prpt differ diff --git a/mifosng-provider/src/main/resources/sql/migrations/core_db/V233__Savings_Transaction_Receipt.sql b/mifosng-provider/src/main/resources/sql/migrations/core_db/V233__Savings_Transaction_Receipt.sql new file mode 100644 index 000000000..bd8bf8323 --- /dev/null +++ b/mifosng-provider/src/main/resources/sql/migrations/core_db/V233__Savings_Transaction_Receipt.sql @@ -0,0 +1,8 @@ +INSERT INTO stretchy_parameter ( parameter_name, parameter_variable, parameter_label, parameter_displayType, parameter_FormatType, parameter_default, special, selectOne, selectAll, parameter_sql, parent_id) VALUES ('transactionId', 'transactionId', 'transactionId', 'text', 'string', 'n/a', 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 ( 'Savings Transaction Receipt', 'Pentaho', NULL, NULL, NULL, NULL, 0, 1); + +INSERT INTO stretchy_report_parameter ( report_id, parameter_id, report_parameter_name) +VALUES ((select sr.id from stretchy_report sr where sr.report_name='Savings Transaction Receipt'), + (select sp.id from stretchy_parameter sp where sp.parameter_name='transactionId'), + 'transactionId'); \ No newline at end of file