]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
фильтрация по удаленным сменам продажи сегодня
authormarina <m.zozirova@gmail.com>
Mon, 3 Feb 2025 13:48:19 +0000 (16:48 +0300)
committermarina <m.zozirova@gmail.com>
Mon, 3 Feb 2025 13:48:19 +0000 (16:48 +0300)
erp24/actions/dashboard/SalesAction.php

index 256da889d7a58b85d133e3fd29a6bb8aba3d1a34..23b6d87b409d9f67cc098b91fcefb0f618dfc822 100755 (executable)
@@ -140,6 +140,7 @@ class SalesAction extends Action
                 ->leftJoin(['a' => 'admin'], 't.admin_id = a.id')
                 ->leftJoin('export_import_table e', 'entity_id = t.store_id and entity = \'city_store\'')
                 ->where(['=', 'date', $date1])
+                ->andWhere(['active' => 1])
                 ->select([
                     'e.export_val AS store_id',
                     new \yii\db\Expression(