fix salesByMonth

This commit is contained in:
yuri
2016-08-10 16:22:17 +03:00
parent 24d46ed81d
commit eefb01ec4f
@@ -146,7 +146,7 @@ class Opportunity extends \Espo\Services\Record
opportunity.stage = 'Closed Won'
GROUP BY DATE_FORMAT(opportunity.close_date, '%Y-%m')
ORDER BY opportunity.close_date
ORDER BY `month`
";
$sth = $pdo->prepare($sql);