From: Steve Sutton Date: Wed, 19 Dec 2018 19:42:37 +0000 (-0500) Subject: Update renewal form X-Git-Tag: v1.0.19^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=1d9eff56419b9cff395036dbc716b64def342244;p=WP-Plugins%2Fglm-member-db-billing.git Update renewal form For member billing tab add javascript code to disable the submit button once it is submitted the first time. --- diff --git a/index.php b/index.php index 4c26673..750c91c 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * Plugin Name: GLM Members Billing * Plugin URI: http://www.gaslightmedia.com/ * Description: This is glmAssociate Billing Module - * Version: 1.0.18 + * Version: 1.0.19 * Author: Gaslight Media * Author URI: http://www.gaslightmedia.com/ * License: GPL2 @@ -19,7 +19,7 @@ * @package glmMembersBillingAddOn * @author Chuck Scott * @license http://www.gaslightmedia.com Gaslightmedia - * @version 1.0.18 + * @version 1.0.19 */ /* @@ -37,7 +37,7 @@ * so that we're sure the other add-ons see an up to date * version from this plugin. */ -define('GLM_MEMBERS_BILLING_PLUGIN_VERSION', '1.0.18'); +define('GLM_MEMBERS_BILLING_PLUGIN_VERSION', '1.0.19'); define('GLM_MEMBERS_BILLING_PLUGIN_DB_VERSION', '0.0.26'); // This is the minimum version of the GLM Members DB plugin require for this plugin. diff --git a/models/admin/member/billing.php b/models/admin/member/billing.php index 2395c8f..b65218f 100644 --- a/models/admin/member/billing.php +++ b/models/admin/member/billing.php @@ -128,6 +128,7 @@ class GlmMembersAdmin_member_billing // extends GlmDataBilling $accounts = false; $errors = false; $invoiceTypes = false; + $renewalFormSession = false; // For lockedToMember. $lockedToMember = false; @@ -755,6 +756,7 @@ class GlmMembersAdmin_member_billing // extends GlmDataBilling 'account_status' => $account_status, 'accounts' => $accounts, 'invoiceTypes' => $invoiceTypes, + 'renewalFormSession' => $renewalFormSession, ); // Return status, any suggested view, and any data to controller. diff --git a/views/admin/billing/renew.html b/views/admin/billing/renew.html index fa09afa..ddc5424 100644 --- a/views/admin/billing/renew.html +++ b/views/admin/billing/renew.html @@ -13,7 +13,7 @@ {/foreach} {/if} -
+ @@ -21,7 +21,6 @@ - {if $member_invoice}
@@ -120,12 +119,19 @@ {* Include the Payment Form template *} {include file='common/billing/paymentForm.html'} - +