@extends('layouts.website') @section('page_title', 'Shareholder documents | Grindrod Limited') @section('metaDescription', "Our ambition is to find the perfect logistics solution for our customers across a multitude of industries including mining, agricultural, new energy commodities and project cargo.") @section('content') @foreach($page_sections as $page_section) {!! $page_section->section_content !!} @if($page_section->content_type == 'embeded video')
@endif @if($page_section->content_type == "csi_slider")
@endif @if( $page_section->id == 45)
@foreach($documents as $doc_type => $documents_arr)
@if($doc_type == 'latest_results')

LATEST RESULTS REPORTS

@foreach($documents_arr as $key => $latest) {{-- dd($latest) --}}
{{ $latest->DocumentName }}
@php $lrDate = $latest->created_at ?? $latest->DocumentDate; @endphp
Published on {{ date('d M Y', strtotime($lrDate)) }}
@endforeach
@else

{{ $doc_type_diplay_value }}

@foreach($documents_arr as $frdYear => $frDocs)
@foreach($frDocs as $finalDoc)
{{ $finalDoc->DocumentName }}
@php $frDate = $finalDoc->created_at ?? $finalDoc->DocumentDate; @endphp
Published on {{ date('d M Y', strtotime($frDate)) }}
@endforeach
@endforeach
@endif
@endforeach
@endif @if(count($page_section->tabs))