@extends('backend.layouts.app') @section('content') @include('backend.customer.search')

{{$page_title}} LIST

@php $i= 1; @endphp @forelse ($list as $key=> $data) @empty @endforelse
# Info Adress Added By Registration Payment Status Active / Inactive Action
{{($key+1) + ($list->currentPage() - 1)*$list->perPage()}}
User Photo
Samuh Id: {{$data->user->user_id}}
Name: {{$data->name}}
Phone: {{$data->phone}}
Alternate Number: {{$data->alternate_mobile_number}}
Father / Husband: {{$data->father_husband}}
Aadhar Number: {{$data->aadhar_number}}
{{$data->village->name}}, {{$data->village->gramPanchayat->name}}, {{$data->village->block->name}}
{{$data->village->district->name}}, {{$data->village->state->name}}
Name: {{$data->addedBy?$data->addedBy->name:"--"}}
Phone: {{$data->addedBy?$data->addedBy->phone:"--"}}
Father/Husband: {{$data->addedBy?$data->addedBy->father_husband:"--"}}
User ID: {{$data->addedBy?$data->addedBy->user_id :"--"}}
Address: {{$data->addedBy?$data->addedBy->village?->name :"--"}}
@if($data->registration_payment_status == '1') Success @else Pending @endif
₹ 150
@if($data->user->is_active == 'Active') Active @else Deactivate @endif {{-- --}}

Opps!! There Are No Data Found..
{!! $list->appends(['search'=>$search,'searchVillage'=>$searchVillage,'added_by'=>$added_by])->links() !!}
@endsection