// small changes on orders view

This commit is contained in:
Rémi Gaillard
2013-10-23 11:59:28 +02:00
parent 5ee716ff9e
commit 8662ef12b4
2 changed files with 13 additions and 13 deletions
@@ -48,6 +48,7 @@
var txt_add_product_no_product_price = "{l s='Error: Product price must be set' js=1}";
var txt_confirm = "{l s='Are you sure?' js=1}";
var statesShipped = new Array();
var has_voucher = {if count($discounts)}1{else}0{/if};
{foreach from=$states item=state}
{if (!$currentState->shipped && $state['shipped'])}
statesShipped.push({$state['id_order_state']});
@@ -927,7 +928,7 @@
</table>
{if $can_edit}
<div class="row-margin-bottom">
<div class="row-margin-bottom order_action">
{if !$order->hasBeenDelivered()}
<button type="button" id="add_product" class="btn btn-default">
<i class="icon-plus-sign"></i>
@@ -952,8 +953,7 @@
</div>
</div>
<div class="col-lg-6">
<div class="panel">
<div class="panel panel-vouchers" style="{if !sizeof($discounts)}display:none;{/if}">
{if (sizeof($discounts) || $can_edit)}
<table class="table">
<thead>