From d490957879ed2656f735f4dc96ba5ac7c5b0728f Mon Sep 17 00:00:00 2001 From: vladfo Date: Tue, 8 Oct 2024 15:07:33 +0300 Subject: [PATCH] =?utf8?q?=20=D0=97=D0=B0=D0=BC=D0=B5=D0=BD=D0=B0=20=D0=B8?= =?utf8?q?=D0=BA=D0=BE=D0=BD=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/views/city_store/_form.php | 80 ++++++++++++++++---------------- erp24/web/images/info-icon.svg | 14 +----- 2 files changed, 42 insertions(+), 52 deletions(-) diff --git a/erp24/views/city_store/_form.php b/erp24/views/city_store/_form.php index 1fdb0a6a..97653a58 100644 --- a/erp24/views/city_store/_form.php +++ b/erp24/views/city_store/_form.php @@ -29,7 +29,7 @@ $this->registerJsFile('/js/city-store/index.js', ['position' => \yii\web\View::P field($model, 'f_id') ->label('FloraPointID магазина ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'FloraPointID магазина'])) ->widget(Select2::class, [ 'data' => $firms, @@ -40,7 +40,7 @@ $this->registerJsFile('/js/city-store/index.js', ['position' => \yii\web\View::P field($model, 'firma_id') ->label('ID привязанного к магазину юрлица ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'ID привязанного к магазину юрлица'])) ->widget(Select2::class, [ 'data' => $firms, @@ -51,7 +51,7 @@ $this->registerJsFile('/js/city-store/index.js', ['position' => \yii\web\View::P field($model, 'firm_group_id') ->label('Firm group ID' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Группа привязанного к магазину юрлица???'])) ->widget(Select2::class, [ 'data' => $firmsGroups, @@ -62,7 +62,7 @@ $this->registerJsFile('/js/city-store/index.js', ['position' => \yii\web\View::P field($model, 'firma_group_id') ->label('Firma group ID ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Группа привязанного к магазину юрлица???'])) ->widget(Select2::class, [ 'data' => $firmsGroups, @@ -73,18 +73,18 @@ $this->registerJsFile('/js/city-store/index.js', ['position' => \yii\web\View::P field($model, 'name')->textInput(['maxlength' => true, 'value' => '', 'id' => 'name-field']) ->label('Наименование магазина ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Наименование магазина. Обязательно'])) ?> field($model, 'name_full')->textInput(['maxlength' => true, 'value' => '', 'id' => 'name-full-field']) ->label('Полное наименование ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Наименование магазина. Обязательно'])) ?> field($model, 'city_id')->label('City ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Выберите город из списка']))->widget(Select2::class, [ 'data' => $cities, 'options' => ['placeholder' => 'Выберите город'], @@ -96,182 +96,182 @@ $this->registerJsFile('/js/city-store/index.js', ['position' => \yii\web\View::P field($model, 'setka_id')->textInput(['value' => 1]) ->label('ID Сетки ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'ID Сетки'])) ?> field($model, 'posit')->textInput(['value' => 0]) ->label('Позиция магазина ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Позиция магазина'])) ?> field($model, 'square_store')->textInput(['value' => null]) ->label('Площадь магазина (кв.м) ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Площадь магазина (кв.м)'])) ?> field($model, 'order_1c')->textInput(['value' => 21]) ->label('Порядок в 1С ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Порядок в 1С???'])) ?> field($model, 'url')->textInput(['maxlength' => true, 'value' => '-']) ->label('URL магазина ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'URL магазина'])) ?> field($model, 'adress')->textarea(['rows' => 2, 'value' => '-', 'id' => 'adress-field']) ->label('Адрес магазина ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Адрес магазина - ул. Улица д.1'])) ?> field($model, 'adress_amo')->textInput(['maxlength' => true, 'value' => '-', 'id' => 'adress-amo-field']) ->label('Адрес для AmoCRM ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Адрес магазина для амо - самовывоз'])) ?> field($model, 'adress_sm')->textInput(['maxlength' => true, 'value' => '-', 'id' => 'adress-sm-field']) ->label('Короткий адрес магазина ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Короткий адрес магазина'])) ?> field($model, '2gis')->textInput(['maxlength' => true, 'value' => '-']) ->label('Ссылка на 2ГИС ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Ссылка на 2ГИС'])) ?> field($model, 'yamap')->textInput(['maxlength' => true, 'value' => '-']) ->label('Ссылка на Яндекс.Карты ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Ссылка на Яндекс.Карты'])) ?> field($model, 'googlemap')->textarea(['rows' => 2, 'value' => '-']) ->label('Ссылка на Google Maps ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Ссылка на Google Maps'])) ?> field($model, 'mapiframe')->textarea(['rows' => 4, 'value' => '-']) ->label('Карта магазина в iframe ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Карта магазина в iframe'])) ?> field($model, 'seo_title')->textInput(['maxlength' => true, 'value' => '-']) ->label('SEO заголовок ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'SEO заголовок'])) ?> field($model, 'seo_description')->textarea(['rows' => 2, 'value' => '-']) ->label('SEO описание ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'SEO описание'])) ?> field($model, 'content')->textarea(['rows' => 6, 'value' => '-']) ->label('Содержимое - текст ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Содержимое - текст'])) ?> field($model, 'email')->textInput(['maxlength' => true, 'value' => '-']) ->label('Email магазина ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Email магазина'])) ?> field($model, 'tg_chat_id')->textInput(['maxlength' => true, 'value' => '-']) ->label('ID чата в Telegram ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'ID чата в Telegram'])) ?> field($model, 'h1')->textInput(['maxlength' => true, 'value' => '-']) ->label('H1 шаблон для SEO ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'H1 шаблон для SEO'])) ?> field($model, 'sprav_id')->textInput(['maxlength' => true, 'value' => '0']) ->label('ID в справочнике ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'ID в справочнике'])) ?> field($model, 'images')->textarea(['rows' => 2, 'value' => '-']) ->label('Изображения магазина ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Изображения магазина'])) ?> field($model, 'visible')->textInput(['value' => 1]) ->label('Видимость магазина ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Видимость магазина'])) ?> field($model, 'image_sm')->textInput(['maxlength' => true, 'value' => '-']) ->label('Путь к маленькой картинке ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Путь к маленькой картинке'])) ?> field($model, 'image_big')->textInput(['maxlength' => true, 'value' => '-']) ->label('Путь к большой картинке ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Путь к большой картинке'])) ?> field($model, 'image2_sm')->textInput(['maxlength' => true, 'value' => '-']) ->label('Путь к маленькой картинке 2 ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Путь к маленькой картинке 2'])) ?> field($model, 'image2_big')->textInput(['maxlength' => true, 'value' => '-']) ->label('Путь к большой картинке 2 ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Путь к большой картинке 2'])) ?> field($model, 'type_id')->textInput(['value' => 1]) ->label('Тип магазина ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Тип магазина'])) ?> field($model, 'sale_plan_avg')->textInput(['value' => 0]) ->label('Средний план продаж ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Средний план продаж'])) ?> field($model, 'visitor_day_avg')->textInput(['value' => 0]) ->label('Среднее количество посетителей в день ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Среднее количество посетителей в день'])) ?> field($model, 'visitor_avg')->textInput(['value' => 0]) ->label('Среднее количество посетителей ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Среднее количество посетителей'])) ?> field($model, 'administrator_id') ->label('ID администратора ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'ID администратора'])) ->widget(Select2::class, [ 'data' => $administrators, @@ -282,7 +282,7 @@ $this->registerJsFile('/js/city-store/index.js', ['position' => \yii\web\View::P field($model, 'cluster_id') ->label('ID куста ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'ID куста'])) ->widget(Select2::class, [ 'data' => $clusters, @@ -293,13 +293,13 @@ $this->registerJsFile('/js/city-store/index.js', ['position' => \yii\web\View::P field($model, 'open_date')->textInput(['maxlength' => true, 'value' => '-']) ->label('Дата открытия ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'Дата открытия'])) ?> field($model, 'gps')->textInput(['maxlength' => true, 'value' => '-']) ->label('GPS координаты магазина ' . Html::img('@web/images/info-icon.svg', [ 'alt' => 'Info', - 'style' => 'width: 16px; height: 16px; cursor: pointer;', + 'style' => 'width: 16px; height: 16px; margin-left:7px; cursor: pointer;', 'data-toggle' => 'tooltip', 'title' => 'GPS координаты магазина в виде 56.275879,44.045422'])) ?> diff --git a/erp24/web/images/info-icon.svg b/erp24/web/images/info-icon.svg index 09ad824e..7484f1ca 100644 --- a/erp24/web/images/info-icon.svg +++ b/erp24/web/images/info-icon.svg @@ -1,14 +1,4 @@ - - - - - - + + \ No newline at end of file -- 2.39.5