|
|
|
|
@ -2,19 +2,19 @@ |
|
|
|
|
|
|
|
|
|
{% block table_header %} |
|
|
|
|
<th><a href="?{{ ordering.order_var }}=doc_num&{{ ordering.order_type_var }}={% if ordering.order_field == 'doc_num' %}{% if ordering.order_type == 'asc' %}desc{% else %}asc{% endif %}{% else %}asc{% endif %}">Номер</a> |
|
|
|
|
{% if ordering.order_field == 'doc_num' %}{% if ordering.order_type == 'asc' %}<span title="1-9">↑</span>{% else %}<span title="9-1">↓</span>{% endif %}{% endif %}</th> |
|
|
|
|
{% if ordering.order_field == 'doc_num' %}{% if ordering.order_type == 'asc' %}{{ img_asc }}{% else %}{{ img_desc }}{% endif %}{% endif %}</th> |
|
|
|
|
|
|
|
|
|
<th><a href="?{{ ordering.order_var }}=doc_date&{{ ordering.order_type_var }}={% if ordering.order_field == 'doc_date' %}{% if ordering.order_type == 'asc' %}desc{% else %}asc{% endif %}{% else %}asc{% endif %}">Дата выдачи</a> |
|
|
|
|
{% if ordering.order_field == 'doc_date' %}{% if ordering.order_type == 'asc' %}<span title="01-31">↑</span>{% else %}<span title="31-01">↓</span>{% endif %}{% endif %}</th> |
|
|
|
|
{% if ordering.order_field == 'doc_date' %}{% if ordering.order_type == 'asc' %}{{ img_asc }}{% else %}{{ img_desc }}{% endif %}{% endif %}</th> |
|
|
|
|
|
|
|
|
|
<th><a href="?{{ ordering.order_var }}=doc_expire_date&{{ ordering.order_type_var }}={% if ordering.order_field == 'doc_expire_date' %}{% if ordering.order_type == 'asc' %}desc{% else %}asc{% endif %}{% else %}asc{% endif %}">Срок действия</a> |
|
|
|
|
{% if ordering.order_field == 'doc_expire_date' %}{% if ordering.order_type == 'asc' %}<span title="01-31">↑</span>{% else %}<span title="31-01">↓</span>{% endif %}{% endif %}</th> |
|
|
|
|
{% if ordering.order_field == 'doc_expire_date' %}{% if ordering.order_type == 'asc' %}{{ img_asc }}{% else %}{{ img_desc }}{% endif %}{% endif %}</th> |
|
|
|
|
|
|
|
|
|
<th><a href="?{{ ordering.order_var }}=dover_name&{{ ordering.order_type_var }}={% if ordering.order_field == 'dover_name' %}{% if ordering.order_type == 'asc' %}desc{% else %}asc{% endif %}{% else %}asc{% endif %}">Кому выдана</a> |
|
|
|
|
{% if ordering.order_field == 'dover_name' %}{% if ordering.order_type == 'asc' %}<span title="А-Я">↑</span>{% else %}<span title="Я-А">↓</span>{% endif %}{% endif %}</th> |
|
|
|
|
{% if ordering.order_field == 'dover_name' %}{% if ordering.order_type == 'asc' %}{{ img_asc }}{% else %}{{ img_desc }}{% endif %}{% endif %}</th> |
|
|
|
|
|
|
|
|
|
<th><a href="?{{ ordering.order_var }}=client__name&{{ ordering.order_type_var }}={% if ordering.order_field == 'client__name' %}{% if ordering.order_type == 'asc' %}desc{% else %}asc{% endif %}{% else %}asc{% endif %}">Контрагент</a> |
|
|
|
|
{% if ordering.order_field == 'client__name' %}{% if ordering.order_type == 'asc' %}<span title="А-Я">↑</span>{% else %}<span title="Я-А">↓</span>{% endif %}{% endif %}</th> |
|
|
|
|
{% if ordering.order_field == 'client__name' %}{% if ordering.order_type == 'asc' %}{{ img_asc }}{% else %}{{ img_desc }}{% endif %}{% endif %}</th> |
|
|
|
|
{% endblock %} |
|
|
|
|
|
|
|
|
|
{% block table_obj_cells %} |
|
|
|
|
|