@extends('layouts.admin') @php $pageLimit = $searchData['pageLimit']; $account_status = $searchData['account_status']; $search_value = $searchData['search_value']; $payment_status = $searchData['payment_status']; $client_type = $searchData['client_type']; @endphp @section('content')

Client List

@if(isShowContent('client.create')) Add Client @endif
@if(isShowContent('admin.ajax.process')) @endif
@if(!empty($users['data'])) @foreach ($users['data'] as $key => $obj) @php $user_info = json_encode([$obj->id,$obj->email]); $action = 'DELETE_CLIENT'; @endphp @endforeach @endif
Client Name Email Phone Address Account Status Payment Status Account Cancel Date Created At Actions
{{$obj->first_name.' '.$obj->last_name}} {{ $obj->email}} {{ $obj->phone }} {{ $obj->street_no.', '.$obj->street_name.', '.$obj->city }} @php echo getAccountStatus($obj->subscription_status,$obj->status) @endphp @php echo getPaymentStatus($obj->last_payment_date) @endphp {{ ($obj->account_cancel_datetime !=null)? getStringToDateTime($obj->account_cancel_datetime,'m/d/Y h:i:s a'):'' }} {{ getStringToDateTime($obj->created_at,'m/d/Y h:i:s a') }} @if(isShowContent('get.client.info')) @endif @if(isShowContent('admin.ajax.process')) @endif
{{ $users['data']->appends(compact('pageLimit' ,'account_status','payment_status', 'search_value','client_type')) ->links('basic.pagination') }}
@endsection @push('script') @endpush