예제 #1
0
 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"));
         }
     }
 }