/** * Display a listing of the resource. * * @return Response */ public function index() { $transaction = Transaction::getTransaction(); return view('transactions.index', compact('transaction')); }