Changes for page homeopathsSheet
Last modified by Jip-jan Alunkel on March 26, 17:31
From version 1.80
edited by Jip-jan Alunkel
on March 08, 14:25
on March 08, 14:25
Change comment:
There is no comment for this version
To version 1.83
edited by Jip-jan Alunkel
on March 08, 14:32
on March 08, 14:32
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -34,22 +34,27 @@ 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' , '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}},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'}}, 45 45 {'certification': {'type': 'checkbox', 'opener': 1}}, 46 - {'certificationFrom': {'type': 'text', ' opener': 0, 'parent': 'certification'}}46 + {'certificationFrom': {'type': 'text', 'parent': 'certification'}} 47 47 ]) 48 48 #foreach($property in $classProperties) 49 49 #foreach($item in $property.values()) 50 - $item.type 50 + #set($propertyType = $item.type) 51 + #set($propertyOpener = $item.opener) 52 + #set($propertyParent = $item.parent) 51 51 #end 52 - 54 +$propertyType 55 +#if($propertyOpener) is property opener#end 56 +#if($propertyParent) has property parent: $propertyParent#end 57 +<br /> 53 53 #* 54 54 #if($theDocObj.getProperty($property)) 55 55 <p class="property">