From b6ec2ac95b4e269806db4c3dc1a04f301f15e66a Mon Sep 17 00:00:00 2001
From: PCoder <purple.coder@yahoo.co.uk>
Date: Tue, 9 Jul 2019 19:08:19 +0530
Subject: [PATCH] Add missing cc expiry year month in payment page

---
 datacenterlight/templates/datacenterlight/landing_payment.html | 1 +
 hosting/templates/hosting/payment.html                         | 1 +
 2 files changed, 2 insertions(+)

diff --git a/datacenterlight/templates/datacenterlight/landing_payment.html b/datacenterlight/templates/datacenterlight/landing_payment.html
index fb6d51b0..4e71eab9 100644
--- a/datacenterlight/templates/datacenterlight/landing_payment.html
+++ b/datacenterlight/templates/datacenterlight/landing_payment.html
@@ -131,6 +131,7 @@
                                         <h5 class="billing-head">{% trans "Credit Card" %}</h5>
                                         <h5 class="membership-lead">{% trans "Last" %} 4: ***** {{card.last4}}</h5>
                                         <h5 class="membership-lead">{% trans "Type" %}: {{card.brand}}</h5>
+                                        <h5 class="membership-lead">{% trans "Expiry" %}: {{card.exp_month}}/{{card.exp_year}}</h5>
                                     </div>
                                     <div class="col-xs-6 text-right align-bottom">
                                         <a class="btn choice-btn choice-btn-faded" href="#" data-id_card="{{card.id}}">{% trans "SELECT" %}</a>
diff --git a/hosting/templates/hosting/payment.html b/hosting/templates/hosting/payment.html
index e09775cf..f0512fdb 100644
--- a/hosting/templates/hosting/payment.html
+++ b/hosting/templates/hosting/payment.html
@@ -131,6 +131,7 @@
                                         <h5 class="billing-head">{% trans "Credit Card" %}</h5>
                                         <h5 class="membership-lead">{% trans "Last" %} 4: ***** {{card.last4}}</h5>
                                         <h5 class="membership-lead">{% trans "Type" %}: {{card.brand}}</h5>
+                                        <h5 class="membership-lead">{% trans "Expiry" %}: {{card.exp_month}}/{{card.exp_year}}</h5>
                                     </div>
                                     <div class="col-xs-6 text-right align-bottom">
                                         <a class="btn choice-btn choice-btn-faded" href="#" data-id_card="{{card.id}}">{% trans "SELECT" %}</a>