Changes for page homeopathsSheet

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

From version 1.17
edited by Jip-jan Alunkel
on March 07, 18:23
Change comment: There is no comment for this version
To version 1.21
edited by Jip-jan Alunkel
on March 07, 19:07
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -31,7 +31,7 @@
31 31  #if($xcontext.action == "view")
32 32  <div id="${spaceTitle}" class="box sheet_properties">
33 33   <h2>Details</h2>
34 -#set($classProperties = ['pmPractice','pmStreet','pmHousenumber','pmPostcode','pmCity','pmCounty','pmState','pmCountry'])
34 +#set($classProperties = ['practiceName','pmStreet','pmHousenumber','pmPostcode','pmCity','pmCounty','pmState','pmCountry','certification','certificationFrom'])
35 35  #foreach($property in $classProperties)
36 36   <p class="property">
37 37   #if($theDocObj.getProperty($property).value != "" && $property != "pmHousenumber")
... ... @@ -60,6 +60,16 @@
60 60   "url": "",
61 61   "use_captcha": "false"
62 62   })
63 + #set($practiceName = {
64 + "id": "practiceName",
65 + "type": "text",
66 + "required" : "false",
67 + "label" : "Practice name",
68 + "data-create-xobj" : "true",
69 + "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
70 + "data-xobj-fieldname" : "practiceName",
71 + "value": "$theDocObj.getProperty('practiceName').value"
72 + })
63 63   #set($city = {
64 64   "id": "city",
65 65   "type": "text",
... ... @@ -90,6 +90,7 @@
90 90   </button>
91 91   </div>
92 92   <div class="modal-body">
103 + #createFormElement($practiceName)
93 93   #createFormElement($city)
94 94   </div>
95 95   <div class="modal-footer">