mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
Use cleaner iteritems() in mako
This commit is contained in:
@@ -225,10 +225,10 @@ tr.line {
|
||||
</table>
|
||||
<br/>
|
||||
<table class="list_table" style="width: 100%;">
|
||||
%for currency in balance_due_per_currency.keys():
|
||||
%for currency, balance_due in balance_due_per_currency.iteritems():
|
||||
<tr>
|
||||
<td style="width: 78%; text-align: right"><b>${_('Sub-total')}</b></td>
|
||||
<td style="width: 13%; text-align: right"><b>${balance_due_per_currency[currency]}</b></td>
|
||||
<td style="width: 13%; text-align: right"><b>${balance_due}</b></td>
|
||||
<td style="width: 9%; text-align: right"><b>${currency}</b></td>
|
||||
</tr>
|
||||
%endfor
|
||||
|
||||
Reference in New Issue
Block a user