Farmers TR Report
{{-- Filter Form --}} {{-- Download PDF --}}{{ $label }} ({{ number_format($farmers->count(), 0) }} Records)
| {{ ucfirst(str_replace('_',' ', $field)) }} | @endforeach
|---|
| @if($field == 'group') {{ $farmer->group->group_name ?? 'N/A' }} @elseif($field == 'age') {{ $farmer->age ?? 'N/A' }} @elseif($field == 'd_o_b') {{ $farmer->d_o_b ? \Carbon\Carbon::parse($farmer->d_o_b)->format('d-M-Y') : 'N/A' }} @else {{ $farmer->$field ?? 'N/A' }} @endif | @endforeach
No data found for selected filters.
@endif