[fix #504] Dossier: closed -> accepte

This commit is contained in:
Simon Lehericey 2017-12-04 18:00:12 +01:00 committed by LeSim
parent 3dda27b281
commit a13256f73d
28 changed files with 78 additions and 58 deletions

View file

@ -10,4 +10,8 @@ namespace :'2017_12_04_translate_dossier_state_to_french' do
task en_instruction: :environment do
Dossier.unscoped.where(state: 'received').update_all(state: 'en_instruction')
end
task accepte: :environment do
Dossier.unscoped.where(state: 'closed').update_all(state: 'accepte')
end
end