@extends('theme::layout') @section('title', $bulletin->name) @section('content')
@if($bulletin->type === 'week' && $bulletin->week) Week {{ $bulletin->week }} — {{ $bulletin->year }} @elseif($bulletin->type === 'month' && $bulletin->month) {{ \Carbon\Carbon::create($bulletin->year, $bulletin->month)->format('F Y') }} @else {{ $bulletin->year }} @endif
{{-- Download / View button --}} @if($bulletin->path) @elseNo file attached to this bulletin.
@endif{{ $item->name }}
@if($item->type === 'week' && $item->week) Week {{ $item->week }}, {{ $item->year }} @elseif($item->type === 'month' && $item->month) {{ \Carbon\Carbon::create($item->year, $item->month)->format('F Y') }} @else {{ $item->year }} @endif