Files
mmc_info/resources/views/auks/optionChild.blade.php
Александр Бабкин 12e0611c4c Update AUK edit
2022-07-13 08:46:26 +03:00

11 lines
344 B
PHP

@foreach ($childs as $child)
<option value="{{ $child->id }}">{{ str_pad('', $level, '-') . ' ' . $child->auk_name }}
({{ $child->auk_path }})</option>
@if (count($child->childs))
@include('auks.optionChild', [
'childs' => $child->childs,
'level' => $level + 1,
])
@endif
@endforeach