From 3e5e3734bbe3572f02083c276fbe5682c491b3e1 Mon Sep 17 00:00:00 2001
From: Dmitriy Shesterkin
Date: Mon, 17 Jul 2017 17:25:46 +0300
Subject: [PATCH] display bonus lic
---
templates/customer/profile/orders_list.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/templates/customer/profile/orders_list.html b/templates/customer/profile/orders_list.html
index 9fa11b4..1b3435c 100644
--- a/templates/customer/profile/orders_list.html
+++ b/templates/customer/profile/orders_list.html
@@ -27,7 +27,9 @@
бесплатно{% else %}бонусная
{% endif %}
{% endif %}
- {% if object.term > 0 %}{{ object.get_action_link|safe }}{% else %}Пробный период{% endif %}
+ {% if object.term > 0 %}
+ {% if object.payform != -2 %}{{ object.get_action_link|safe }}{% endif %}
+ {% else %}Пробный период{% endif %}
{% endif %}