From d42ba260ffa5097cf52ee82849f7b6b59ac1fdd1 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 19 Feb 2019 15:47:24 -0500 Subject: [PATCH] Update to hide create invoice when no account exists Cannot do that unless there's an account. --- views/admin/billing/memberBillingSubHeader.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- 2.17.1