@extends('layouts.page') @section('title') Locations {{ $parent->state->name }} @if ($parent->level >=3) {{ $parent->district->name }} @endif @if ($parent->level >=4) {{ $parent->mandal->name }} @endif @endsection @section('navs') @if ($parent->level == 3 || $parent->level ==4) View Map Imp @endif Back Add New @endsection @section('content') @foreach($locations as $k => $location) @endforeach
{{ $location->label('name') }} {{ $location->label('code') }} {{ $location->label('level') }} {{ $location->label('parent_id') }} {{ $location->label('reached_percentage') }} {{ $location->label('reached_places') }} {{ $location->label('total_places') }} {{ $location->label('map_id') }} {{ $location->label('latitude') }} {{ $location->label('longitude') }} {{ $location->label('population') }}
{{ $location->name }} {{ $location->code }} {{ $location->level }} {{ $location->parent ? $location->parent->name : '' }} {{ $location->reached_percentage }} {{ $location->reached_places }} {{ $location->total_places }} {{ $location->map_id }} {{ $location->latitude }} {{ $location->longitude }} {{ $location->population }}
@endsection