added some filters to templates

This commit is contained in:
2025-08-03 10:50:59 +03:00
parent e824e87953
commit 13c4c324fc
29 changed files with 180 additions and 89 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
{% extends 'common/base.html' %}
{% load filters %}
{% block content %}
<form method="POST">
{% csrf_token %}
@@ -32,8 +32,8 @@
<td>{{ container.number }}</td>
<td>{{ container.container_type }}</td>
<td>{{ container.line.company.short_name }}</td>
<td>{{ container.received_on|date:"Y-m-d" }}</td>
<td>{{ container.expedited_on|date:"Y-m-d" }}</td>
<td>{{ container.received_on|bg_date }}</td>
<td>{{ container.expedited_on|bg_date }}</td>
</tr>
{% endfor %}
</tbody>