Changes for page homeopathsSheet

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

From version 1.24
edited by Jip-jan Alunkel
on March 07, 19:24
Change comment: There is no comment for this version
To version 1.22
edited by Jip-jan Alunkel
on March 07, 19:10
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -52,7 +52,7 @@
52 52   </p>
53 53   #end
54 54  </div>
55 - #if($hasRight)
55 + #if($hasRight) ## Ook de rechts situatie uitlezen en meenemen.
56 56   #set($form_start = {
57 57   "id": "homeopaths_form",
58 58   "product": "homeopath details",
... ... @@ -60,20 +60,6 @@
60 60   "url": "",
61 61   "use_captcha": "false"
62 62   })
63 - #set($thisObj = {})
64 - #foreach($item in $classProperties)
65 - #set($newElem = {
66 - "id": "$item",
67 - "type": "text",
68 - "required" : "false",
69 - "label" : '$services.localization.render("homeopaths.classproperty.${item}")',
70 - "data-create-xobj" : "true",
71 - "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
72 - "data-xobj-fieldname" : "$item",
73 - "value": '$theDocObj.getProperty("$item").value'
74 - })
75 - #set($thisObj["$item"] = $newElem)
76 - #end
77 77   #set($practiceName = {
78 78   "id": "practiceName",
79 79   "type": "text",
... ... @@ -114,9 +114,6 @@
114 114   </button>
115 115   </div>
116 116   <div class="modal-body">
117 - #foreach($obj in $thisObj)
118 - #createFormElement($obj)
119 - #end
120 120   #createFormElement($practiceName)
121 121   #createFormElement($city)
122 122   </div>