@extends('layouts.master') @section('title', 'Edit City') @section('pageCSS') @endSection @section('content') @if(Session::has('success')) {{ Session::get('success') }} @endif @csrf City Details State @if($states) @foreach($states as $state) id == $city->state ? 'selected="selected"' : '' }}>{{ $state->state_name }} @endforeach @endif City Name Enable/Disable status == 'enable' ? 'checked' : '' }} > @if(Session::has('addLocationSuccess')) {{ Session::get('addLocationSuccess') }} @endif @if(isset($location)) @csrf Update Location Location Name Post Code Price $ @else @csrf Add Location Location Name Post Code Price $ @endif @if(Session::has('locationSuccess')) {{ Session::get('locationSuccess') }} @endif @csrf Update Locations Status @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