From: Alexander Smirnov Date: Mon, 8 Jul 2024 08:27:56 +0000 (+0300) Subject: Показывать факты за другие магазины в общем плане X-Git-Tag: 1.4~84^2~1 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=c01a4c5498141370c833b0a8144e990e4e6a85c9;p=erp24_rep%2Fyii-erp24%2F.git Показывать факты за другие магазины в общем плане --- diff --git a/erp24/actions/timetable/EditPlanAction.php b/erp24/actions/timetable/EditPlanAction.php index f5c5105f..5208d517 100755 --- a/erp24/actions/timetable/EditPlanAction.php +++ b/erp24/actions/timetable/EditPlanAction.php @@ -65,7 +65,7 @@ class EditPlanAction extends Action $slot->time_end = $slot->shift ? $slot->shift->end_time : null; } $fact = TimetableFact::find()->andWhere(['plan_id' => $slot->id])->one(); - $dataProvider = new ActiveDataProvider(['query' => TimetableFactModel::find()->where(['admin_id' => $row['admin_id'], 'store_id' => $row['store_id'], 'date_shift' => $row['date']])]); + $dataProvider = new ActiveDataProvider(['query' => TimetableFactModel::find()->where(['admin_id' => $row['admin_id'], 'date_shift' => $row['date']])]); return $this->controller->renderPartial('/timetable/tabel_edit.php', [ 'slot' => $slot, 'fact' => $fact,