Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a misused .label class and formatted the whole page to new b@se standards.
- Loading branch information
Showing
1 changed file
with
69 additions
and
104 deletions.
There are no files selected for viewing
173 changes: 69 additions & 104 deletions
173
private/www/netosuite/Templates/skeletal/customer/track_order/order.template.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,109 +1,74 @@ | ||
<!--#Start Column Left# ##--> | ||
<!--##[%load_template file:"includes/sidebar.template.html"%][%END load_template%]##--> | ||
<!--# End Column Left# ##--> | ||
|
||
|
||
<!--# Start Breadcrumb# ##--> | ||
<ul class="breadcrumb"> | ||
<li><a href="[@config:home_url@]">Home</a></li> | ||
<li><a href="[%URL page:'account'%][%END URL%]">My Account</a></li> | ||
</ul> | ||
<!--# End Breadcrumb# ##--> | ||
|
||
|
||
|
||
<!--##[%show_order id:'[@order_id@]'%][%PARAM *header%]##--> | ||
<div class="page-header"> | ||
<h1>Track Order #<!--##[%NOHTML%]##-->[@order_id@]<!--##[%END NOHTML%]##--></h1> | ||
</div> | ||
<div class="clear"></div> | ||
|
||
<div class="col-xs-4"> | ||
<strong>Status:</strong> <span class="label label-success">[@order_status@]</span> | ||
<h4><!--##[%NOHTML%]##-->Order #[@order_id@]<!--##[%END NOHTML%]##--></h4> | ||
<!--##[%DATA id:'customer_po' if:'ne' value:''%]##--><h4>PO # <!--##[%NOHTML%]##-->[@customer_po@]<!--##[%END NOHTML%]##--></h4><!--##[%END DATA%]##--> | ||
<h5>Date Placed: <!--##[%format type:"date" format:"#D/#M/#Y"%]##-->[@date_placed@]<!--##[%END format%]##--></h5> | ||
<!--##[%DATA id:'if_invoiced' if:'=' value:'1'%]##--> | ||
<h5>Date Invoiced: <!--##[%format type:"date" format:"#D/#M/#Y"%]##-->[@date_invoiced@]<!--##[%END format%]##--></h5> | ||
<!--##[%END DATA%]##--> | ||
<!--##[%DATA id:'order_status' if:'like' value:'Completed'%]##--> | ||
<h5>Date Completed: <!--##[%format type:"date" format:"#D/#M/#Y"%]##-->[@date_updated@]<!--##[%END format%]##--></h5> | ||
<!--##[%END DATA%]##--> | ||
</div> | ||
<div class="col-xs-4"> | ||
<h4>Ship To:</h4> | ||
<!--##[%NOHTML%]##--> | ||
[@ship_first_name@] [@ship_last_name@] | ||
<!--##[%END NOHTML%]##--> | ||
<br /> | ||
<!--##[%DATA id:'ship_company' if:'ne' value:''%]##--> | ||
<!--##[%NOHTML%]##--> | ||
[@ship_company@] | ||
<!--##[%END NOHTML%]##--> | ||
<br /> | ||
<!--##[%END DATA%]##--> | ||
<!--##[%NOHTML%]##--> | ||
[@ship_street1@] | ||
<!--##[%END NOHTML%]##--> | ||
<br /> | ||
<!--##[%DATA id:'ship_street2' if:'ne' value:''%]##--> | ||
<!--##[%NOHTML%]##--> | ||
[@ship_street2@] | ||
<!--##[%END NOHTML%]##--> | ||
<br /> | ||
<!--##[%END DATA%]##--> | ||
<!--##[%NOHTML%]##--> | ||
[@ship_city@], [@ship_state_name@] [@ship_zip@] | ||
<!--##[%END NOHTML%]##--> | ||
<br /> | ||
<!--##[%NOHTML%]##--> | ||
[@ship_country_name@] | ||
<!--##[%END NOHTML%]##--> | ||
<br /> | ||
Tel: | ||
<!--##[%NOHTML%]##--> | ||
[@ship_phone@] | ||
<!--##[%END NOHTML%]##--> | ||
</div> | ||
<div class="clear"></div> | ||
<hr /> | ||
|
||
<table class="table table-bordered table-striped"> | ||
<thead> | ||
<tr> | ||
<div class="col-xs-12"> | ||
<ul class="breadcrumb"> | ||
<li><a href="[@config:home_url@]">Home</a></li> | ||
<li><a href="[%url page:'account' /%]">My Account</a></li> | ||
</ul> | ||
[%show_order id:'[@order_id@]'%] | ||
[%param *header%] | ||
<div class="page-header"> | ||
<h1>Track Order #[@order_id@]</h1> | ||
</div> | ||
<div class="row"> | ||
<div class="col-md-4"> | ||
<strong>Status:</strong> <span class="label label-success">[@order_status@]</span> | ||
<h4>Order #[@order_id@]</h4> | ||
[%if [@customer_po@]%]<h4>PO #[@customer_po@]</h4>[%/if%] | ||
<h5>Date Placed: [%format type:"date" format:"#D/#M/#Y"%][@date_placed@][%/format%]</h5> | ||
[%if [@if_invoiced@] == 1%]<h5>Date Invoiced: [%format type:"date" format:"#D/#M/#Y"%][@date_invoiced@][%/format%]</h5>[%/if%] | ||
[%if [@order_status@] like 'Completed'%]<h5>Date Completed: [%format type:"date" format:"#D/#M/#Y"%][@date_updated@][%/format%]</h5>[%/if%] | ||
</div> | ||
<div class="col-md-4"> | ||
<h4>Ship To:</h4> | ||
<p> | ||
[@ship_first_name@] [@ship_last_name@]<br/> | ||
[%if [@ship_company@]%][@ship_company@]<br/>[%/if%] | ||
[@ship_street1@]<br/> | ||
[%if [@ship_street2@]%][@ship_street2@]<br/>[%/if%] | ||
[@ship_city@], [@ship_state_name@] [@ship_zip@]<br/> | ||
[@ship_country_name@]<br/> | ||
Tel:[@ship_phone@] | ||
<p> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-xs-12"> | ||
<table class="table table-bordered table-striped"> | ||
<thead> | ||
<tr> | ||
<th>Image</th> | ||
<th>Qty</th> | ||
<th>Description</th> | ||
<th>Shipping Details</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<!--##[%END PARAM%][%PARAM *body%]##--> | ||
<tr> | ||
<td><img border="0" src="[%asset_url type:'product' id:'[@SKU@]' thumb:'thumbL'%][%END asset_url%]" alt="[@model@]" width="50px" height="50px"></td> | ||
<td>[@qty@]</td> | ||
<td>[@model@]<i>[@extra@]</i> | ||
<!--##[%DATA id:'aff_id' if:'eq' value:'[@config:AFF_RENTAL_ID@]' %]##--> <b>Rental</b><!--##[%END DATA%]##--> | ||
<!--##[%DATA id:'aff_id' if:'eq' value:'[@config:AFF_EBAY_ID@]' %]##--> <b>EBay ID: [@aff_ref@]</b><!--##[%END DATA%]##--> | ||
<!--##[%DATA id:'aff_id' if:'eq' value:'[@config:AFF_FREE_ID@]' %]##--> <b>Free Gift</b><!--##[%END DATA%]##--> | ||
<!--##[%FORMAT type:'date' default:''%][%PARAM *format%]##--><br><b>Deliver On</b> #D/#M/#Y (#G:#I#a)<!--##[%END PARAM%][@date_delivery@][%END FORMAT%]##--></td> | ||
<td nowrap> | ||
<!--##[%DATA id:'ship_method' if:'ne' value:'' %]##--><span class="label">[@ship_method@]</span><br /><!--##[%END DATA%]##--> | ||
<!--##[%DATA id:'ship_tracking' if:'ne' value:'' %]##--> | ||
Tracking #[@ship_tracking@]<br /> | ||
<!--##[%END DATA%]##--> | ||
<!--##[%DATA id:'ship_tracking' if:'eq' value:'' %]##--> | ||
Tracking not yet available <!--##[%END DATA%]##--> | ||
<!--##[%DATA id:'tracking_url' if:'ne' value:'' %]##--> | ||
<a href="[@tracking_url@]" target="_blank" class="btn btn-small">Track Online <i class="fa fa-share"></i></a> | ||
<!--##[%END DATA%]##--> | ||
<!--##[%DATA id:'tracking_url' if:'eq' value:'' %]##--> | ||
<!--##[%END DATA%]##--></td> | ||
</tr> | ||
<!--##[%END PARAM%][%PARAM *footer%]##--> | ||
|
||
</tbody> | ||
</table> | ||
<!--##[%END PARAM%][%END show_order%]##--> | ||
|
||
</tr> | ||
</thead> | ||
<tbody> | ||
[%/param%] | ||
[%param *body%] | ||
<tr> | ||
<td><img border="0" src="[%asset_url type:'product' id:'[@SKU@]' thumb:'thumbL' /%]" alt="[@model@]" width="50px" height="50px"></td> | ||
<td>[@qty@]</td> | ||
<td>[@model@]<i>[@extra@]</i> | ||
[%if [@aff_id@] eq [@config:aff_ebay_id@]%] <span class="text-muted">EBay ID: <strong>[@aff_ref@]</strong></span>[%/if%] | ||
[%if [@aff_id@] eq [@config:aff_free_id@]%] <span class="text-muted"><strong>Free Gift</strong></span>[%/if%] | ||
[%if [@aff_id@] eq [@config:aff_rental_id@]%] <span class="text-muted">Rental</span>[%/if%] | ||
[%format type:'date' default:'' format:'<b>Deliver On</b> #D/#M/#Y (#G:#I#a)'%][@date_delivery@][%/format%] | ||
</td> | ||
<td> | ||
[%if [@ship_method@]%]<p>[@ship_method@]</p>[%/if%] | ||
[%if [@ship_tracking@]%] | ||
<p>Tracking #[@ship_tracking@]</p> | ||
[%else%] | ||
<p>Tracking not yet available</p> | ||
[%/if%] | ||
[%if [@tracking_url@]%]<p><a href="[@tracking_url@]" target="_blank" class="btn btn-small">Track Online <i class="fa fa-share"></i></a></p>[%/if%] | ||
</td> | ||
</tr> | ||
[%/param%] | ||
[%param *footer%] | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
[%/param%] | ||
[%/show_order%] | ||
</div> |