public function saveMultipleService($values) { $newMultipleService = new Act(); $newMultipleService->setDesignation($values['designation']); $newMultipleService->setShortenedDesignation($values['shortened_designation']); $newMultipleService->setComment($values['comment']); $newMultipleService->setQuantity($values['quantity']); $newMultipleService->setUnityId($values['unity_id']); $newMultipleService->setMonetaryAccount($values['monetary_account']); $newMultipleService->setActTypeId($values['act_type_id']); $newMultipleService->setDisabled(0); $newMultipleService->save(); ActTable::createActPrice($newMultipleService->id); }