You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.5 KiB
31 lines
1.5 KiB
{% extends "base.html" %}
|
|
{% load pytils_numeral %}
|
|
{% block title %}История расчётов{% endblock %}
|
|
|
|
{% block content %}
|
|
<p><a href="{% url 'customer_order_license' %}">Купить лицензию</a></p>
|
|
<p><a href="{% url 'customer_license_list' %}">Все счета</a></p>
|
|
<h1>История оплат</h1>
|
|
<div class='header'>
|
|
<div class='w100 left'>Дата оплаты</div>
|
|
<div class='w100 left'>По счёту</div>
|
|
<div class='w100 left'>Сумма</div>
|
|
<div class='w100 left'>Срок лицензии</div>
|
|
<div class='w200 left'>Период действия лицензии</div>
|
|
<div class='w100 left'>Статус лицензии</div>
|
|
<div class='w100 left'>Закрывающие документы</div>
|
|
<div class='clear'></div>
|
|
</div>
|
|
{% for license in licenses %}
|
|
<div>
|
|
<div class='w100 left'>{{ license.paid_date|default:'-' }}</div>
|
|
<div class='w100 left'>{% if license.pay_sum %}{{ license.id }}{% else %}-{% endif %}</div>
|
|
<div class='w100 left'>{% if license.pay_sum %}{{ license.pay_sum }}{% else %}-{% endif %}</div>
|
|
<div class='w100 left'>{{ license.get_term }}</div>
|
|
<div class='w200 left'>{% if license.date_from %}{{ license.date_from }} - {{ license.date_to }}{% else %}-{% endif %}</div>
|
|
<div class='w100 left'>{{ license.get_status_display }}<p>{{ license.get_paid_status|default:'' }}</p></div>
|
|
<div class='w100 left'>Разные документы</div>
|
|
<div class='clear'></div>
|
|
</div>
|
|
{% endfor %}
|
|
{% endblock %}
|
|
|