@Paul hey look.. here is the patch. It was quite an annoying bug, so I patched it. Me not being a true developer though, so I'm not sure if this is a proper way how to compare a date
--- /root/billing_overview_statistics.php 2016-10-13 17:16:04.000000000 +0200
+++ ./plugins/billing_overview/models/billing_overview_statistics.php 2016-10-13 17:35:21.000000000 +0200
@@ -148,6 +148,7 @@
innerJoin("client_groups", "client_groups.id", "=", "clients.client_group_id", false)->
where("client_groups.company_id", "=", $company_id)->
where("invoices.status", "in", array("active", "proforma"))->
+ where("invoices.date_billed", "<", date( 'Y-m-d H:i:s', strtotime("now") ) )->
where("invoices.currency", "=", $currency)->
where("invoices.date_closed", "=", null)->
fetch();
@@ -262,4 +263,4 @@
numResults();
}
}
-?>
\ No newline at end of file
+?>
billing_overview_statistics.patch