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

{{ translate($title) }}

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