]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
ERP-360 Сборка страницы автопм
authormarina <m.zozirova@gmail.com>
Mon, 9 Jun 2025 20:06:22 +0000 (23:06 +0300)
committermarina <m.zozirova@gmail.com>
Mon, 9 Jun 2025 20:06:22 +0000 (23:06 +0300)
erp24/views/auto-plannogramma/index.php

index db7cf9e03da33f7b8cf55ff968daca50fcd7863b..d2ce7e788aa0b4a8b8ad728c81cfbea3bad6bb22 100644 (file)
@@ -85,7 +85,7 @@ $this->registerJsFile('/js/autoplannogramma/autoplannogramma.js', ['position' =>
                 <div class="col-md d-flex">
                     <?= Select2::widget([
                         'name' => 'week-filter',
-                        'data' => ['1' => '1', '2' => '2'],
+                        'data' => array_combine(range(1, 53), range(1, 53)),
                         'options' => ['placeholder' => 'Неделя', 'id' => 'week'],
                         'pluginOptions' => ['allowClear' => true],
                     ]) ?>