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

@section('title', __('Customers'))

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

    <x-daylight::session-messages />

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