mirror of
https://gitlab.com/flectra-community/account-financial-reporting.git
synced 2024-11-15 02:02:04 +00:00
71 lines
2.9 KiB
XML
71 lines
2.9 KiB
XML
|
<?xml version="1.0" encoding="utf-8" ?>
|
||
|
<!-- Copyright 2018 ForgeFlow, S.L. (https://www.forgeflow.com)
|
||
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||
|
<flectra>
|
||
|
<template id="aging_buckets">
|
||
|
<p>
|
||
|
Aging Report at <span t-out="d['end']" /> in <span
|
||
|
t-out="display_currency.name"
|
||
|
/>:
|
||
|
</p>
|
||
|
<table class="table table-sm table-statement">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<t t-foreach="bucket_labels" t-as="bl">
|
||
|
<th class="amount">
|
||
|
<span t-out="bl" />
|
||
|
</th>
|
||
|
</t>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<t t-set="buckets" t-value="currency['buckets']" />
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<td class="amount">
|
||
|
<span
|
||
|
t-out="buckets.get('current', 0.0)"
|
||
|
t-options="{'widget': 'monetary', 'display_currency': display_currency}"
|
||
|
/>
|
||
|
</td>
|
||
|
<td class="amount">
|
||
|
<span
|
||
|
t-out="buckets.get('b_1_30', 0.0)"
|
||
|
t-options="{'widget': 'monetary', 'display_currency': display_currency}"
|
||
|
/>
|
||
|
</td>
|
||
|
<td class="amount">
|
||
|
<span
|
||
|
t-out="buckets.get('b_30_60', 0.0)"
|
||
|
t-options="{'widget': 'monetary', 'display_currency': display_currency}"
|
||
|
/>
|
||
|
</td>
|
||
|
<td class="amount">
|
||
|
<span
|
||
|
t-out="buckets.get('b_60_90', 0.0)"
|
||
|
t-options="{'widget': 'monetary', 'display_currency': display_currency}"
|
||
|
/>
|
||
|
</td>
|
||
|
<td class="amount">
|
||
|
<span
|
||
|
t-out="buckets.get('b_90_120', 0.0)"
|
||
|
t-options="{'widget': 'monetary', 'display_currency': display_currency}"
|
||
|
/>
|
||
|
</td>
|
||
|
<td class="amount">
|
||
|
<span
|
||
|
t-out="buckets.get('b_over_120', 0.0)"
|
||
|
t-options="{'widget': 'monetary', 'display_currency': display_currency}"
|
||
|
/>
|
||
|
</td>
|
||
|
<td class="amount">
|
||
|
<span
|
||
|
t-out="buckets.get('balance', 0.0)"
|
||
|
t-options="{'widget': 'monetary', 'display_currency': display_currency}"
|
||
|
/>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</template>
|
||
|
</flectra>
|