From f608ef82836ebe4aa73430a7a007c4ca01cc52dc Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 15 May 2018 16:15:21 -0400 Subject: [PATCH] Don't send invoice in notifications when create an invoice. This should be an option maybe. --- classes/notifications.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ); -- 2.17.1