]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
убрали битую ссылку на lightbox, поправили сообщение об отсутствующем в меню урл
authorAlexander Smirnov <fredeom@mail.ru>
Fri, 27 Dec 2024 09:28:12 +0000 (12:28 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Fri, 27 Dec 2024 09:28:12 +0000 (12:28 +0300)
erp24/records/CrmMenu.php
erp24/views/write_offs_erp/view.php

index 1dd573ac7dd6901f7c0b577cb1b37027a9d0b51d..0d38d452786d07021bd6432f6637eac059d412ac 100755 (executable)
@@ -45,7 +45,7 @@ class CrmMenu extends ActiveRecord
             ->cache(3600)
             ->one();
         if (!$record) {
-            \Yii::warning('Нет найдена запись для URL ' . $url);
+            \Yii::warning('Не найдена запись для URL ' . $url);
             return $url;
         }
         return $record->name;
index 162bf209bab8a83441b03677f6893cc7f434c0a3..7eb50f616b2204cf134074c299e31605ca687b65 100644 (file)
@@ -20,8 +20,6 @@ $this->params['breadcrumbs'][] = ['label' => 'Write Offs Erps', 'url' => ['index
 $this->params['breadcrumbs'][] = $this->title;
 \yii\web\YiiAsset::register($this);
 
-$this->registerCssFile('/css/lightbox.css');
-//$this->registerJsFile('/js/lightbox.js', ['position' => \yii\web\View::POS_END]);
 $this->registerCssFile('/css/write-offs-erp.css', ['position' => \yii\web\View::POS_HEAD]);
 ?>
 <style>