public function transactionsFailed() { $subtitle = "Showing Failed Transactions"; $transactions = Transaction::Failed()->orderBy('created_at', 'desc')->get(); return view('transactions.admin', compact('transactions', 'subtitle')); }