@php
    $breadcrumbs = [
        ['label' => __('common.home'), 'url' => route('dashboard.index')],
        ['label' => __('common.hr')],
        ['label' => __('overtime.title'), 'url' => route('hr.overtime.index')],
        ['label' => __('overtime.rates.title'), 'url' => route('hr.overtime.rates.index')],
        ['label' => __('overtime.rates.create_title')],
    ];
@endphp

<x-ui.layout.page
    :title="__('overtime.rates.create_title')"
    page-icon="fe fe-plus"
    :breadcrumbs="$breadcrumbs"
>
    <x-slot:actions>
        <x-ui.buttons.secondary :href="route('hr.overtime.rates.index')" icon="fe fe-arrow-left">
            {{ __('overtime.rates.actions.back') }}
        </x-ui.buttons.secondary>
    </x-slot:actions>

    @include('pages.hr.overtime.rates._form', [
        'action' => route('hr.overtime.rates.store'),
        'method' => 'POST',
        'policy' => null,
        'submitLabel' => __('overtime.rates.actions.save'),
    ])
</x-ui.layout.page>
