From: Steve Sutton Date: Tue, 15 May 2018 20:15:21 +0000 (-0400) Subject: Don't send invoice in notifications when create an invoice. X-Git-Tag: v1.0.0^2~10 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=f608ef82836ebe4aa73430a7a007c4ca01cc52dc;p=WP-Plugins%2Fglm-member-db-billing.git Don't send invoice in notifications when create an invoice. This should be an option maybe. --- diff --git a/classes/notifications.php b/classes/notifications.php index b1f91cb..055f15e 100644 --- a/classes/notifications.php +++ b/classes/notifications.php @@ -142,9 +142,9 @@ class GlmNotifications // Setup the invoice html $invoice_html = ''; - if ( isset( $data['type'] ) && $data['type'] == $this->config['transaction_numb']['Invoice'] ) { - $invoice_html = $BillingSupport->viewInvoice( $data['type_id'] ); - } + // if ( isset( $data['type'] ) && $data['type'] == $this->config['transaction_numb']['Invoice'] ) { + // $invoice_html = $BillingSupport->viewInvoice( $data['type_id'] ); + // } $smarty->templateAssign( 'invoice_html', $invoice_html );