/**
  * @param integer $id
  * @param integer $userId
  */
 public function declineExpense($id, $userId)
 {
     $expense = $this->model->findOrFail($id);
     $expense->approved = false;
     $expense->declined = true;
     $expense->approved_by_user = $userId;
     $expense->save();
     $message = 'Your expense was declined';
     $notificationHash = $expense->id . '-expense_declined';
     Notification::logNew($expense->user_id, $message, 'expense_declined', $notificationHash);
     //This event currently doesn't do anything
     event(new ExpenseWasDeclined($expense));
 }
 /**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function show($id)
 {
     return \BB\Entities\Expense::findOrFail($id);
 }