Put invoice html back in.
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 15 May 2018 20:17:41 +0000 (16:17 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 15 May 2018 20:17:41 +0000 (16:17 -0400)
They do want it.

classes/notifications.php

index 055f15e..b1f91cb 100644 (file)
@@ -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 );