expressCart/views/customer.hbs

49 lines
1.8 KiB
Handlebars

{{> partials/menu}}
<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">Name:</span></td>
<td>{{result.firstName}} {{result.lastName}}</td>
</tr>
<tr>
<td><span class="text-info">Address 1:</span></td>
<td>{{result.address1}}</td>
</tr>
<tr>
<td><span class="text-info">Address 2:</span></td>
<td>{{result.address2}}</td>
</tr>
<tr>
<td><span class="text-info">Country:</span></td>
<td>{{result.country}}</td>
</tr>
<tr>
<td><span class="text-info">State:</span></td>
<td>{{result.state}}</td>
</tr>
<tr>
<td><span class="text-info">Postcode:</span></td>
<td>{{result.postcode}}</td>
</tr>
<tr>
<td><span class="text-info">Phone number:</span></td>
<td>{{result.phone}}</td>
</tr>
<tr>
<td><span class="text-info">Creation date:</span></td>
<td>{{formatDate result.created "DD/MM/YYYY hh:mmA"}}</td>
</tr>
</table>
</div>
</div>
<input type="hidden" id="productId" value="{{result._id}}">
</div>