$modelLangs, 'formView' => '@artbox/stock/views/shop/_form_language', 'form' => $form, ] ) ?> $day): ?> modeStr[ $key ][ 'from' ]) ) ? $model->modeStr[ $key ][ 'from' ] : '09:00', [ 'size' => 10, 'type' => 'time', ] ) ?> modeStr[ $key ][ 'to' ]) ) ? $model->modeStr[ $key ][ 'to' ] : '18:00', [ 'size' => 10, 'type' => 'time', ] ) ?> modeStr[ $key ][ 'off' ]) ) ? true : false) ?> modeStr[ 'data' ]): ?> modeStr[ 'data' ] as $key => $data): ?> 10, 'type' => 'data', ] ) ?> 10, 'type' => 'time', ] ) ?> 10, 'type' => 'time', ] ) ?> 'fa fa-plus', ] ) . ' Добавить дату', [ 'id' => 'add-data', 'class' => 'btn btn-success', 'data-count' => ( isset($model->modeStr[ 'data' ]) ) ? count($model->modeStr[ 'data' ]) : 0, ] ) ?> 'Shop[city_id]', 'value' => array_keys($model->cities), 'data' => $model->cities, 'options' => [ 'placeholder' => 'Выберите город ...' ], ] ); ?> field($model, 'sort') ->textInput() ?> field($model, 'status') ->checkbox() ?>
isNewRecord ? \Yii::t('stock', 'Create') : \Yii::t('stock', 'Update'), [ 'class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary' ] ) ?>