{% load humanize i18n static %} {% language 'ID' %} {% csrf_token %}
List Voucher
{% for item in voucherlist %} {% endfor %}
# Kode Kadaluarsa Diskon Kuota Kuota Terpakai Status Dibuat oleh Act
{{forloop.counter}} {{item.kode}} {{item.expired_at|date:"d F Y"}} {% if item.tipe_diskon != "%" %}-{%endif%}{{ item.diskon|floatformat:0|intcomma }} {% if item.tipe_diskon == "%" %}%{%endif%} {{item.kuota}} {{item.kuota_terpakai}} {% if item.is_active%}Aktif{% else %}Tidak Aktif{% endif %} {{item.created_by}}
{% endlanguage %}