@extends('layouts.admin.master') @section('title', 'Location') @section('content')
Location
{{-- --}}
@if (count($cities) != 0) @php $count = 1; @endphp @foreach ($cities as $city) @if ($city['is_discontinued'] == 0) @elseif ($city['is_discontinued'] == 1) @endif @php $count++; @endphp @endforeach @endif
No City Name Discontinued Edit Delete
{{ $count }} {{ $city['city_name'] }}
@if (count($townships) != 0) @php $count = 1; @endphp @foreach ($townships as $township) @if ($township['township_is_discontinued'] == 0) @elseif ($township['township_is_discontinued'] == 1) @endif @php $count++; @endphp @endforeach @endif
No Township Name City Name Discontinued Edit Delete
{{ $count }} {{ $township['township_name'] }} {{ $township['city_name'] }}
@endsection