2016-06-14 11:59:50 +02:00
|
|
|
class PrevisualisationService
|
2018-03-20 17:47:37 +01:00
|
|
|
def self.delete_all_champs(dossier)
|
2017-08-29 12:20:28 +02:00
|
|
|
Champ.where(dossier_id: dossier.id, type_de_champ_id: dossier.procedure.types_de_champ.ids).delete_all
|
2016-06-14 11:59:50 +02:00
|
|
|
end
|
2017-04-04 15:27:04 +02:00
|
|
|
end
|