@extends('layouts.app', ['pageSlug' => 'customerList']) @section('content')
@include('admin.customer.report.report-partial')

Expiring Clients
@if (\Auth::check() && \Auth::user()->role && \Auth::user()->role->roleName->role == 'admin') @endif
@foreach($allusers as $user) @endforeach
#
Customer Expiry Approve Count Pending Count Status Unpaid Ext. Paid Date Old Expiry New Expiry Action
{{$user->username}} @if($user->check_status == "checked") @elseif($user->check_status == "attention") @elseif($user->check_status == "attention-blocked") @elseif($user->check_status == "attention-assist") @elseif($user->check_status == "checked-assist") @elseif($user->check_status == "checked-blocked") @elseif($user->check_status == "blocked-assist") @endif {{$user->expiration != null ? date('Y-m-d', strtotime($user->expiration)) : ''}} {{$user->approved}} {{$user->pending}} {{$user->status}} {{$user->unpaid_extention}} {{$user->paid_date != null ? date('Y-m-d', strtotime($user->paid_date)) : ''}} {{$user->oldexpiry != null ? date('Y-m-d', strtotime($user->oldexpiry)) : ''}} {{$user->newexpiry != null ? date('Y-m-d', strtotime($user->newexpiry)) : ''}} {{$user->check_status}}
@csrf
@endsection @push('head') @endpush @push('js') @endpush