@extends('admin.layouts.app') @section('main_content')

{{ translate($title) }}

@if(request()->routeIs("admin.shipping.city.edit")) {{ translate('Update City') }} @else {{ translate('Add City') }} @endif
@if(request()->routeIs("admin.shipping.city.edit")) @endif
@php $route = route('admin.shipping.city.store'); if(request()->routeIs("admin.shipping.city.edit")){ $updateableCity = $cities->where("id",request()->route('id'))->first(); $route = route('admin.shipping.city.update'); } @endphp
@csrf @if(request()->routeIs("admin.shipping.city.edit")) @endif
name : old('name') }}" type="text" class="form-control" id="name" name="name" placeholder="{{ translate('Enter name') }}" required>
@if(!request()->routeIs("admin.shipping.city.edit"))
@endif
shipping_fee : old('shipping_fee') }}" type="number" class="form-control" id="shipping_fee" name="shipping_fee" placeholder="{{ translate('Enter name') }}" required>
{{ translate('City List') }}
@forelse ($cities as $city) @empty @endforelse
# {{ translate('Name') }} {{ translate('Shipping Fee') }} {{ translate('State') }} {{ translate('Country') }} {{ translate('Visible/Hidden') }} {{ translate('Action') }}
{{ $loop->iteration }} {{ $city->name }} {{round(($city->shipping_fee))}} {{default_currency()->name}} {{ $city->state->name }} {{ $city->state->country->name }}
status == '1' ? 'checked' : '' }} id="status-switch-{{ $city->id }}">
@if (permission_check('manage_cities')) @endif
@include('admin.partials.not_found')
{{ $cities->links() }}
@include('admin.modal.delete_modal') @endsection @push('script-push') @endpush