Added direct link to the customer page on order detail.

This commit is contained in:
Julien Chanséaume
2014-07-15 14:49:14 +02:00
committed by Julien Chanseaume
parent 43517c629a
commit a72b6e5ca7

View File

@@ -168,6 +168,32 @@
</table> </table>
</div> </div>
{loop type="order_address" name="order-invoice-address" id=$INVOICE_ADDRESS}
{assign "orderInvoiceFirstName" $FIRSTNAME}
{assign "orderInvoiceLastName" $LASTNAME}
{assign "orderInvoiceCompany" $COMPANY}
{/loop}
<div class="table-responsive">
<table class="table table-striped table-condensed table-left-aligned">
<caption class="clearfix">
{intl l='Customer information'}
</caption>
<tbody>
<tr>
<th>{intl l="Customer"}</th>
<td><a href="{url path='/admin/customer/update' customer_id=$CUSTOMER}">{$orderInvoiceFirstName|ucwords} {$orderInvoiceLastName|upper}</a></td>
</tr>
{if $orderInvoiceCompany}
<tr>
<th>{intl l="Company"}</th>
<td>{$orderInvoiceCompany}</td>
</tr>
{/if}
</tbody>
</table>
</div>
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-striped table-condensed table-left-aligned"> <table class="table table-striped table-condensed table-left-aligned">
<caption class="clearfix"> <caption class="clearfix">