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

Summary

Details

Page properties
Content
... ... @@ -38,7 +38,11 @@
38 38   if ((strEditCommand == "Correct") || (strEditCommand == "Register") || (strEditCommand == "Proceed")){
39 39  
40 40   strCompanyName = services.cleanStr.alphanum(request.companyname)
41 -// println "Received Company name: " + strCompanyName
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)
42 42   strTitle = services.cleanStr.alphanum(request.title)
43 43   strFirstname = services.cleanStr.alphanum(request.firstname)
44 44   strLastname = services.cleanStr.alphanum(request.lastname)
... ... @@ -47,7 +47,6 @@
47 47   strLphone = services.cleanStr.numphone(request.lphone)
48 48   strMphone = services.cleanStr.numphone(request.mphone)
49 49   strEmail = services.cleanStr.alphanum(request.email)
50 -// println "Received E-mail: " + strEmail
51 51   strEmail2 = services.cleanStr.alphanum(request.email2)
52 52   strCreateTime = java.time.ZonedDateTime.now()
53 53   strCreateIP = request.remoteAddr
... ... @@ -59,6 +59,11 @@
59 59   sqlQueryInsertRec = "INSERT INTO " + strDBTable +
60 60   """(
61 61   companyname,
65 + companyaddress,
66 + companycity,
67 + companypostcode,
68 + companyprovince,
69 + companycountry,
62 62   title,
63 63   firstname,
64 64   lastname,
... ... @@ -74,6 +74,11 @@
74 74   confemailsentcode)
75 75   VALUES(
76 76   '$strCompanyName',
85 + '$strCompanyAddress',
86 + '$strCompanyCity',
87 + '$strCompanyPostcode',
88 + '$strCompanyProvince',
89 + '$strCompanyCountry',
77 77   '$strTitle',
78 78   '$strFirstname',
79 79   '$strLastname',
... ... @@ -117,7 +117,12 @@
117 117   strEmailBody = "Dear " + strPrefname + ","
118 118   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"
119 119   strEmailBody = strEmailBody + "Name: " + strTitle + " " + strFirstname + " " + strLastname + "\r\n"
120 - strEmailBody = strEmailBody + "Company: " + strCompanyName + "\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"
121 121   strEmailBody = strEmailBody + "Role: " + strRole + "\r\n"
122 122   strEmailBody = strEmailBody + "Landline phone: " + strLphone + "\r\n"
123 123   strEmailBody = strEmailBody + "Mobile phone:" + strMphone + "\r\n" + "\r\n"
... ... @@ -131,6 +131,11 @@
131 131   xcontext.put("strEmailBody",strEmailBody)
132 132  // services.writeLog.writeLogEntry(xcontext.getUser(), request.remoteAddr, doc.space, "INSERT AS NEW", intCurUID)
133 133   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)
134 134   xcontext.put("strTitle",strTitle)
135 135   xcontext.put("strFirstname",strFirstname)
136 136   xcontext.put("strLastname",strLastname)
... ... @@ -145,6 +145,11 @@
145 145   }
146 146   if (strEditCommand == "Proceed"){
147 147   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)
148 148   xcontext.put("strTitle",strTitle)
149 149   xcontext.put("strFirstname",strFirstname)
150 150   xcontext.put("strLastname",strLastname)
... ... @@ -159,6 +159,11 @@
159 159   }
160 160   if (strEditCommand == "Correct"){
161 161   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)
162 162   xcontext.put("strTitle",strTitle)
163 163   xcontext.put("strFirstname",strFirstname)
164 164   xcontext.put("strLastname",strLastname)
... ... @@ -532,6 +532,13 @@
532 532  <p>After you click the below <b>Register</b> button, you should receive an automatically generated e-mail to the primary e-mail address you provide in the form above, containing a verification link. You must verify your e-mail address by clicking this verification link contained in the e-mail within 24 hours, otherwise your data may be deleted and you will have to restart the registration process.</p>
533 533  
534 534  <input type="hidden" id="companyname" name="companyname" readonly value="${xcontext.strCompanyName}" size="50">
568 +
569 +<input type="hidden" id="companycity" name="companycity" readonly value="${xcontext.strCompanyAddress}" size="100">
570 +<input type="hidden" id="companyaddress" name="companyaddress" readonly value="${xcontext.strCompanyCity}" size="100">
571 +<input type="hidden" id="companypostcode" name="companypostcode" readonly value="${xcontext.strCompanyPostcode}" size="100">
572 +<input type="hidden" id="companyprovince" name="companyprovince" readonly value="${xcontext.strCompanyProvince}" size="100">
573 +<input type="hidden" id="companycountry" name="companycountry" readonly value="${xcontext.strCompanyCountry}" size="50">
574 +
535 535  <input type="hidden" id="title" name="title" readonly value="${xcontext.strTitle}" size="10">
536 536  <input type="hidden" id="firstname" name="firstname" readonly value="${xcontext.strFirstname}" size="50">
537 537  <input type="hidden" id="lastname" name="lastname" readonly value="${xcontext.strLastname}" size="50">
© 2022 TruCert Assessment Services Inc.
V01-00