This should be an option maybe.
// 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 );