/**
  * Save Contract Comment
  * @param         $contract_id
  * @param Request $request
  * @param Guard   $auth
  * @return Response
  */
 public function contractComment($contract_id, Request $request, Guard $auth)
 {
     $status = $request->get('status');
     if (!$auth->user()->can(sprintf('%s-%s', config('nrgi.permission')[$status], $request->get('type')))) {
         return back()->withError('Permission denied.');
     }
     if ($this->contract->updateStatusWithComment($contract_id, $status, $request->input('message'), $request->input('type'))) {
         return back()->withSuccess(trans('contract.status_update'));
     }
     return back()->withError(trans('contract.invalid_status'));
 }