Fix for missing accounts
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 20 May 2019 12:10:01 +0000 (08:10 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 20 May 2019 12:10:01 +0000 (08:10 -0400)
Show accounts that have 0 an invoice types.

index.php
models/admin/member/billing.php

index 04719b2..c458189 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.28
+ * Version: 1.0.29
  * 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.28
+ * @version 1.0.29
  */
 
 /*
@@ -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.28');
+define('GLM_MEMBERS_BILLING_PLUGIN_VERSION', '1.0.29');
 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 9fa5f1c..390a760 100644 (file)
@@ -620,7 +620,7 @@ class GlmMembersAdmin_member_billing // extends GlmDataBilling
             }
 
 
-            $sql_for_employee_list = "T.boss <> true AND T.invoice_type != 0";
+            $sql_for_employee_list = "T.boss <> true";
             // Grab the employee data
             if ( $accountID ) {
                 // Get a list of this accounts employees. If they have any.