@extends('layouts.admin') @section('title', 'Countries Management') @section('content')
@include('partials.admin.alerts')

Countries

Add New
@foreach($countries as $country) @endforeach
Code Country Name Region Status Duty Overrides Actions
{{ $country->code }} {{ $country->name }} @if($country->region) {{ $country->region }} @else - @endif @if($country->active) Active @else Inactive @endif {{ $country->dutyOverrides()->count() }} override(s) @include('partials.admin.tables.action-buttons', [ 'viewUrl' => route('admin.countries.show', $country->id), 'editUrl' => route('admin.countries.edit', $country->id), 'deleteUrl' => route('admin.countries.destroy', $country->id) ])
@if($countries->hasPages())
{{ $countries->links() }}
@endif
@endsection