Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table style="margin:10px;" border="0" cellpadding="5" cellspacing="0">
- <tbody>
- <tr>
- <td class="loginHeading" colspan="2">
- Customer ID Search Results
- </td>
- </tr>
- <tr>
- <td colspan="2">
-
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- Name:
- </th>
- <td>
- #customer.billing.firstname# #customer.billing.lastname#
- </td>
- </tr>
- <cfif structKeyExists(customer.billing,"emailaddress")>
- <tr>
- <th style="font-weight:bold;">
- Email Address:
- </th>
- <td>
- #customer.billing.emailaddress#
- </td>
- </tr>
- </cfif>
- <tr>
- <td colspan="2">
-
- </td>
- </tr>
- <!--- BILLING INFO --->
- <!--- BILLING INFO --->
- <tr>
- <td class="loginHeading" style="text-align:center;" colspan="2">
- Billing Info
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- First Name:
- </th>
- <td>
- <input name="firstname" id="firstname" value="#customer.billing.firstname#" />*
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- Last Name:
- </th>
- <td>
- <input name="lastname" id="lastname" value="#customer.billing.lastname#" />*
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- Email Address:
- </th>
- <td>
- <input name="emailaddress" id="emailaddress" value="#structKeyExists(customer.billing,"emailaddress")?customer.billing.emailaddress:""#" />
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- Company:
- </th>
- <td>
- <input name="companyName" id="companyName" value="#customer.billing.company#" />
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- Attention:
- </th>
- <td>
- <input name="attention" id="attention" value="#customer.billing.attention#" />
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- Phone Number:
- </th>
- <td>
- <input name="mainTelephone" id="mainTelephone" value="#customer.billing.phonenumber#" />*
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- Ext:
- </th>
- <td>
- <input name="mainPhoneExtension" id="mainPhoneExtension" value="#customer.billing.extension#" />
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- Fax:
- </th>
- <td>
- <input name="fax" id="fax" value="#customer.billing.faxphonenumber#" />
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- Street Address 1:
- </th>
- <td>
- <input name="address1" id="address1" value="#customer.billing.streetaddress1#" />*
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- Street Address 2:
- </th>
- <td>
- <input name="address2" id="address2" value="#customer.billing.streetaddress2#" />
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- City:
- </th>
- <td>
- <input name="city" id="city" value="#customer.billing.city#" />*
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- State:
- </th>
- <td>
- <input name="state" id="state" value="#customer.billing.provincestate#" />*
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- Zip:
- </th>
- <td>
- <input name="postalcode" id="postalcode" value="#customer.billing.postalcode#" />*
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- Country:
- </th>
- <td>
- <select name="countryID" id="countryID">
- <option value="" #(toString(customer.billing.countryid).length())?"selected":""#>Select a Country</option><cfloop query="countries">
- <option value="#countryID#" #(countryID EQ customer.billing.countryid)?"selected":""#>#name#</option>
- </cfloop>
- </select>*
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- Email marketing opt in/out:
- </th>
- <td>
- <cfif structKeyExists(customer.billing,"sendMarketingEmailFlg")>
- <input type="radio" name="sendMarketingEmailFlg" id="mkgtFlagNo" value="0" #(customer.billing.sendMarketingEmailFlg GT 0)?' ':'checked '#/> No
- <input type="radio" name="sendMarketingEmailFlg" id="mkgtFlagYes" value="1" #(customer.billing.sendMarketingEmailFlg GT 0)?'checked ':' '#/> Yes
- <cfelse>
- <input type="radio" name="sendMarketingEmailFlg" id="mkgtFlagNo" value="0" checked /> No
- <input type="radio" name="sendMarketingEmailFlg" id="mkgtFlagYes" value="1" /> Yes
- </cfif>
- </td>
- </tr>
- <tr>
- <td colspan="2">
-
- </td>
- </tr>
- <!--- SHIPPING INFO --->
- <!--- SHIPPING INFO --->
- <tr>
- <td class="loginHeading" style="text-align:center;" colspan="2">
- Shipping Info
- </td>
- </tr>
- <tr>
- <td colspan="2">
-
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- Street Address 1:
- </th>
- <td>
- <input name="sh.address1" id="shipAddress1" value="#customer.shipping.recordCount GT 0?customer.shipping.streetaddress1:''#" />*
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- Street Address 2:
- </th>
- <td>
- <input name="sh.address2" id="shipAddress2" value="#customer.shipping.recordCount GT 0?customer.shipping.streetaddress2:''#" />
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- City:
- </th>
- <td>
- <input name="sh.city" id="shipCity" value="#customer.shipping.recordCount GT 0?customer.shipping.city:''#" />*
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- State:
- </th>
- <td>
- <input name="sh.state" id="shipState" value="#customer.shipping.recordCount GT 0?customer.shipping.provincestate:''#" />*
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- Zip:
- </th>
- <td>
- <input name="sh.postalcode" id="shipPostalcode" value="#customer.shipping.recordCount GT 0?customer.shipping.postalcode:''#" />*
- </td>
- </tr>
- <tr>
- <th style="font-weight:bold;">
- Country:
- </th>
- <td>
- <select name="sh.countryID" id="shipCountryID">
- <option value="" #(toString(customer.shipping.countryid).length())?"selected":""#>Select a Country</option><cfloop query="countries">
- <option value="#countryID#" #(countryID EQ customer.shipping.countryid)?"selected":""#>#name#</option>
- </cfloop>
- </select>*
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <input type="hidden" name="action" id="" value="saveCustAddressInfo" />
- <input type="hidden" name="encryptedID" id="" value="#encryptedID#" />
- <input type="submit" name="submit" id="" id="submit" value="Submit" />
- </td>
- </tr>
- </tbody>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement