<div>
{{-- Top Nav --}}
@include('livewire.promotion.top-nav.promotion')


<livewire:components.table 
    :columns="[
        ['label' => 'Title', 'field' => 'title'],
        ['label' => 'Type', 'field' => 'type'],
        ['label' => 'Start Date', 'field' => 'date_start'],
        ['label' => 'End Date', 'field' => 'date_end'],
        ['label' => 'Status', 'field' => 'status'],
    ]"
    :rows="$promotions" 
    :hasCheckbox="true"
    :hasActions="true"
    :isViewPage="false"
    :addRoute="route('promotion-create')" 
    :rowKey="'promotion_uuid'"
    />
</div>
