@php $pciCcNatureOptions = ['Consultant', 'Contractor']; @endphp {{-- Step 8: Consultant / Contractor Information --}}
@if($pciIiiAEdit)
@endif
@if($pciIiiAEdit)@endif @forelse($pciIiiAConsultantRows as $ci => $cRow) @php $pciCcAward = $cRow['work_award_date'] ?? ''; if ($pciCcAward !== '' && $pciCcAward !== null && ! preg_match('/^\d{4}-\d{2}-\d{2}$/', (string) $pciCcAward)) { try { $pciCcAward = \Illuminate\Support\Carbon::parse($pciCcAward)->format('Y-m-d'); } catch (\Throwable $e) { $pciCcAward = ''; } } @endphp @if(!empty($cRow['type'])) @endif @if($pciIiiAEdit) @endif @empty @endforelse
Name Nature Work Award Date RemarksAction
{{ $cRow['name'] ?? '' }} @if(!empty($cRow['nature'])) {{ $cRow['nature'] }} @endif {{ $pciCcAward }} {{ $cRow['remarks'] ?? '' }}
No consultant / contractor on file.