end_date added

This commit is contained in:
Arvind Tiwari 2017-09-30 17:55:49 +05:30
commit bd91883369
3 changed files with 15 additions and 2 deletions

View file

@ -101,7 +101,7 @@
{% if vm.created_at %}
<p>
<span>{% trans "Period" %}: </span>
<span>{{ vm.created_at|date:'Y/m/d' }} - {% if vm.terminated_at %}{{ vm.terminated_at|date:'Y/m/d' }}{% else %}{% now 'Y/m/d' %}{% endif %}</span>
<span>{{ vm.created_at|date:'Y/m/d' }} - {{ subscription_end_date|date:'Y/m/d' }}</span>
</p>
{% endif %}
<p>