32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
{% load eo_facture %}
|
||
<div class="module" id="module-table-{{name}}">
|
||
<table id="table-{{name}}" class="table">
|
||
<caption>{{title}}</caption>
|
||
<!-- headers -->
|
||
<thead>
|
||
{% for header, header_title in headers %}
|
||
<th class="header-{{header}}">{{header_title}}</th>
|
||
{% endfor %}
|
||
</thead>
|
||
<tbody>
|
||
{% for row in table %}
|
||
<tr>
|
||
{% if row.0.href %}
|
||
<td><a href="{{ row.0.href }}">{{ row.0 }}</a></td>
|
||
{% else %}
|
||
<td>{{ row.0 }}</td>
|
||
{% endif %}
|
||
<td class="number-cell">{{ row.1|amountformat }}</td>
|
||
<td class="number-cell">{{ row.2|amountformat }}</td>
|
||
<td class="number-cell">{{ row.3|floatformat:2 }} %</td>
|
||
<td class="number-cell">{{ row.4|amountformat }}</td>
|
||
<td class="number-cell">{{ row.5|floatformat:2 }} %</td>
|
||
<td class="number-cell">{{ row.6|floatformat:2 }} %</td>
|
||
<td class="number-cell">{{ row.7|floatformat:2 }}</td>
|
||
</tr>
|
||
{% endfor %}
|
||
</tbody>
|
||
</thead>
|
||
</table>
|
||
</div>
|