Merge branch 'lsacienne/refilling_date' into 'master'

Add of date in the counter/refilling_list view

I only add a new field in the counter/refilling_list view which will *normally* display the date of each refilling.

See merge request ae/Sith!302
This commit is contained in:
Théo | Ailé 2022-04-19 10:28:09 +00:00
commit 7acc59f2cd

View File

@ -13,6 +13,7 @@
<th>{% trans %}Amount{% endtrans %}</th> <th>{% trans %}Amount{% endtrans %}</th>
<th>{% trans %}Payment method{% endtrans %}</th> <th>{% trans %}Payment method{% endtrans %}</th>
<th>{% trans %}Seller{% endtrans %}</th> <th>{% trans %}Seller{% endtrans %}</th>
<th>{% trans %}Date{% endtrans %}
<th>{% trans %}Actions{% endtrans %}</th> <th>{% trans %}Actions{% endtrans %}</th>
</tr> </tr>
{%- for refilling in object_list %} {%- for refilling in object_list %}
@ -21,6 +22,7 @@
<td>{{ refilling.amount }}</td> <td>{{ refilling.amount }}</td>
<td>{{ refilling.payment_method }}</td> <td>{{ refilling.payment_method }}</td>
<td>{{ refilling.operator }}</td> <td>{{ refilling.operator }}</td>
<td>{{ refilling.date }}</td>
<td><a href="{{ url('counter:refilling_delete', refilling_id=refilling.id)}}">Delete</a></td> <td><a href="{{ url('counter:refilling_delete', refilling_id=refilling.id)}}">Delete</a></td>
</tr> </tr>
{%- endfor %} {%- endfor %}