@extends('layouts.app') @section('title', 'Warta dan Tata Ibadah') @section('content')

Warta dan Tata Ibadah

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

Menampilkan dokumen untuk: {{ \Carbon\Carbon::create($year, $month, 1)->locale('id')->translatedFormat('F Y') }}

@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

Dokumen akan muncul di sini setelah diupload oleh administrator.

@endif @if(isset($archives) && $archives->count() > 0)

Arsip Per Bulan

@endif
@endsection