@include('alerts.success')
@include('alerts.errors')
@include('alerts.error')
{{ $totalChurches }}
Total Churches
{{ $inauguratedChurches }}
Inaugurated Churches
{{ $underConstruction }}
Under Construction
{{ $finishingStage }}
Finishing Stage
| # |
Church Name |
Construction Stage |
Block Type |
Felt Type |
Gauge |
Building Area |
Pastor (if inaugurated) |
Inaugurated |
Actions |
@foreach($churches as $index => $church)
| {{ $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
|
|
@endforeach
{{ $churches->links() }}
@endsection