@extends('layouts.page') @section('title') Locations
{{ $locations->total() }}
@endsection @section('nav-all') @if(Auth::user()->hasAnyRole(['admin'])) Report @endif @include ('search', ['model' => $location]) @endsection @section('content')
@if(Auth::user()->hasAnyRole(['admin'])) @endif @foreach ($locations as $location) @if(Auth::user()->hasAnyRole(['admin'])) @endif @endforeach
Village Mandal District State Zone
{{ $location->name}} {{ $location->mandal->name}} {{ $location->district->name}} {{ $location->state->name}} {{ $location->zone}}
{{ $locations->appends(Input::except('page'))->links() }}
@endsection