Male Voters: {{ $maleCount }} Female Voters: {{ $femaleCount }} Total Entries of this user: {{ $maleCount + $femaleCount }}

@foreach($voters as $voter) @endforeach
# Silsila Number Gharana Number Name Father's Name CNIC Age Block Code Ward No Address Gender Actions
{{ $loop->iteration }} {{ $voter->silsila_number }} {{ $voter->gharana_number }} {{ $voter->name }} {{ $voter->father_name }} {{ (strpos($voter->cnic, '-') !== false || strpos($voter->cnic, '–') !== false) ? str_replace(['-', '–'], '', $voter->cnic) : $voter->cnic }} {{ $voter->age }} {{ $voter->block_code }} {{ $voter->ward_no }} {{ $voter->address }} {{ $voter->gender }} Edit View
@csrf @method('DELETE')