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

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

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

    <x-daylight::session-messages/>

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