Update AUK edit

This commit is contained in:
Александр Бабкин
2022-07-13 08:46:26 +03:00
parent fa2df0f944
commit 12e0611c4c
7 changed files with 127 additions and 176 deletions

View File

@@ -1,8 +1,10 @@
@foreach ($childs as $child)
@if ($parent_id == $child->id)
<option value="{{ $child->id }}" selected>{{ str_pad('', $level, '-') . ' ' . $child->name }}</option>
<option value="{{ $child->id }}" selected>{{ str_pad('', $level, '-') }} {{ $child->auk_name }}
({{ $child->auk_path }})</option>
@else
<option value="{{ $child->id }}">{{ str_pad('', $level, '-') . ' ' . $child->name }}</option>
<option value="{{ $child->id }}">{{ str_pad('', $level, '-') }} {{ $child->auk_name }}
({{ $child->auk_path }})</option>
@endif
@if (count($child->childs))
@include('auks.optionChildSelected', [