@php $bookings = App\Models\Booking::where(['status' => 'pending', 'reminder' => 1])->orderBy('id', 'desc')->get(); $finishedBookings = App\Models\Booking::with('partner')->where(['status' => 'finished', 'payment_reminder' => 1])->orderBy('id', 'desc')->get(); @endphp