change case
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 16 Nov 2018 20:59:43 +0000 (15:59 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 16 Nov 2018 20:59:43 +0000 (15:59 -0500)
for invoice type.

index.php
models/admin/ajax/accountsListExport.php

index 153ced7..5263c2c 100644 (file)
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
  * Plugin Name: GLM Members Billing
  * Plugin URI: http://www.gaslightmedia.com/
  * Description: This is glmAssociate Billing Module
- * Version: 1.0.15
+ * Version: 1.0.16
  * Author: Gaslight Media
  * Author URI: http://www.gaslightmedia.com/
  * License: GPL2
@@ -19,7 +19,7 @@
  * @package glmMembersBillingAddOn
  * @author Chuck Scott <cscott@gaslightmedia.com>
  * @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.0.15
+ * @version 1.0.16
  */
 
 /*
@@ -37,7 +37,7 @@
  *  so that we're sure the other add-ons see an up to date
  *  version from this plugin.
  */
-define('GLM_MEMBERS_BILLING_PLUGIN_VERSION', '1.0.15');
+define('GLM_MEMBERS_BILLING_PLUGIN_VERSION', '1.0.16');
 define('GLM_MEMBERS_BILLING_PLUGIN_DB_VERSION', '0.0.26');
 
 // This is the minimum version of the GLM Members DB plugin require for this plugin.
index 89423fa..a9d00d7 100644 (file)
@@ -169,7 +169,7 @@ class GlmMembersAdmin_ajax_accountsListExport extends GlmDataAccounts
             $filterPending = filter_var( $_REQUEST['filterPending'], FILTER_VALIDATE_BOOLEAN );
             $sub_where_parts[] = "(T.renewal_date + INTERVAL 1 YEAR - INTERVAL $days_before_renewal DAY  <= '$curDate' AND " .
             "T.renewal_date + INTERVAL 1 YEAR + INTERVAL $days_after_expired DAY >= '$curDate')";
-            $sub_where_parts[] = "Invoice_type != 0";
+            $sub_where_parts[] = "invoice_type != 0";
             $filterPending = true;
             $haveFilter    = true;
         }
@@ -177,12 +177,12 @@ class GlmMembersAdmin_ajax_accountsListExport extends GlmDataAccounts
             $filterOverdue = filter_var( $_REQUEST['filterOverdue'], FILTER_VALIDATE_BOOLEAN );
             $sub_where_parts[] = "(T.renewal_date + INTERVAL 1 YEAR < '$curDate' AND " .
             "T.renewal_date + INTERVAL 1 YEAR + INTERVAL $days_after_expired DAY >= '$curDate')";
-            $sub_where_parts[] = "Invoice_type != 0";
+            $sub_where_parts[] = "invoice_type != 0";
         }
         if ( isset( $_REQUEST['filterExpired'] ) ) {
             $filterExpired = filter_var( $_REQUEST['filterExpired'], FILTER_VALIDATE_BOOLEAN );
             $sub_where_parts[] = "T.renewal_date + INTERVAL 1 YEAR + INTERVAL $days_after_expired DAY < '$curDate'";
-            $sub_where_parts[] = "Invoice_type != 0";
+            $sub_where_parts[] = "invoice_type != 0";
         }
 
         if ( !empty( $sub_where_parts ) ) {