@include('alerts.success')
@include('alerts.errors')
@include('alerts.error')
| # |
Street Name |
Latitude |
Longitude |
Plot Size |
Building Area |
Construction Stage |
Cost |
Actions |
@foreach($houses as $index => $house)
| {{ $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 }} |
|
@endforeach
{{ $houses->links() }}
@endsection