From: Steve Sutton Date: Tue, 19 Feb 2019 20:47:24 +0000 (-0500) Subject: Update to hide create invoice when no account exists X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=d42ba260ffa5097cf52ee82849f7b6b59ac1fdd1;p=WP-Plugins%2Fglm-member-db-billing.git Update to hide create invoice when no account exists Cannot do that unless there's an account. --- diff --git a/views/admin/billing/memberBillingSubHeader.html b/views/admin/billing/memberBillingSubHeader.html index 6545521..6b1ae01 100644 --- a/views/admin/billing/memberBillingSubHeader.html +++ b/views/admin/billing/memberBillingSubHeader.html @@ -27,7 +27,7 @@ Membership Renewal {/if} - {if isset( $billing_settings.uptravel_payment_form ) && $billing_settings.uptravel_payment_form} + {if isset( $billing_settings.uptravel_payment_form ) && $billing_settings.uptravel_payment_form && $accountID} {$hasInvoice = apply_filters('glm-billing-account-has-invoice', false, $accountID )}
  • {if $hasInvoice}