// Remove useless code in view.tpl from orders in BO #PSFV-319
This commit is contained in:
@@ -717,120 +717,4 @@
|
||||
|
||||
<div class="clear"> </div>
|
||||
<br /><br /><a href="{$currentIndex}&token={$smarty.get.token}"><img src="../img/admin/arrow2.gif" /> {l s='Back to list'}</a><br />
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- <br />
|
||||
<fieldset>
|
||||
<legend>
|
||||
<img widtdh="20" height="16" src="../img/admin/order-detail-icone.png" />
|
||||
{l s='Payment detail'}
|
||||
</legend>
|
||||
<ul style="list-style:none; display:block; line-height: 1.5em; padding 4px 0;">
|
||||
<li style="margin-bottom:10px;">
|
||||
<form method="post" action="{$smarty.server.REQUEST_URI}">
|
||||
<font style="font-weight:bolder;">{l s='Set the transaction id:'}</font>
|
||||
<input type="text" name="transaction_id" value="{if $paymentCCDetails}{$paymentCCDetails['transaction_id']}{/if}" />
|
||||
<input type="hidden" name="id_payment_cc" value="{if $paymentCCDetails}{$paymentCCDetails['id_payment_cc']}{/if}" />
|
||||
<input class="button" type="submit" name="setTransactionId" value="{l s='Update'}"/>
|
||||
</form>
|
||||
</li>
|
||||
{if $paymentCCDetails}
|
||||
{if $paymentCCDetails['card_holder'] != ''}
|
||||
<li>
|
||||
<font style="font-weight:bolder;">{l s='Card Holder:'} </font>
|
||||
{$paymentCCDetails['card_holder']}
|
||||
</li>
|
||||
{/if}
|
||||
{if $paymentCCDetails['card_number'] != ''}
|
||||
<li>
|
||||
<font style="font-weight:bolder;">{l s='Card Number:'} </font>
|
||||
****{$paymentCCDetails['card_number']|substr:-4}
|
||||
</li>
|
||||
{/if}
|
||||
{if $paymentCCDetails['card_brand'] != ''}
|
||||
<li>
|
||||
<font style="font-weight:bolder;">{l s='Card Brand:'} </font>
|
||||
{$paymentCCDetails['card_brand']}
|
||||
</li>
|
||||
{/if}
|
||||
{if $paymentCCDetails['card_expiration'] != ''}
|
||||
<li>
|
||||
<font style="font-weight:bolder;">{l s='Card expiration:'} </font>
|
||||
{$paymentCCDetails['card_expiration']}
|
||||
</li>
|
||||
{/if}
|
||||
{/if}
|
||||
</ul>
|
||||
</fieldset> -->
|
||||
|
||||
<!-- <br />
|
||||
<fieldset style="width: 400px">
|
||||
<legend><img src="../img/admin/details.gif" /> {l s='Order details'}</legend>
|
||||
{if (Shop::isFeatureActive())}
|
||||
<label>{l s='Shop:'}</label>
|
||||
<div style="margin: 2px 0 1em 190px;">{Shop::getInstance($order->id_shop)->name}</div>
|
||||
{/if}
|
||||
|
||||
<label>{l s='Original cart:'}</label>
|
||||
<div style="margin: 2px 0 1em 190px;"><a href="?tab=AdminCarts&id_cart={$cart->id}&viewcart&token={getAdminToken tab='AdminCarts'}">{l s='Cart #'}{"%06d"|sprintf:$cart->id}</a></div>
|
||||
<label>{l s='Payment mode:'}</label>
|
||||
<div style="margin: 2px 0 1em 190px; padding: 2px 0px;">{substr($order->payment, 0, 32)}{if $order->module} ({$order->module}){/if}</div>
|
||||
<div style="margin: 2px 0 1em 50px;">
|
||||
<table class="table" width="300px;" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="150px;">{l s='Products'}</td>
|
||||
<td align="right">{displayPrice price=$order->getTotalProductsWithTaxes() currency=$currency->id}</td>
|
||||
</tr>
|
||||
{if $order->total_discounts > 0}
|
||||
<tr>
|
||||
<td>{l s='Discounts'}</td>
|
||||
<td align="right">-{displayPrice price=$order->total_discounts currency=$currency->id}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $order->total_wrapping > 0}
|
||||
<tr>
|
||||
<td>{l s='Wrapping'}</td>
|
||||
<td align="right">{displayPrice price=$order->total_wrapping currency=$currency->id}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td>{l s='Shipping'}</td>
|
||||
<td align="right">{displayPrice price=$order->total_shipping currency=$currency->id}</td>
|
||||
</tr>
|
||||
<tr style="font-size: 20px">
|
||||
<td>{l s='Total'}</td>
|
||||
<td align="right">
|
||||
{displayPrice price=$order->total_paid currency=$currency->id}
|
||||
{if $order->total_paid != $order->total_paid_real}
|
||||
<br />
|
||||
<font color="red">{l s='Paid:'} {displayPrice price=$order->total_paid_real currency=$currency->id}</font>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div style="float: left; margin-right: 10px; margin-left: 42px;">
|
||||
<span class="bold">{l s='Recycled package:'}</span>
|
||||
{if $order->recyclable}
|
||||
<img src="../img/admin/enabled.gif" />
|
||||
{else}
|
||||
<img src="../img/admin/disabled.gif" />
|
||||
{/if}
|
||||
</div>
|
||||
<div style="float: left; margin-right: 10px;">
|
||||
<span class="bold">{l s='Gift wrapping:'}</span>
|
||||
{if $order->gift}
|
||||
<img src="../img/admin/enabled.gif" />
|
||||
</div>
|
||||
<div style="clear: left; margin: 0px 42px 0px 42px; padding-top: 2px;">
|
||||
{if $order->gift_message}
|
||||
<div style="border: 1px dashed #999; padding: 5px; margin-top: 8px;"><b>{l s='Message:'}</b><br />{$order->gift_message|nl2br}</div>
|
||||
{/if}
|
||||
{else}
|
||||
<img src="../img/admin/disabled.gif" />
|
||||
{/if}
|
||||
</div>
|
||||
</fieldset> -->
|
||||
{/block}
|
||||
|
||||
Reference in New Issue
Block a user