{{-- Show description if toggle is false --}}
@if(!$subsubmenubody->toggle)
{!! $subsubmenubody->description !!}
{{-- Show team templates if toggle is true --}}
@elseif($subsubmenubody->toggle)
| Photo |
Name |
Designation |
@foreach ($subsubmenubody->templates ?? [] as $team)
|
{{ $team['title'] }} |
{{ $team['designation'] }} |
@endforeach
@endif
{{-- Publications Section --}}
@if($subsubmenubody->publications_toggle)
| # |
Title |
Category |
Year |
Document |
@foreach($subsubmenubody->publications ?? [] as $index => $pub)
| {{ $index + 1 }} |
{{ $pub['title'] }} |
{{ $pub['category'] }} |
{{ $pub['published_year'] }} |
@if(!empty($pub['document']))
PDF
@else
No File
@endif
|
@endforeach
@endif