@extends('layouts.app') @section('title', 'Arsip: ' . $monthName) @section('content')

Arsip: {{ $monthName }}

Dokumen untuk bulan {{ $monthName }}

Kembali
@if($category === 'tata_ibadah' && isset($tataIbadahSubcategories) && $tataIbadahSubcategories->count() > 0)
Semua @foreach($tataIbadahSubcategories as $sub) {{ $sub->name }} @endforeach
@endif
@if(isset($archives) && $archives->count() > 0)

Arsip Lainnya

@endif @if($documents->count() > 0)
@foreach($documents as $document)

{{ $document->title }}

{{ $document->category_label }} @if($document->subcategory) {{ $document->subcategory_label }} @endif
@if($document->document_date)
{{ $document->document_date->locale('id')->translatedFormat('d F Y') }}
@endif
@if($document->description)

{{ $document->description }}

@endif
{{ $document->views }} views {{ $document->downloads }} downloads {{ $document->formatted_file_size }}
@endforeach
{{ $documents->links() }}
@else

Belum ada dokumen

Tidak ada dokumen untuk bulan {{ $monthName }}.

@endif
@endsection