<?= Html::submitButton('Применить', ['class' => 'btn btn-apply btn-primary', 'style' => 'width:100%']);?>
</div>
</div>
- <div class="row">
+ <div class="row py-3">
<div class="col-md d-flex">
<?= Select2::widget([
- 'name' => 'polnogramma-type-filter',
- 'data' => ['min' => 'min', 'max' => 'max'],
- 'options' => ['placeholder' => 'Тип п-ма', 'id' => 'polnogramma-type'],
+ 'name' => 'week-filter',
+ 'data' => ['1' => '1', '2' => '2'],
+ 'options' => ['placeholder' => 'Ð\9dеделÑ\8f', 'id' => 'week'],
'pluginOptions' => ['allowClear' => true],
]) ?>
</div>
<div class="col-md d-flex">
<?= Select2::widget([
- 'name' => 'city-filter',
+ 'name' => 'region-filter',
'data' => ArrayHelper::map(StoreCityList::findAll(['type' => StoreCityList::TYPE_REGION]), 'id', 'name'),
- 'options' => ['placeholder' => 'Ð\93оÑ\80од', 'id' => 'city'],
+ 'options' => ['placeholder' => 'Регион', 'id' => 'region'],
'pluginOptions' => ['allowClear' => true],
]) ?>
</div>
- <div class="col-md"></div>
- <div class="col-md-">
-
+ <div class="col-md d-flex">
+<!-- ttr-->
+ </div>
+ <div class="col-md d-flex">
+ <?= Select2::widget([
+ 'name' => 'bush_chef_florist',
+ 'value' => null,
+ 'data' => ArrayHelper::map(Admin::findAll(['group_id' => AdminGroup::GROUP_BUSH_CHEF_FLORIST]), 'id', 'name'),
+ 'options' => [
+ 'placeholder' => 'Кустовой шеф-флорист',
+ 'class' => 'form-select',
+ 'id' => 'bush_chef_florist',
+ ],
+ 'pluginOptions' => [
+ 'allowClear' => true,
+ ],
+ ]); ?>
+ </div>
+ <div class="col-md d-flex">
+ <!-- ttr-->
+ </div>
+ <div class="col-md d-flex">
+ <?= Html::button('Сохранить', ['class' => 'btn btn-apply btn-save', 'style' => 'width:100%']);?>
</div>
</div>
</div>
<div class="row">
<div class="col-md-5">
-
- <?php Bandoneon::begin() ?>
- <?php
- foreach ($groups as $group) {
- echo "<h4>$group->name</h4>";
- echo "<div 'class' => 'group-{$group->id}></div>";
- } ?>
- <?php Bandoneon::end() ?>
-
+ <?php Bandoneon::begin();
+ foreach ($categories as $category) {
+ echo "<h4>$category->type_num</h4>";
+ echo "<div class=\"group-{$category->id}\"></div>";
+ }
+ Bandoneon::end() ?>
</div>
</div>