private function saveInInstantTable() { try { $input = Input::all(); $instantTable = new Instant(); $instant['user_id'] = Auth::user()->id; $instant['branch_id'] = Auth::user()->roles()->first()->branch->id; $instant['comments'] = $input['comments']; $instantTable->create($instant); } catch (Exception $e) { die('No se pudo guardar el registro en entregas inmediatas.'); } }