public function cancelBatchEstimate() { if (Auth::check()) { $inputs = Input::all(); $sendBatchId = Estimate::cancelBatchEstimate($inputs); if ($sendBatchId) { return Response::json(array('status' => "success", $sendBatchId)); } else { return Response::json(array('status' => "failure")); } } }