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

@section('title', __('daylight::store.customer_groups'))

@section('content')
    <x-daylight::page-header :title=" __('daylight::store.customer_groups')">
        @can('update:customer-groups')
            <x-daylight::buttons.primary href="{{ route('daylight.store.customer-groups.create') }}" element="a">
                {{ __('daylight::store.create_new_customer_group') }}
            </x-daylight::buttons.primary>
        @endcan
    </x-daylight::page-header>

    <x-daylight::session-messages/>

    <livewire:daylight::customer-group-table />
@endsection
