procedure.service.nom instead of organisation if service exists
This commit is contained in:
parent
e44a6ddeea
commit
df2b4408c2
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ module Users
|
|||
|
||||
if procedure&.close?
|
||||
flash.alert = procedure.service.presence ?
|
||||
t('errors.messages.procedure_archived.with_service_and_phone_email', service_name: procedure.organisation, service_phone_number: procedure.service.telephone, service_email: procedure.service.email) :
|
||||
t('errors.messages.procedure_archived.with_service_and_phone_email', service_name: procedure.service.nom, service_phone_number: procedure.service.telephone, service_email: procedure.service.email) :
|
||||
t('errors.messages.procedure_archived.with_organisation_only', organisation_name: procedure.organisation)
|
||||
else
|
||||
flash.alert = t('errors.messages.procedure_not_found')
|
||||
|
|
Loading…
Add table
Reference in a new issue