From: Steve Sutton Date: Mon, 20 May 2019 12:10:01 +0000 (-0400) Subject: Fix for missing accounts X-Git-Tag: v1.0.29^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=6ed51fd04833b91ef9245ef10d4ca6e25b6f55e2;p=WP-Plugins%2Fglm-member-db-billing.git Fix for missing accounts Show accounts that have 0 an invoice types. --- diff --git a/index.php b/index.php index 04719b2..c458189 100644 --- 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 * @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. diff --git a/models/admin/member/billing.php b/models/admin/member/billing.php index 9fa5f1c..390a760 100644 --- a/models/admin/member/billing.php +++ b/models/admin/member/billing.php @@ -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.