diff --git a/mirzaev/skillparts/system/controllers/ProfileController.php b/mirzaev/skillparts/system/controllers/ProfileController.php index 5eb89ac..73dbe76 100644 --- a/mirzaev/skillparts/system/controllers/ProfileController.php +++ b/mirzaev/skillparts/system/controllers/ProfileController.php @@ -140,7 +140,6 @@ class ProfileController extends Controller } // Инициализация - $delivery_from_terminal_list = $model->genListTerminalsFrom(); $delivery_to_terminal_list = $model->genListTerminalsTo(); $import_oem_list = $model->genListOem(Supply::searchByAccount(select: 'supply.onec["ЗначенияСвойств"]')); $array_unshift_in_start = function (array &$array, string|int $key, mixed $value) { @@ -161,12 +160,10 @@ class ProfileController extends Controller }; // Сортировка по алфавиту - asort($delivery_from_terminal_list); asort($delivery_to_terminal_list); asort($import_oem_list); // Перемещение в начало массива значения "Выберите" - $array_write_default_value($delivery_from_terminal_list); $array_write_default_value($delivery_to_terminal_list); $array_write_default_value($import_oem_list); @@ -179,7 +176,6 @@ class ProfileController extends Controller 'main' => $this->renderPartial('index', compact( 'model', 'sidebar', - 'delivery_from_terminal_list', 'delivery_to_terminal_list', 'import_oem_list', 'panel' @@ -192,7 +188,6 @@ class ProfileController extends Controller return $this->render('index', compact( 'model', 'sidebar', - 'delivery_from_terminal_list', 'delivery_to_terminal_list', 'import_oem_list', 'panel' diff --git a/mirzaev/skillparts/system/views/profile/index.php b/mirzaev/skillparts/system/views/profile/index.php index 5023bb2..76628b9 100644 --- a/mirzaev/skillparts/system/views/profile/index.php +++ b/mirzaev/skillparts/system/views/profile/index.php @@ -30,7 +30,6 @@ if ( user->isGuest) : ?> user->identity->agnt) : ?> - @@ -69,37 +68,6 @@ if ( user->identity->agnt) : ?> - /> -