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

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

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

    <x-daylight::session-messages />

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