summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indoteknik_custom/models/voucher.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/models/voucher.py b/indoteknik_custom/models/voucher.py
index e1497d9a..6a166cf3 100644
--- a/indoteknik_custom/models/voucher.py
+++ b/indoteknik_custom/models/voucher.py
@@ -52,7 +52,8 @@ class Voucher(models.Model):
'description': self.description,
'discount_amount': self.discount_amount,
'discount_type': discount_type,
- 'remaining_time': self.end_time.strftime('%d-%m-%Y'),
+ 'start_time': self.start_time.strftime('%d-%m-%Y'),
+ 'end_time': self.end_time.strftime('%d-%m-%Y'),
'min_purchase_amount': self.min_purchase_amount,
'max_discount_amount': max_discount_amount,
}