projects
/
WP-Plugins
/
glm-member-db-billing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
314dc04
)
Update over due for Accounts by Age
author
Steve Sutton
<steve@gaslightmedia.com>
Fri, 15 Mar 2019 13:56:18 +0000
(09:56 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Fri, 15 Mar 2019 13:56:18 +0000
(09:56 -0400)
Should be based on due date.
models/admin/billing/reports.php
patch
|
blob
|
history
diff --git
a/models/admin/billing/reports.php
b/models/admin/billing/reports.php
index
2a7d255
..
9c9a622
100644
(file)
--- a/
models/admin/billing/reports.php
+++ b/
models/admin/billing/reports.php
@@
-179,7
+179,7
@@
class GlmMembersAdmin_billing_reports extends GlmDataTransactions
SELECT account
FROM " . GLM_MEMBERS_BILLING_PLUGIN_DB_PREFIX . "invoices
WHERE balance > 0.00
- AND
transaction_tim
e + INTERVAL 60 DAY <= CURDATE()
+ AND
due_dat
e + INTERVAL 60 DAY <= CURDATE()
)";
$view = 'reports';
break;