expressCart/views/customer.hbs

49 lines
1.9 KiB
Handlebars
Raw Normal View History

2018-02-12 05:47:26 +10:00
{{> partials/menu}}
2018-01-22 07:20:33 +10:00
<div class="col-lg-9">
<div class="row">
<div class="col-lg-12">
<h2>Customer</h2>
</div>
<div class="col-xs-12 col-md-12">
<table class="table-bordered">
<tr>
<td><span class="text-info">Email:</span></td>
<td>{{result.email}}</td>
</tr>
<tr>
<td><span class="text-info">{{ @root.__ "Name" }}:</span></td>
2018-01-22 07:20:33 +10:00
<td>{{result.firstName}} {{result.lastName}}</td>
</tr>
<tr>
<td><span class="text-info">{{ @root.__ "Address 1" }}:</span></td>
2018-01-22 07:20:33 +10:00
<td>{{result.address1}}</td>
</tr>
<tr>
<td><span class="text-info">{{ @root.__ "Address 2" }}:</span></td>
2018-01-22 07:20:33 +10:00
<td>{{result.address2}}</td>
</tr>
<tr>
<td><span class="text-info">{{ @root.__ "Country" }}:</span></td>
2018-01-22 07:20:33 +10:00
<td>{{result.country}}</td>
</tr>
<tr>
<td><span class="text-info">{{ @root.__ "State" }}:</span></td>
2018-01-22 07:20:33 +10:00
<td>{{result.state}}</td>
</tr>
<tr>
<td><span class="text-info">{{ @root.__ "Postcode" }}:</span></td>
2018-01-22 07:20:33 +10:00
<td>{{result.postcode}}</td>
</tr>
<tr>
<td><span class="text-info">{{ @root.__ "Phone number" }}:</span></td>
2018-01-22 07:20:33 +10:00
<td>{{result.phone}}</td>
</tr>
<tr>
<td><span class="text-info">{{ @root.__ "Creation date" }}:</span></td>
2018-01-22 07:20:33 +10:00
<td>{{formatDate result.created "DD/MM/YYYY hh:mmA"}}</td>
</tr>
</table>
</div>
</div>
<input type="hidden" id="productId" value="{{result._id}}">
</div>