-
@php
$staffVoices = collect([$company['companyProfile']->text1, $company['companyProfile']->text2, $company['companyProfile']->text3, $company['companyProfile']->text4])->filter();
$cacheBusting = $company['companyProfile']->updated_at->format('YmdHis');
@endphp
@foreach ($staffVoices as $staffVoice)
- @if (!empty($company['companyProfile']->{"staff_voice_image_path{$loop->iteration}"}))@endif
iteration}"} . "?{$cacheBusting}" }}" alt="" class="coverimg" loading="lazy">
@if (!empty($company['companyProfile']->{"post{$loop->iteration}"})){{ $company['companyProfile']->{"post{$loop->iteration}"} }}
@endif @if (!empty($company['companyProfile']->{"staff_voice_years{$loop->iteration}"})){{ $company['companyProfile']->{"staff_voice_years{$loop->iteration}"} }}
@endif@if (!empty($company['companyProfile']->{"staff_voice_copy{$loop->iteration}"})){{ $company['companyProfile']->{"staff_voice_copy{$loop->iteration}"} }}
@endif{!! nl2br(e($staffVoice)) !!}
@endforeach