@extends('daylight::layouts.app')

@section('title', __('daylight::settings.shipping_zones'))

@section('content')
    <x-daylight::page-header :title="__('daylight::settings.shipping_zones')">
        @can('update:advanced-settings')
            <x-daylight::buttons.primary href="{{ route('daylight.settings.shipping-zones.create') }}" element="a">
                {{ __('daylight::settings.create_new_shipping_zone') }}
            </x-daylight::buttons.primary>
        @endcan
    </x-daylight::page-header>

    <x-daylight::session-messages/>

    <livewire:daylight::shipping-zone-table />
@endsection
