AUK ready
This commit is contained in:
19
resources/views/auks/tableChild.blade.php
Normal file
19
resources/views/auks/tableChild.blade.php
Normal 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
|
||||
Reference in New Issue
Block a user