Date
@@ -165,59 +139,76 @@
-
- [[ repeatIn(objects, 'o') ]]
- [[ o.code ]] [[ o.name ]]
-
-
- |
- [[ repeatIn(lines(o, data['form']), 'line') ]][[ line['date'] ]]
- |
-
- [[ line['code'] ]]
- |
-
- [[ line['ref'] ]]
- |
-
- [[ line['name'] ]]
- |
-
- [[ formatLang(line['debit']) ]]
- |
-
- [[ formatLang(line['credit']) ]]
- |
-
- [[ formatLang(line['progress']) ]]
- |
-
-
-
-
- |
- TOTAL ([[ o.code ]]):
- |
-
- [[ formatLang(sum_debit_account(o, data['form'])) ]]
- |
-
- [[ formatLang(sum_credit_account(o, data['form'])) ]]
- |
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
+
+
+
+ [[ repeatIn(objects, 'o') ]]
+ [[ repeatIn(check_lines(o,data['form']), 'acc') ]]
+
+ [[ acc and acc['code'] or removeParentNode('para') ]] [[ acc and acc['name'] or removeParentNode('para') ]]
+
+
+
+ |
+ [[ repeatIn(lines(o, data['form']), 'line') ]][[ line['date'] ]]
+ |
+
+ [[ line['code'] ]]
+ |
+
+ [[ line['ref'] ]]
+ |
+
+ [[ line['name'] ]]
+ |
+
+ [[ formatLang(line['debit']) ]]
+ |
+
+ [[ formatLang(line['credit']) ]]
+ |
+
+ [[ formatLang(line['progress']) ]]
+ |
+
+
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+ |
+
+ TOTAL ([[ acc and acc['code'] or removeParentNode('para') ]]):
+ |
+
+ [[ formatLang(sum_debit_account(o, data['form'])) ]]
+ |
+
+ [[ formatLang(sum_credit_account(o, data['form'])) ]]
+ |
+
+
+
+
+ |
+
+
+ |
+
+
|
| |