Merge pull request #990 from sgmap/fix_775
[Fix #775] Dans une attestation les champs doivent être affichés correctement
This commit is contained in:
commit
9002cb70fc
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,8 @@ class Champ < ActiveRecord::Base
|
|||
case type_champ
|
||||
when 'date'
|
||||
Date.parse(value).strftime('%d/%m/%Y')
|
||||
when 'multiple_drop_down_list'
|
||||
drop_down_list.selected_options_without_decorator(self).join(', ')
|
||||
else
|
||||
value.to_s
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue