@extends('adminlayout.mobile_sidebar') @section('content')
Search
@csrf
@if(isset($from)) @else @endif @if ($errors->has('search')){{ $errors->first('search') }}@endif
@if(isset($to)) @else @endif @if ($errors->has('search')){{ $errors->first('search') }}@endif
@if ($errors->has('search')){{ $errors->first('search') }}@endif

@php $i=1; @endphp @foreach($data as $single_data) @endforeach
S.no User Id Name Email Phone Type Ctrated At Action View Commission
{{$i++}} {{ $single_data->user_id }} {{ $single_data->name }} {{ $single_data->email }} {{ $single_data->phone }} {{ GET_ACCOUNT_TYPE($single_data->type) }} {{ $single_data->created_at }} @if($single_data->status == 3) Rejected @elseif($single_data->status == 1 ) Approved @endif @if($single_data->status == 0) @endif @if($single_data->status != 3) View @else No Commission @endif
@endsection