Report

Greetings,

Here is the report that was requested.

Report Details:

Date Range: @if(empty($fromDate) || empty($toDate)) All @else From {{ \Carbon\Carbon::parse($fromDate)->format('m/d/Y') }} to {{ \Carbon\Carbon::parse($toDate)->format('m/d/Y') }} @endif

State: {{ $selectedState === 'All' ? 'All' : $stateName }}

City: {{ $selectedCity === 'All' ? 'All' : $cityName }}

Status: @if($selectedStatus === '0') Active @elseif($selectedStatus === '1') Inactive @else All @endif

Salesperson(s): @if($salespersons->isEmpty()) No data found. @else @if(count($salespersons) === App\Models\SalesPerson::count()) All @else @foreach($salespersons as $index => $salesperson) {{ $salesperson->first_name }} {{ $salesperson->last_name }}{{ $index != $salespersons->count() - 1 ? ',' : '' }} @endforeach @endif @endif

Please find the attachment.


Thank you,

FundMeSmart Team.