File: D:/HostingSpaces/SBogers95/rentman.io/resources/views/site/components/modalTable.blade.php
<tbody class="o-modal__tbody">
{{--<tr>--}}
{{-- <td colspan="4">--}}
{{-- <div class="o-modal__table-subheader">--}}
{{-- <span>Subheader demo tekst 1</span>--}}
{{-- <div>--}}
{{-- @include('site.components.textButtonLink', [--}}
{{-- 'modifiers' => ['icon','x-small'],--}}
{{-- 'textButtonLink' => '#todo[linkToProduct]',--}}
{{-- 'textButtonText' => __('site/global.menu.productsCta'),--}}
{{-- 'textButtonTitle' => __('site/global.menu.productsCta'),--}}
{{-- ])--}}
{{-- </div>--}}
{{-- </div>--}}
{{-- </td>--}}
{{--</tr>--}}
{{--@for($i=1;$i<5;$i++)--}}
{{-- <tr>--}}
{{-- <td class="o-modal__tbody-cell">--}}
{{-- <div class="o-modal__label-column">Label</div>--}}
{{-- </td>--}}
{{-- @foreach($packages as $package)--}}
{{-- <td class="o-modal__tbody-cell">--}}
{{-- <div class="o-modal__feature-icon"></div>--}}
{{-- </td>--}}
{{-- @endforeach--}}
{{-- </tr>--}}
{{--@endfor--}}
@if(!empty($modelRows))
@foreach($modelRows[0] as $index => $arrayRow)
@if($arrayRow[2] === '1')
<tr>
<td colspan="4">
<div class="o-modal__table-subheader">
<span>{{ $arrayRow[0] }}</span>
</div>
</td>
</tr>
@else
@if(isset($arrayRow[0]) && !empty($arrayRow[0]))
<tr>
<td class="o-modal__tbody-cell">
<div class="o-modal__label-column">{{ $arrayRow[0] }}
{{-- if tooltip and not first, show tooltip modal above icon --}}
@if($arrayRow[1] !== '' && $index != 0)
<span data-tooltip="{{$arrayRow[1]}}" class="c-tooltip c-tooltip--dark-pop-up c-tooltip--modal"></span>
{{-- if first show tooltip below --}}
@elseif($arrayRow[1] !== '' && $index == 0)
<span data-tooltip="{{$arrayRow[1]}}" class="c-tooltip c-tooltip--dark-pop-up c-tooltip--modal c-tooltip--modal--bottom"></span>
@endif
</div>
</td>
@for($i = 0; $i <= count($modelRows); $i++)
@if(isset($modelRows[$i][$index]))
<td class="o-modal__tbody-cell">
<div class="o-modal__feature-icon @if($modelRows[$i][$index][3] === '0') is-excluded @endif"></div>
</td>
@endif
@endfor
</tr>
@endif
@endif
@endforeach
@endif
</tbody>