<table class="table Crm_table_active3">
    <thead>
    <tr>
        <th>{{ __('common.ID') }}</th>
        <th>{{__('holiday.Year')}}</th>
        <th>{{__('common.Action')}}</th>
    </tr>
    </thead>
    <tbody>
    @foreach($years as $key=> $year)
        <tr>
            <td>{{$key+1}}</td>
            <td>{{$year->year}}</td>
            <td>
                <div class="dropdown CRM_dropdown">
                    <button class="btn btn-secondary dropdown-toggle" type="button"
                            id="dropdownMenu2" data-toggle="dropdown"
                            aria-haspopup="true"
                            aria-expanded="false">
                        {{ __('common.Select') }}
                    </button>
                    <div class="dropdown-menu dropdown-menu-right"
                         aria-labelledby="dropdownMenu2">
                        <a href="{{route('view.year.data',$year->id)}}"
                           class="dropdown-item edit_brand">{{__('common.View')}}</a>
                        <a href="{{route('year.data',$year->id)}}"
                           class="dropdown-item edit_brand">{{__('common.Edit')}}</a>
                        <a onclick="confirm_modal('{{route('holiday.delete', $year->year)}}');"
                           class="dropdown-item">{{__('common.Delete')}}</a>
                    </div>
                </div>
            </td>
        </tr>
    @endforeach
    </tbody>
</table>
