Changes for page homeopathsSheet
Last modified by Jip-jan Alunkel on March 26, 17:31
From version 1.82
edited by Jip-jan Alunkel
on March 08, 14:32
on March 08, 14:32
Change comment:
There is no comment for this version
To version 1.78
edited by Jip-jan Alunkel
on March 08, 14:22
on March 08, 14:22
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -34,27 +34,23 @@ 34 34 <h2>Details</h2> 35 35 ## The classProperties Map has to be in the order of how you want the form elements to appear in the form. 36 36 #set($classProperties = [ 37 - {'practiceName': {'type': 'text'}}, 38 - {'pmStreet': {'type': 'text'}}, 39 - {'pmHousenumber': {'type': 'text', 'parent': 'certification'}}, 40 - {'pmPostcode': {'type': 'text'}}, 41 - {'pmCity': {'type': 'text'}}, 42 - {'pmCounty': {'type': 'text', 'parent': 'certification'}}, 43 - {'pmState': {'type': 'text'}}, 44 - {'pmCountry': {'type': 'text'}}, 37 + {'practiceName': {'type': 'text', 'opener': 0}}, 38 + {'pmStreet': {'type': 'text', 'opener': 0}}, 39 + {'pmHousenumber': {'type': 'text', 'opener': 0, 'parent': 'certification'}}, 40 + {'pmPostcode': {'type': 'text', 'opener': 0}}, 41 + {'pmCity': {'type': 'text', 'opener': 0}}, 42 + {'pmCounty': {'type': 'text', 'opener': 0, 'parent': 'certification'}}, 43 + {'pmState': {'type': 'text', 'opener': 0}}, 44 + {'pmCountry': {'type': 'text', 'opener': 0}}, 45 45 {'certification': {'type': 'checkbox', 'opener': 1}}, 46 - {'certificationFrom': {'type': 'text', 'parent': 'certification'}} 46 + {'certificationFrom': {'type': 'text', 'opener': 0, 'parent': 'certification'}} 47 47 ]) 48 48 #foreach($property in $classProperties) 49 - #foreach($item in $property.values()) 50 - #set($propertyType = $item.type) 51 - #set($propertyOpener = $item.opener) 52 - #set($propertyParent = $item.parent) 49 + #foreach($item in $property.keySet()) 50 + $item 53 53 #end 54 -$propertyType 55 -#if($propertyOpener) is property opener 56 -#if($propertyParent) has property parent: $propertyParent 57 -<br /> 52 + #set($item = $property.keySet()) 53 + $item 58 58 #* 59 59 #if($theDocObj.getProperty($property)) 60 60 <p class="property">