@foreach($show_columns as $column) @endforeach @foreach($data as $entity) @foreach($show_columns as $column) @if($column == 'users') @elseif($column == 'for_all') @elseif($column == 'type') @else @endif @endforeach @endforeach
{{ __('general.report_vacation_days.'.$column) }}
@foreach(data_get($entity, $column) as $user) {{ $user['name'] . ($loop->last ? '' : ', ') }} @endforeach {{ data_get($entity, $column) ? __('general.yes') : __('general.no') }}{{ __('general.report_vacation_days.types_option.'.data_get($entity, $column)) }}{{ data_get($entity, $column) }}