@if(session('success')){{ session('success') }}
@endif
@if($page->body){!! $page->body !!}
@endif
@if($governanceSections->isNotEmpty())
@foreach($governanceSections as $governanceSection)
Governance & integrity{{ $governanceSection->title }}
@if($governanceSection->summary)
{{ $governanceSection->summary }}
@endif @if($governanceSection->body)
{!! $governanceSection->body !!}
@endif
@if($governanceSection->people->isNotEmpty())@foreach($governanceSection->people as $person)
@if($person->photo)
 }})
@else
 }})
@endif
{{ $person->name }}
{{ $person->designation }}@if($person->division)
{{ $person->division }}@endif
@if($person->term_start || $person->term_end)
Term of office{{ $person->term_start?->format('d M Y') ?: 'Not recorded' }} – {{ $person->term_end?->format('d M Y') ?: 'Present' }}
@endif @if($person->biography)
{{ $person->biography }}
@endif
@endforeach
@endif
@endforeach
@endif
@if($documents->isNotEmpty())
@if($page->slug === 'operations/blacklisting-process')
@php($procedure = $documents->first())
@include('pages.partials.document-card', ['document' => $procedure])
@if($documents->count() > 1)
Blacklisted sugar mills and orders
{{ $documents->count() - 1 }} official orders
@foreach($documents->skip(1) as $document)
@include('pages.partials.document-card', ['document' => $document])
@endforeach
@endif
@else
@foreach($documents as $document)
@include('pages.partials.document-card', ['document' => $document])
@endforeach
@endif
@endif
@if($people->isNotEmpty()) in_array($page->template, ['people', 'profile'], true)])>@foreach($people as $person)
@if($person->photo)
 }})
@else
 }})
@endif
{{ $person->name }}
{{ $person->designation }}@if($person->division)
{{ $person->division }}@endif
@if($person->term_start || $person->term_end)
Term of office{{ $person->term_start?->format('d M Y') ?: 'Not recorded' }} – {{ $person->term_end?->format('d M Y') ?: 'Present' }}
@endif @if($person->biography)
{{ $person->biography }}
@endif @if($person->phone)
Phone
{{ $person->phone }}
@endif @if($person->email)
{{ $person->email }}@endif
@endforeach
@endif
@if($offices->isNotEmpty())@foreach($offices as $office)
{{ str($office->office_type)->title() }}{{ $office->name }}
{{ $office->address }}
@if($office->phone)Phone
{{ $office->phone }}
@endif @if($office->email){{ $office->email }}@endif@endforeach
@endif
@if($portals->isNotEmpty())@endif
@if($albums->isNotEmpty())@foreach($albums as $album)
@if($album->items->first())
@endif{{ $album->event_date?->format('d M Y') }}{{ $album->title }}
{{ $album->description }}
{{ $album->items->count() }} {{ \Illuminate\Support\Str::plural('image', $album->items->count()) }} @endforeach
@endif
@if(in_array($page->template, ['contact','inquiry']))
@endif