Changes for page homeopathsSheet

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

From version 3.30
edited by Jip-jan Alunkel
on March 09, 02:22
Change comment: Rollback to version 1.38
To version 3.28
edited by Jip-jan Alunkel
on March 09, 01:55
Change comment: Rollback to version 1.38

Summary

Details

Page properties
Content
... ... @@ -130,7 +130,7 @@
130 130   #set($extraAttributes = $item.extraAttributes)
131 131   #set($label = $services.localization.render("homeopaths.classproperty.${propertyName}"))
132 132   #if($propertyType == "checkbox" || $propertyType == "radio")
133 - #set($value = "")
133 + #set($value = "yes")
134 134   #elseif($theDocObj.getProperty($propertyName) || $propertyType == "address") ## 'address' is not a property in the current class
135 135   #set($value = $theDocObj.getProperty($propertyName).value)
136 136   #end
... ... @@ -138,6 +138,9 @@
138 138   #set($value = "")
139 139   #end
140 140   #if($item.containsKey("classless"))
141 + #if($propertyType == "checkbox")
142 + #set($value = "1")
143 + #end
141 141   #set($newElem = {
142 142   "id" : "$propertyName",
143 143   "type" : $propertyType,