AUK ready

This commit is contained in:
Александр Бабкин
2022-07-04 16:04:58 +03:00
parent 621b1fd677
commit 240351d832
15 changed files with 458 additions and 14 deletions

View File

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