Changes for page homeopathsSheet

Last modified by Jip-jan Alunkel on March 26, 17:31

From version 1.145
edited by Jip-jan Alunkel
on March 08, 18:49
Change comment: There is no comment for this version
To version 1.143
edited by Jip-jan Alunkel
on March 08, 18:45
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -97,12 +97,8 @@
97 97   #set($label = $services.localization.render("homeopaths.classproperty.${key}"))
98 98   #if($theDocObj.getProperty($key) || $propertyType == "address")
99 99   #set($value = $theDocObj.getProperty($key).value)
100 - #if(!$value)
101 - #if($propertyType == "checkbox" || $propertyType == "radio")
102 - #set($value = "1")
103 - #else
104 - #set($value = "")
105 - #end
100 + #if(($propertyType == "checkbox" || $propertyType == "radio") && !$value)
101 + #set($value = "yes")
106 106   #end
107 107   #set($newElem = {
108 108   "id" : "$key",