@php $unpaid_incoming = \App\Models\Incoming::where('pay_date', '=', null)->orderBy('due_date')->get(); @endphp @if($unpaid_incoming->count() === 0)