changd date format on orders view
This commit is contained in:
parent
f1f6074c78
commit
339e20d0b7
3 changed files with 15 additions and 4 deletions
|
|
@ -24,7 +24,7 @@
|
|||
{% for order in orders %}
|
||||
<tr>
|
||||
<td scope="row">{{ order.id }}</td>
|
||||
<td>{{ order.created_at }}</td>
|
||||
<td>{{ order.created_at | date:"M d, Y" }}</td>
|
||||
<td>{{ order.price }} CHF</td>
|
||||
<td>{% if order.approved %}
|
||||
<span class="text-success strong">{% trans "Approved"%}</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue