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,19 @@
@foreach ($childs as $child)
<tr>
<td class="p-2 border border-gray-200">
{{ str_pad('', $level, '-') . ' ' . $child->name }}
</td>
<td class="p-2 border border-gray-200">
{{ $child->number }}
</td>
<td class="p-2 border border-gray-200">
@include('auks.actions', ['auk' => $child])
</td>
</tr>
@if (count($child->childs))
@include('auks.tableChild', [
'childs' => $child->childs,
'level' => $level + 1,
])
@endif
@endforeach