From ac203171fe03d98717f467382ef5858ed4534a6b Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Thu, 4 Dec 2014 16:43:23 +0100 Subject: [PATCH] =?utf8?q?HTML=20Templates=20f=C3=BCr=20Buchungstab=20verg?= =?utf8?q?essen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../webpages/acc_trans/_mini_ledger.html | 33 +++++++++++++++++++ .../acc_trans/_mini_trial_balance.html | 25 ++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 templates/webpages/acc_trans/_mini_ledger.html create mode 100644 templates/webpages/acc_trans/_mini_trial_balance.html diff --git a/templates/webpages/acc_trans/_mini_ledger.html b/templates/webpages/acc_trans/_mini_ledger.html new file mode 100644 index 000000000..b2ec3c975 --- /dev/null +++ b/templates/webpages/acc_trans/_mini_ledger.html @@ -0,0 +1,33 @@ +[% USE L %] [%- USE LxERP %] [%- USE HTML %] +
[%- HTML.escape(title) %]
+ +
+ + + + + + + + + + + + + [%- FOREACH transaction = TRANSACTIONS %] + + + + + + + + [%- END %] + + + + + + +
[%- LxERP.t8("Date") %][%- LxERP.t8("Chart") %][%- LxERP.t8("Description") %][%- LxERP.t8("Debit") %][%- LxERP.t8("Credit") %]
[%- transaction.gldate.to_kivitendo -%][%- transaction.chart.accno -%][%- transaction.chart.description -%][%- IF transaction.amount < 0 %] [%- LxERP.format_amount(transaction.amount * -1, 2) %] [% END %][%- IF transaction.amount > 0 %] [%- transaction.amount_as_number -%] [%- END -%]
[%- LxERP.t8("Total") %]:[%- LxERP.format_amount(debit_sum * -1, 2) %][%- LxERP.format_amount(credit_sum, 2) %]
+
diff --git a/templates/webpages/acc_trans/_mini_trial_balance.html b/templates/webpages/acc_trans/_mini_trial_balance.html new file mode 100644 index 000000000..95f532cf5 --- /dev/null +++ b/templates/webpages/acc_trans/_mini_trial_balance.html @@ -0,0 +1,25 @@ +[% USE L %] [%- USE LxERP %] [%- USE HTML %] +
[%- HTML.escape(title) %]
+ + + + + + + + + + + + + [%- FOREACH balance = BALANCES %] + + + + + + + [%- END %] + +
[%- LxERP.t8("Chart") %][%- LxERP.t8("Description") %][%- LxERP.t8("Debit") %][%- LxERP.t8("Credit") %]
[%- balance.accno -%][%- balance.description -%][%- IF balance.balance < 0 %] [%- LxERP.format_amount(balance.balance * -1, 2) %] [% END %][%- IF balance.balance > 0 %] [%- LxERP.format_amount(balance.balance, 2) %] [%- END -%]
+
-- 2.20.1