<
From version < 1.26 >
edited by SuperUwe Trueggelmann
on 2022-10-13
To version < 1.23 >
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.companyaddress)
42 - strCompanyCity = services.cleanStr.alphanum(request.companycity)
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
... ... @@ -62,11 +62,6 @@
62 62   sqlQueryInsertRec = "INSERT INTO " + strDBTable +
63 63   """(
64 64   companyname,
65 - companyaddress,
66 - companycity,
67 - companypostcode,
68 - companyprovince,
69 - companycountry,
70 70   title,
71 71   firstname,
72 72   lastname,
... ... @@ -82,11 +82,6 @@
82 82   confemailsentcode)
83 83   VALUES(
84 84   '$strCompanyName',
85 - '$strCompanyAddress',
86 - '$strCompanyCity',
87 - '$strCompanyPostcode',
88 - '$strCompanyProvince',
89 - '$strCompanyCountry',
90 90   '$strTitle',
91 91   '$strFirstname',
92 92   '$strLastname',
... ... @@ -130,12 +130,7 @@
130 130   strEmailBody = "Dear " + strPrefname + ","
131 131   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"
132 132   strEmailBody = strEmailBody + "Name: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n"
133 - strEmailBody = strEmailBody + "Registered Business Name: " + strCompanyName + "\r\n"
134 - strEmailBody = strEmailBody + "Registered Business Address: " + strCompanyAddress + "\r\n"
135 - strEmailBody = strEmailBody + "Registered Business City: " + strCompanyAddress + "\r\n"
136 - strEmailBody = strEmailBody + "Registered Business Postal Code: " + strCompanyAddress + "\r\n"
137 - strEmailBody = strEmailBody + "Registered Business Province/State: " + strCompanyAddress + "\r\n"
138 - strEmailBody = strEmailBody + "Registered Business Country: " + strCompanyAddress + "\r\n"
120 + strEmailBody = strEmailBody + "Company: " + strCompanyName + "\r\n"
139 139   strEmailBody = strEmailBody + "Role: " + strRole + "\r\n"
140 140   strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n"
141 141   strEmailBody = strEmailBody + "Mobile phone:" + strMphone + "\r\n" + "\r\n"
... ... @@ -149,11 +149,6 @@
149 149   xcontext.put("strEmailBody",strEmailBody)
150 150  // services.writeLog.writeLogEntry(xcontext.getUser(), request.remoteAddr, doc.space, "INSERT AS NEW", intCurUID)
151 151   xcontext.put("strCompanyName",strCompanyName)
152 - xcontext.put("strCompanyName",strCompanyAddress)
153 - xcontext.put("strCompanyName",strCompanyCity)
154 - xcontext.put("strCompanyName",strCompanyPostcode)
155 - xcontext.put("strCompanyName",strCompanyProvince)
156 - xcontext.put("strCompanyName",strCompanyCountry)
157 157   xcontext.put("strTitle",strTitle)
158 158   xcontext.put("strFirstname",strFirstname)
159 159   xcontext.put("strLastname",strLastname)
... ... @@ -168,11 +168,6 @@
168 168   }
169 169   if (strEditCommand == "Proceed"){
170 170   xcontext.put("strCompanyName",strCompanyName)
171 - xcontext.put("strCompanyName",strCompanyAddress)
172 - xcontext.put("strCompanyName",strCompanyCity)
173 - xcontext.put("strCompanyName",strCompanyPostcode)
174 - xcontext.put("strCompanyName",strCompanyProvince)
175 - xcontext.put("strCompanyName",strCompanyCountry)
176 176   xcontext.put("strTitle",strTitle)
177 177   xcontext.put("strFirstname",strFirstname)
178 178   xcontext.put("strLastname",strLastname)
... ... @@ -187,11 +187,6 @@
187 187   }
188 188   if (strEditCommand == "Correct"){
189 189   xcontext.put("strCompanyName",strCompanyName)
190 - xcontext.put("strCompanyName",strCompanyAddress)
191 - xcontext.put("strCompanyName",strCompanyCity)
192 - xcontext.put("strCompanyName",strCompanyPostcode)
193 - xcontext.put("strCompanyName",strCompanyProvince)
194 - xcontext.put("strCompanyName",strCompanyCountry)
195 195   xcontext.put("strTitle",strTitle)
196 196   xcontext.put("strFirstname",strFirstname)
197 197   xcontext.put("strLastname",strLastname)
© 2022 TruCert Assessment Services Inc.
V01-00