Changes for page homeopathsSheet

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

From version 1.69
edited by Jip-jan Alunkel
on March 08, 02:33
Change comment: There is no comment for this version
To version 1.63
edited by Jip-jan Alunkel
on March 08, 00:54
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -76,20 +76,16 @@
76 76   })
77 77   #set($thisObj = {})
78 78   #set($children = {})
79 - #set($nonChildren = {})
80 80   #foreach($item in $classProperties.keySet())
81 - #if($classProperties[$item].parent && $classProperties[$item].opener == 0) ## eerst de diepste laag
80 + #if($classProperties[$item].parent)
82 82   #set($parentID = $classProperties[$item].parent)
83 83   #if(!$children[$parentID])
84 84   #set($discard = $children.put("$parentID", {}))
85 85   #end
86 86   #set($discard = $children["$parentID"].put($item, $classProperties[$item]))
87 - #elseif($classProperties[$item].parent)## ???? Ws fout
88 - #else
89 - #set($discard = $nonChildren.put($item, $classProperties[$item]))
90 90   #end
91 91   #end
92 - #createElementObjects($nonChildren)
88 + #createElementObjects($classProperties)
93 93   #set($submit = {
94 94   "id" : "edit_details",
95 95   "button-text" : "Save changes",
... ... @@ -111,8 +111,11 @@
111 111   </div>
112 112   <div class="modal-body">
113 113   #foreach($obj in $thisObj)
110 +## $obj
114 114   #createFormElement($obj)
115 115   #end
113 +## #createFormElement($practiceName)
114 +## #createFormElement($city)
116 116   </div>
117 117   <div class="modal-footer">
118 118   <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>