+ %for move in journal_period.moves:
+ <%
+ new_move = True
+ %>
+
+ %for line in move.line_id:
+
+ <%
+ account_total_debit += line.debit or 0.0
+ account_total_credit += line.credit or 0.0
+ %>
+
+ ## date
+
${formatLang(move.date, date=True) if new_move else ''}
+ ## move
+
${move.name if new_move else ''}
+ ## account code
+
${line.account_id.code}
+ ## date
+
${formatLang(line.date_maturity or '', date=True)}
+ ## partner
+
${line.partner_id.name if new_move else ''}
+ ## label
+
${line.name}
+ ## debit
+
${formatLang(line.debit) if line.debit else ''}
+ ## credit
+
${formatLang(line.credit) if line.credit else ''}
+ %if amount_currency(data):
+ ## currency balance
+
${formatLang(line.amount_currency) if line.amount_currency else ''}
+ ## curency code
+
${line.currency_id.symbol or ''}
+ %endif
+
+ <%
+ new_move = False
+ %>
+
+ ## date
+
+ ## move
+
+ ## account code
+
+ ## date
+
+ ## partner
+
+ ## label
+
+ ## debit
+
${formatLang(account_total_debit) | amount }
+ ## credit
+
${formatLang(account_total_credit) | amount }
+ %if amount_currency(data):
+ ## currency balance
+
+ ## currency code
+
+ %endif
+