Changes for page homeopathsSheet

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

From version 1.43
edited by Jip-jan Alunkel
on March 07, 23:22
Change comment: There is no comment for this version
To version 1.45
edited by Jip-jan Alunkel
on March 07, 23:24
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -34,10 +34,10 @@
34 34  #set($classProperties = {
35 35   'practiceName': {'type': 'string', 'opener': 0},
36 36   'pmStreet': {'type': 'string', 'opener': 0},
37 - 'pmHousenumber': {'type': 'string', 'opener': 0},
37 + 'pmHousenumber': {'type': 'string', 'opener': 0, 'parent': 'certification'},
38 38   'pmPostcode': {'type': 'string', 'opener': 0},
39 39   'pmCity': {'type': 'string', 'opener': 0},
40 - 'pmCounty': {'type': 'string', 'opener': 0},
40 + 'pmCounty': {'type': 'string', 'opener': 0, 'parent': 'certification'},
41 41   'pmState': {'type': 'string', 'opener': 0},
42 42   'pmCountry': {'type': 'string', 'opener': 0},
43 43   'certification': {'type': 'bool', 'opener': 1},
... ... @@ -77,8 +77,8 @@
77 77   #set($children = {})
78 78   #foreach($item in $classProperties.keySet())
79 79   #if($classProperties[$item].parent)
80 - $classProperties[$item].parent
81 - #set($discard = $children.put("$classProperties[$item].parent", $classProperties[$item])
80 + #set($parentID = $classProperties[$item].parent)
81 + #set($discard = $children.put("$parentID", $classProperties[$item]))
82 82   #end
83 83   #end
84 84  $children