Feature: единое отображение чисел с разделителями разрядов (фильтр ws_num)

Made-with: Cursor
This commit is contained in:
2026-02-26 15:01:08 +00:00
parent 8fcecb558d
commit 770bbbb467
9 changed files with 87 additions and 17 deletions

View File

@@ -1,4 +1,5 @@
{% extends "base.html" %}
{% load document_filters %}
{% block title %}Поступления денежных средств — ERP WaterSurf{% endblock %}
{% block content %}
<div class="ws-card">
@@ -24,7 +25,7 @@
<td>{{ obj.date }}</td>
<td>{{ obj.number }}</td>
<td>{{ obj.recipient }}</td>
<td class="ws-num">{{ obj.amount }}</td>
<td class="ws-num">{{ obj.amount|ws_num:2 }}</td>
<td>{{ obj.customer_order|default:"—" }}</td>
<td class="ws-actions">
<a href="{% url 'documents:cash_inflow_edit' obj.pk %}" class="ws-link">Изменить</a>