{% extends "django_program/manage/base.html" %} {% block title %}Bulk Deal #{{ purchase.pk }}{% endblock %} {% block breadcrumb %} {% endblock %} {% block page_title %}
{% if purchase.product_description %}{{ purchase.product_description }}{% endif %}
{% endblock %} {% block content %}| Code | Type | Discount | Uses | Status | Generated |
|---|---|---|---|---|---|
| {{ link.voucher.code }} | {{ link.voucher.get_voucher_type_display }} | {% if link.voucher.voucher_type == "comp" %} 100% off {% elif link.voucher.voucher_type == "percentage" %} {{ link.voucher.discount_value }}% off {% elif link.voucher.voucher_type == "fixed_amount" %} ${{ link.voucher.discount_value }} off {% endif %} | {{ link.voucher.times_used }} / {{ link.voucher.max_uses }} | {% if link.voucher.is_active %} Active {% else %} Inactive {% endif %} | {{ link.created_at|date:"M j, Y g:i A" }} |