LIVESTOCK INVENTORY LIST{{ $livestockInvLists->count() }}
@foreach($livestockInvLists as $livestockInvList)
@php $variety_count = DB::table('livestock_inventory_varieties')->where('livestock_inventory_list_id', '=', $livestockInvList->id)->get()->count();@endphp
{{$livestockInvList->inventory_name}}
0) class="badge gradient-yellow" @elseif($variety_count == 0) style="display:none;" @endif>{{$variety_count}}
@endforeach