@extends('layouts.app') @section('content')
@include('alerts.success') @include('alerts.errors') @include('alerts.error')

Pastors Houses Records

Add New House
@foreach($houses as $index => $house) @endforeach
# Street Name Latitude Longitude Plot Size Building Area Construction Stage Cost Actions
{{ $houses->firstItem() + $index }} {{ $house->name_of_street }} {{ $house->latitude }} {{ $house->longitude }} {{ $house->size_of_plot }} {{ $house->building_area ?: 'Not specified' }} @switch($house->construction_stage) @case('foundation') Foundation @break @case('lenter') Lenter @break @case('roof') Roof @break @case('finishing') Finishing @break @default {{ $house->construction_stage_display }} @endswitch {{ $house->formatted_cost }}
@csrf @method('DELETE')
{{ $houses->links() }}
@endsection