expanded() ->where('transaction_journals.user_id', Auth::user()->id) ->get(TransactionJournal::QUERYFIELDS); if ($object->count() > 0) { return $object; } } throw new NotFoundHttpException; } }