<{if $message}> <{$message}> <{/if}> <{if $ctrl=="orderList"}> <{foreach from=$records item=r}> " style="vertical-align:middle;"> <{if $is_mod_admin}> <{/if}> <{/foreach}>
<{$smarty.const._MD_CARTB2B_ORDERID}> <{$smarty.const._MD_CARTB2B_ORDERDATE}> <{$smarty.const._MD_CARTB2B_SALESPERSON}> <{$smarty.const._MD_CARTB2B_INVOICENO}> <{$smarty.const._MD_CARTB2B_INVOICEDATE}> <{$smarty.const._MD_CARTB2B_SHIPDATE}> <{$smarty.const._MD_CARTB2B_CARRIER}> <{$smarty.const._MD_CARTB2B_TRACKINGNO}> <{$smarty.const._MD_CARTB2B_STATUS}> <{$smarty.const._MD_CARTB2B_UPDATE}>
<{$r.orderid}> <{$r.order_date}> <{$r.sales_person}> <{$r.invoice_no}> <{$r.invoice_date}> <{$r.ship_date}> <{$r.carrier}> <{$r.tracking_no}> <{$r.order_status_desc}> <{$r.lupdate}><{$smarty.const._MD_CARTB2B_ORDER_DETAILE}>
<{else}> <{if $ctrl=="setAddress"}>

<{$smarty.const._MD_CARTB2B_SHIPTO_TITLE}>

<{elseif $ctrl=="makeSure" }>

<{$smarty.const._MD_CARTB2B_CHECKOUT}>

<{else}>

<{$smarty.const._MD_CARTB2B_ORDERID}> [ <{$records.orderid}> ] 

<{/if}>
<{if $ctrl=="editStatus"}> <{/if}>

<{$smarty.const._MD_CARTB2B_SHIPTO_WHO}>

<{$smarty.const._MD_CARTB2B_SHIPTO_FIRSTNAME}> <{if $ctrl=="setAddress"}> <{else}> <{$records.firstname}> <{/if}>
<{$smarty.const._MD_CARTB2B_SHIPTO_LASTNAME}> <{if $ctrl=="setAddress"}> <{else}> <{$records.lastname}> <{/if}>
<{$smarty.const._MD_CARTB2B_SHIPTO_AREACODE}> <{$smarty.const._MD_CARTB2B_SHIPTO_PHONE}> <{if $ctrl=="setAddress"}> <{else}> <{$records.areacode}> - <{$records.phone}> <{/if}>

<{$smarty.const._MD_CARTB2B_SHIPTO_WHERE}>

<{$smarty.const._MD_CARTB2B_SHIPTO_ADDRESS}> <{if $ctrl=="setAddress"}> <{else}> <{$records.address}> <{/if}>
<{$smarty.const._MD_CARTB2B_SHIPTO_ADDRESS2}> <{if $ctrl=="setAddress"}> <{else}> <{$records.address2}> <{/if}>
<{$smarty.const._MD_CARTB2B_SHIPTO_CITY}> <{if $ctrl=="setAddress"}> <{else}> <{$records.city}> <{/if}>
<{$smarty.const._MD_CARTB2B_SHIPTO_STATE}> <{if $ctrl=="setAddress"}> <{else}> <{$records.state}> <{/if}>
<{$smarty.const._MD_CARTB2B_SHIPTO_ZIPCODE}> <{if $ctrl=="setAddress"}> <{else}> <{$records.zipcode}> <{/if}>
<{$smarty.const._MD_CARTB2B_SHIPTO_COUNTRY}> <{if $ctrl=="setAddress"}> <{else}> <{$records.country}> <{/if}>

<{$smarty.const._MD_CARTB2B_SALESINFORMATION}>

<{$smarty.const._MD_CARTB2B_CHANGESTATUS}>
<{$smarty.const._MD_CARTB2B_SALESPERSON}>
<{$smarty.const._MD_CARTB2B_INVOICENO}>
<{$smarty.const._MD_CARTB2B_INVOICEDATE}> <{$records.invoice_date}>
<{$smarty.const._MD_CARTB2B_SHIPDATE}> <{$records.ship_date}>
<{$smarty.const._MD_CARTB2B_CARRIER}>
<{$smarty.const._MD_CARTB2B_TRACKINGNO}>

<{$smarty.const._MD_CARTB2B_CARTITEMS}>

<{foreach from=$cartRecords item=r}> " style="vertical-align:middle;"> <{/foreach}>
<{$smarty.const._MD_CARTB2B_ITEM_NAME}> <{$smarty.const._MD_CARTB2B_ITEM_PRICE}> <{$smarty.const._MD_CARTB2B_ITEM_QTY}> <{$smarty.const._MD_CARTB2B_ITEM_AMOUNT}>
<{$r.title}> <{$smarty.const._MD_CARTB2B_CURRENCY}><{$r.price|number_format:2}> <{$r.qty|number_format}> <{$smarty.const._MD_CARTB2B_CURRENCY}><{$r.amount|number_format:2}>
<{$smarty.const._MD_CARTB2B_SUB_TOTAL}> <{$smarty.const._MD_CARTB2B_CURRENCY}><{$sub_total|number_format:2}>
<{/if}>