Changes for page homeopathsSheet

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

From version 1.81
edited by Jip-jan Alunkel
on March 08, 14:29
Change comment: There is no comment for this version
To version 1.83
edited by Jip-jan Alunkel
on March 08, 14:32
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -34,16 +34,16 @@
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())
... ... @@ -52,8 +52,9 @@
52 52   #set($propertyParent = $item.parent)
53 53   #end
54 54  $propertyType
55 -$propertyOpener
56 -$propertyParent
55 +#if($propertyOpener) is property opener#end
56 +#if($propertyParent) has property parent: $propertyParent#end
57 +<br />
57 57  #*
58 58   #if($theDocObj.getProperty($property))
59 59   <p class="property">