<
From version < 1.25 >
edited by SuperUwe Trueggelmann
on 2022-10-13
To version < 1.22 >
edited by SuperUwe Trueggelmann
on 2022-10-13
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -38,11 +38,7 @@
38 38   if ((strEditCommand == "Correct") || (strEditCommand == "Register") || (strEditCommand == "Proceed")){
39 39  
40 40   strCompanyName = services.cleanStr.alphanum(request.companyname)
41 - strCompanyAddress = services.cleanStr.alphanum(request.companycity)
42 - strCompanyCity = services.cleanStr.alphanum(request.companyaddress)
43 - strCompanyPostcode = services.cleanStr.alphanum(request.companypostcode)
44 - strCompanyProvince = services.cleanStr.alphanum(request.companyprovince)
45 - strCompanyCountry = services.cleanStr.alphanum(request.companycountry)
41 +// println "Received Company name: " + strCompanyName
46 46   strTitle = services.cleanStr.alphanum(request.title)
47 47   strFirstname = services.cleanStr.alphanum(request.firstname)
48 48   strLastname = services.cleanStr.alphanum(request.lastname)
... ... @@ -51,6 +51,7 @@
51 51   strLphone = services.cleanStr.numphone(request.lphone)
52 52   strMphone = services.cleanStr.numphone(request.mphone)
53 53   strEmail = services.cleanStr.alphanum(request.email)
50 +// println "Received E-mail: " + strEmail
54 54   strEmail2 = services.cleanStr.alphanum(request.email2)
55 55   strCreateTime = java.time.ZonedDateTime.now()
56 56   strCreateIP = request.remoteAddr
... ... @@ -120,12 +120,7 @@
120 120   strEmailBody = "Dear " + strPrefname + ","
121 121   strEmailBody = strEmailBody + "\r\n" + "\r\n" + "A request was made to register you to the CEC website (https://cecocert.com) with the following information:" + "\r\n" + "\r\n"
122 122   strEmailBody = strEmailBody + "Name: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n"
123 - strEmailBody = strEmailBody + "Registered Business Name: " + strCompanyName + "\r\n"
124 - strEmailBody = strEmailBody + "Registered Business Address: " + strCompanyAddress + "\r\n"
125 - strEmailBody = strEmailBody + "Registered Business City: " + strCompanyAddress + "\r\n"
126 - strEmailBody = strEmailBody + "Registered Business Postal Code: " + strCompanyAddress + "\r\n"
127 - strEmailBody = strEmailBody + "Registered Business Province/State: " + strCompanyAddress + "\r\n"
128 - strEmailBody = strEmailBody + "Registered Business Country: " + strCompanyAddress + "\r\n"
120 + strEmailBody = strEmailBody + "Company: " + strCompanyName + "\r\n"
129 129   strEmailBody = strEmailBody + "Role: " + strRole + "\r\n"
130 130   strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n"
131 131   strEmailBody = strEmailBody + "Mobile phone:" + strMphone + "\r\n" + "\r\n"
... ... @@ -139,11 +139,6 @@
139 139   xcontext.put("strEmailBody",strEmailBody)
140 140  // services.writeLog.writeLogEntry(xcontext.getUser(), request.remoteAddr, doc.space, "INSERT AS NEW", intCurUID)
141 141   xcontext.put("strCompanyName",strCompanyName)
142 - xcontext.put("strCompanyName",strCompanyAddress)
143 - xcontext.put("strCompanyName",strCompanyCity)
144 - xcontext.put("strCompanyName",strCompanyPostcode)
145 - xcontext.put("strCompanyName",strCompanyProvince)
146 - xcontext.put("strCompanyName",strCompanyCountry)
147 147   xcontext.put("strTitle",strTitle)
148 148   xcontext.put("strFirstname",strFirstname)
149 149   xcontext.put("strLastname",strLastname)
... ... @@ -158,11 +158,6 @@
158 158   }
159 159   if (strEditCommand == "Proceed"){
160 160   xcontext.put("strCompanyName",strCompanyName)
161 - xcontext.put("strCompanyName",strCompanyAddress)
162 - xcontext.put("strCompanyName",strCompanyCity)
163 - xcontext.put("strCompanyName",strCompanyPostcode)
164 - xcontext.put("strCompanyName",strCompanyProvince)
165 - xcontext.put("strCompanyName",strCompanyCountry)
166 166   xcontext.put("strTitle",strTitle)
167 167   xcontext.put("strFirstname",strFirstname)
168 168   xcontext.put("strLastname",strLastname)
... ... @@ -177,11 +177,6 @@
177 177   }
178 178   if (strEditCommand == "Correct"){
179 179   xcontext.put("strCompanyName",strCompanyName)
180 - xcontext.put("strCompanyName",strCompanyAddress)
181 - xcontext.put("strCompanyName",strCompanyCity)
182 - xcontext.put("strCompanyName",strCompanyPostcode)
183 - xcontext.put("strCompanyName",strCompanyProvince)
184 - xcontext.put("strCompanyName",strCompanyCountry)
185 185   xcontext.put("strTitle",strTitle)
186 186   xcontext.put("strFirstname",strFirstname)
187 187   xcontext.put("strLastname",strLastname)
© 2022 TruCert Assessment Services Inc.
V01-00