fixed yes and no
This commit is contained in:
parent
6374deebf5
commit
2b7f8da7e4
|
@ -95,6 +95,8 @@ class TechnologyTransfer
|
|||
case field
|
||||
when "technology_transfer_category"
|
||||
value = self.technology_transfer_category.title rescue ""
|
||||
when "patent_granted"
|
||||
value = self.patent_granted ? I18n.t("personal_technology_transfer.y_es") : I18n.t("personal_technology_transfer.n_o")
|
||||
else
|
||||
value = self.send(field) rescue ""
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue