Continue MMC

This commit is contained in:
Александр Бабкин
2022-07-14 11:01:44 +03:00
parent 30950a120e
commit 97bacd4423
10 changed files with 158 additions and 24 deletions

View File

@@ -0,0 +1,13 @@
@foreach ($childs as $child)
<tr class="p-2 border border-gray-200 text-center">
<td>
{{ str_pad('', $level, '-') . ' ' . $child->auk_name }}
</td>
</tr>
@if (count($child->childs))
@include('mmc.tableAukChild', [
'childs' => $top_auk->childs,
'level' => $level + 1,
])
@endif
@endforeach