]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
ERP-413 Обработка ОС Планограмма (месяц)
authormarina <m.zozirova@gmail.com>
Wed, 7 May 2025 06:55:12 +0000 (09:55 +0300)
committermarina <m.zozirova@gmail.com>
Wed, 7 May 2025 06:55:12 +0000 (09:55 +0300)
erp24/services/AutoPlannogrammaService.php

index 19e426b838cdf15b2fbed91808fe87ce36d9ade2..63f230edaaa0b6854d3f75488c48c58176aa673e 100644 (file)
@@ -23,7 +23,7 @@ class AutoPlannogrammaService
                 'total_sum' => new Expression(
                     $type === 'writeOffs'
                         ? 'SUM(wp.summ)'
-                        : "SUM(CASE WHEN s.operation = 'продажа' THEN sp.summ ELSE 0 END)"
+                        : "SUM(CASE WHEN s.operation = 'Ð\9fродажа' THEN sp.summ ELSE 0 END)"
                 )
             ])
             ->from(['s' => $type === 'writeOffs' ? 'write_offs' : 'sales']);