@extends('layouts.master') @section('title', 'Edit City') @section('content')
@if(Session::has('success'))
{{ Session::get('success') }}
@endif
@csrf
City Details
status == 'enable' ? 'checked' : '' }} >
@if(Session::has('addLocationSuccess'))
{{ Session::get('addLocationSuccess') }}
@endif
@if(isset($location))
@csrf
Update Location
$
@else
@csrf
Add Location
$
@endif
@if(Session::has('locationSuccess'))
{{ Session::get('locationSuccess') }}
@endif
@csrf
@if($locations && count($locations) > 0) @foreach($locations as $location)
status == 'enable' ? 'checked' : '' }} > {{ $location->zip }} {{ $location->location }}
@endforeach @else
No Location added. please add location
@endif
@endsection @section('pageJS') @endsection