<div class="text-center">
    <h5 class="font-size-16 me-3">Open Unbreed Report</h5>
</div>
<table class="table table-bordered dt-responsive nowrap w-100">
    <thead>
        <tr>
            <th scope="col">No</th>
            <th scope="col">Tag ID</th>
            <th scope="col" >Age</th>
        </tr>
    </thead>
    <tbody>
        @forelse ($open_unbred_employees as $key=>$item)
            <tr>
                <td>{{$key+1}}</td>
                <td>{{$item->tag->uid}}</td>
                <td>{{($item->birth_date) ? \Carbon\Carbon::parse($item->birth_date)->diff(\Carbon\Carbon::now())->format('%y Y, %m M, %d D') : 'N/A'}}</td>
            </tr>
        @empty
            <tr>
                <td colspan="5" class="text-center">No Employees Found</td>
            </tr>
        @endforelse
    </tbody>
</table>
