MIFOSX-1823: Report file and upgrade script for Savings Transaction Receipt

This commit is contained in:
MithunKashyap
2015-01-06 15:45:25 +05:30
parent 8b56795821
commit ebab8699fe
3 changed files with 35 additions and 0 deletions
@@ -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, "#,###.##")
@@ -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');