@extends('layouts.app') @section('content')
@include('alerts.success') @include('alerts.errors') @include('alerts.error')
{{ $totalChurches }}
Total Churches
{{ $inauguratedChurches }}
Inaugurated Churches
{{ $underConstruction }}
Under Construction
{{ $finishingStage }}
Finishing Stage

Church Registrations

Add New Church
@foreach($churches as $index => $church) @endforeach
# Church Name Construction Stage Block Type Felt Type Gauge Building Area Pastor (if inaugurated) Inaugurated Actions
{{ $churches->firstItem() + $index }} {{ $church->church_name }} @switch($church->construction_stage) @case('foundation') Foundation @break @case('lenter') Lenter @break @case('plasta') Plasta @break @case('roofing') Roofing @break @case('finishing') Finishing @break @default {{ $church->construction_stage_display }} @endswitch {{ $church->block_type_display }} {{ $church->felt_type_display }} {{ $church->gauge }} {{ $church->building_area }} @if($church->is_inaugurated) {{ $church->pastor }} @else Not inaugurated @endif @if($church->is_inaugurated) Yes
{{ $church->formatted_inauguration_date }} @else No @endif
@csrf @method('DELETE')
{{ $churches->links() }}
@endsection