Update for front end renewal form
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 11 Apr 2018 15:07:54 +0000 (11:07 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 11 Apr 2018 15:07:54 +0000 (11:07 -0400)
Adding template for view invoices.

models/front/billing/renew.php
views/front/billing/viewInvoice.html [new file with mode: 0644]

index fb59ec3..1fda26d 100644 (file)
@@ -378,7 +378,7 @@ class GlmMembersFront_billing_renew // extends GlmDataBilling
             'option'             => $option,
             'fromMemberMenu'     => ( defined('GLM_MEMBERS_BILLING_MEMBER_MENU' ) ? true: false ),
             'lockedToMember'     => $lockedToMember,
-            'numberPending'      => $numberPending,
+            // 'numberPending'      => $numberPending,
             'memberID'           => $this->memberID,
             'haveMember'         => $haveMember,
             'haveAccount'        => $haveAccount,
@@ -393,7 +393,7 @@ class GlmMembersFront_billing_renew // extends GlmDataBilling
             'billing_settings'   => $this->config['billing_settings'],
             'management'         => $management,
             'messages'           => $messages,
-            'invoices'           => $invoices,
+            // 'invoices'           => $invoices,
             'paymentSuccess'     => $paymentSuccess,
             'paymentError'       => $paymentError,
             'hasBillingAccount'  => $hasBillingAccount,
diff --git a/views/front/billing/viewInvoice.html b/views/front/billing/viewInvoice.html
new file mode 100644 (file)
index 0000000..c06572c
--- /dev/null
@@ -0,0 +1,3 @@
+
+    {$invoiceHtml}
+