]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
ERP-225 Не правильно считается Прогноз за месяц
authormarina <m.zozirova@gmail.com>
Wed, 16 Oct 2024 09:26:03 +0000 (12:26 +0300)
committermarina <m.zozirova@gmail.com>
Wed, 16 Oct 2024 09:26:03 +0000 (12:26 +0300)
erp24/scripts/tasks/task_33_insert_data_to_monitvation_from_motivation_buh.php

index fae628770a31a2ed710a96004244960a9f23c2f1..f0b4155b30159d14497a97a3e808f1d0c3aabf33 100644 (file)
@@ -95,7 +95,7 @@ try {
 
             $monthValue = 8;
             $yearValue = 2024;
-            
+
             $month = MotivationBuh::find()
                 ->select('id')
                 ->andWhere(['month' => $monthValue])
@@ -208,7 +208,7 @@ try {
                             ->orderBy('id desc')
                             ->asArray()
                             ->all(), 'id', 'store_guid');
-
+var_dump($stores);die();
                         if (!empty(array_key_exists($motivation->store_id,$stores))) {
                             $writeOffs = WriteOffs::find()
                                 ->andWhere(['type' => 'Расходные материалы (обеспечение продаж)'])