From cb98b116cdb8865ec5c80146d3e818397f13389c Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 11 Apr 2018 10:38:46 -0400 Subject: [PATCH] no debug output remove debug output --- classes/billingSupport.php | 2 +- models/admin/member/billing.php | 2 +- views/admin/billing/viewInvoice.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/billingSupport.php b/classes/billingSupport.php index 6f96f43..7256ea9 100644 --- a/classes/billingSupport.php +++ b/classes/billingSupport.php @@ -1253,7 +1253,7 @@ class GlmBillingSupport // Now try to run the card processor $ccResult = $CcProcessor->processPayment( $payment, $billing ); - echo '
$ccResult: ' . print_r( $ccResult, true ) . '
'; + // echo '
$ccResult: ' . print_r( $ccResult, true ) . '
'; // If successful submission - say we're complete if ( is_array( $ccResult ) && isset( $ccResult['status'] ) && $ccResult['status'] == 1 ) { diff --git a/models/admin/member/billing.php b/models/admin/member/billing.php index caa3610..0f429aa 100644 --- a/models/admin/member/billing.php +++ b/models/admin/member/billing.php @@ -436,7 +436,7 @@ class GlmMembersAdmin_member_billing // extends GlmDataBilling // if error - $messages = '
'.print_r( $_REQUEST, true ).'
'; + // $messages = '
'.print_r( $_REQUEST, true ).'
'; $account_id = filter_var( $_REQUEST['account_id'], FILTER_VALIDATE_INT ); $invoices = filter_var( $_REQUEST['invoices'], FILTER_VALIDATE_INT, array( 'flags' => FILTER_REQUIRE_ARRAY ) ); $amount = filter_var( $_REQUEST['amount'], FILTER_VALIDATE_FLOAT ); diff --git a/views/admin/billing/viewInvoice.html b/views/admin/billing/viewInvoice.html index 57986cb..4d2916c 100644 --- a/views/admin/billing/viewInvoice.html +++ b/views/admin/billing/viewInvoice.html @@ -7,7 +7,7 @@ {/if}
- {if $fromMemberMenu} + {if $fromMemberMenu && !$invoice.paid} Pay Invoice {/if} -- 2.17.1