// Merge -> revision 8059

This commit is contained in:
rMalie
2011-08-16 09:10:40 +00:00
parent c83977874c
commit aa37be28db
31 changed files with 188 additions and 84 deletions
+1 -1
View File
@@ -376,7 +376,7 @@ class Followup extends Module
/* For all customers with more than x euros in 90 days */
private function bestCustomer($count = false)
{
$emailLogs = $this->getLogsEmail(2);
$emailLogs = $this->getLogsEmail(3);
$sql = '
SELECT SUM(o.total_paid) total, c.id_cart, c.id_lang, cu.id_customer, cu.firstname, cu.lastname, cu.email