Sélectionner une révision Git
month_timesheet.xml 842 o
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2019 Le Filament (<https://www.le-filament.com>)
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<templates xml:space="preserve">
<t t-name="ScopMonthTimesheet">
<table class="table">
<thead>
<tr>
<t t-foreach="widget.values.month" t-as="m">
<t t-if="m.num_month == widget.values.today.month and m.year == widget.values.today.year">
<th class="text-success">
<t t-esc="m.month"/> <t t-esc="m.year"/>
</th>
</t>
<t t-else="">
<th>
<t t-esc="m.month"/> <t t-esc="m.year"/>
</th>
</t>
</t>
</tr>
</thead>
<tbody>
<tr>
<t t-foreach="widget.values.values" t-as="v">
<td><t t-esc="v"/> h</td>
</t>
</tr>
</tbody>
</table>
</t>
</templates>