Date
@@ -212,7 +216,7 @@
-
+ [[ data['form']['amount_currency'] == False or removeParentNode('blockTable') ]]
Balance Brought Forward
@@ -233,7 +237,7 @@
[[ repeatIn(objects, 'p') ]] [[ setLang(p.lang) ]]
-
+ [[ data['form']['amount_currency'] == False or removeParentNode('blockTable') ]]
[[ p.ref ]] - [[ p.name ]]
@@ -254,7 +258,7 @@
[[ repeatIn(lines(p,data), 'line') ]]
-
+ [[ data['form']['amount_currency'] == False or removeParentNode('blockTable') ]]
[[ formatLang(line['date'],date=True) ]]
@@ -287,8 +291,105 @@
-
-
-
+
+
+ [[ data['form']['amount_currency'] == True or removeParentNode('blockTable') ]]
+
+ |
+ Date
+ |
+
+ JNRL
+ |
+
+ Ref.
+ |
+
+ Entry Label
+ |
+
+ Debit
+ |
+
+ Credit
+ |
+
+ Balance
+ |
+
+ Currency
+ |
+
+
+
+ [[ data['form']['amount_currency'] == True or removeParentNode('blockTable') ]]
+
+ |
+ Balance Brought Forward
+ |
+
+ [[ formatLang((sum_debit(data))) ]]
+ |
+
+ [[ formatLang((sum_credit(data))) ]]
+ |
+
+ [[ formatLang((sum_debit(data) - sum_credit(data))) ]]
+ |
+ |
+
+
+
+ [[ repeatIn(objects, 'p') ]] [[ setLang(p.lang) ]]
+ [[ data['form']['amount_currency'] == True or removeParentNode('blockTable') ]]
+
+ |
+ [[ p.ref ]] - [[ p.name ]]
+ |
+
+ [[ formatLang((sum_debit_partner(p,data))) ]]
+ |
+
+ [[ formatLang((sum_credit_partner(p,data))) ]]
+ |
+
+ [[ formatLang((sum_debit_partner(p,data) - sum_credit_partner(p,data))) ]]
+ |
+ |
+
+
+
+ [[ repeatIn(lines(p,data), 'line') ]]
+ [[ data['form']['amount_currency'] == True or removeParentNode('blockTable') ]]
+
+ |
+ [[ formatLang(line['date'],date=True) ]]
+ |
+
+ [[ line['code'] ]]
+ |
+
+ [[ line['ref'] ]]
+ |
+
+ [[ line['name'] ]]
+ |
+
+ [[ formatLang((line['debit'])) ]]
+ |
+
+ [[ formatLang((line['credit'])) ]]
+ |
+
+ [[ formatLang((line['progress'])) ]]
+ |
+ [[ formatLang(line['amount_currency'] or '') ]] [[ line['currency_code'] or '']] |
+
+
+
+
+
+
+
\ No newline at end of file
| | | |