Browse Source

Bug fix

pull/457/head
Graeme Gellatly 6 years ago
parent
commit
5fcf951a0c
  1. 22
      customer_activity_statement/views/statement.xml

22
customer_activity_statement/views/statement.xml

@ -53,7 +53,7 @@
</td> </td>
<td /> <td />
<td class="amount" > <td class="amount" >
<span t-esc="Balance_forward[o.id].get(currency, 0.0)" t-options="{'widget': 'monetary', 'display_currency': 'currency'}"/>
<span t-esc="Balance_forward[o.id].get(currency, 0.0)" t-options="{'widget': 'monetary', 'display_currency': currency}"/>
</td> </td>
</tr> </tr>
@ -76,10 +76,10 @@
<t t-if="line['name'] == '/'"><span t-esc="line['ref']"/></t> <t t-if="line['name'] == '/'"><span t-esc="line['ref']"/></t>
</td> </td>
<td class="amount" > <td class="amount" >
<span t-esc="line['amount']" t-options="{'widget': 'monetary', 'display_currency': 'currency'}"/>
<span t-esc="line['amount']" t-options="{'widget': 'monetary', 'display_currency': currency}"/>
</td> </td>
<td class="amount" > <td class="amount" >
<span t-esc="line['balance']" t-options="{'widget': 'monetary', 'display_currency': 'currency'}"/>
<span t-esc="line['balance']" t-options="{'widget': 'monetary', 'display_currency': currency}"/>
</td> </td>
</tr> </tr>
@ -93,7 +93,7 @@
</td> </td>
<td /> <td />
<td class="amount" > <td class="amount" >
<span t-esc="Amount_Due[o.id][currency]" t-options="{'widget': 'monetary', 'display_currency': 'currency'}"/>
<span t-esc="Amount_Due[o.id][currency]" t-options="{'widget': 'monetary', 'display_currency': currency}"/>
</td> </td>
</tr> </tr>
</tbody> </tbody>
@ -117,25 +117,25 @@
<tbody > <tbody >
<tr > <tr >
<td class="amount" > <td class="amount" >
<span t-esc="buckets.get('current', 0.0)" t-options="{'widget': 'monetary', 'display_currency': 'currency'}"/>
<span t-esc="buckets.get('current', 0.0)" t-options="{'widget': 'monetary', 'display_currency': currency}"/>
</td> </td>
<td class="amount" > <td class="amount" >
<span t-esc="buckets.get('b_1_30', 0.0)" t-options="{'widget': 'monetary', 'display_currency': 'currency'}"/>
<span t-esc="buckets.get('b_1_30', 0.0)" t-options="{'widget': 'monetary', 'display_currency': currency}"/>
</td> </td>
<td class="amount" > <td class="amount" >
<span t-esc="buckets.get('b_30_60', 0.0)" t-options="{'widget': 'monetary', 'display_currency': 'currency'}"/>
<span t-esc="buckets.get('b_30_60', 0.0)" t-options="{'widget': 'monetary', 'display_currency': currency}"/>
</td> </td>
<td class="amount" > <td class="amount" >
<span t-esc="buckets.get('b_60_90', 0.0)" t-options="{'widget': 'monetary', 'display_currency': 'currency'}"/>
<span t-esc="buckets.get('b_60_90', 0.0)" t-options="{'widget': 'monetary', 'display_currency': currency}"/>
</td> </td>
<td class="amount" > <td class="amount" >
<span t-esc="buckets.get('b_90_120', 0.0)" t-options="{'widget': 'monetary', 'display_currency': 'currency'}"/>
<span t-esc="buckets.get('b_90_120', 0.0)" t-options="{'widget': 'monetary', 'display_currency': currency}"/>
</td> </td>
<td class="amount" > <td class="amount" >
<span t-esc="buckets.get('b_over_120', 0.0)" t-options="{'widget': 'monetary', 'display_currency': 'currency'}"/>
<span t-esc="buckets.get('b_over_120', 0.0)" t-options="{'widget': 'monetary', 'display_currency': currency}"/>
</td> </td>
<td class="amount" > <td class="amount" >
<span t-esc="buckets.get('balance', 0.0)" t-options="{'widget': 'monetary', 'display_currency': 'currency'}"/>
<span t-esc="buckets.get('balance', 0.0)" t-options="{'widget': 'monetary', 'display_currency': currency}"/>
</td> </td>
</tr> </tr>
</tbody> </tbody>

Loading…
Cancel
Save