Merge branch 'bootstrap' of https://github.com/PrestaShop/PrestaShop into bootstrap
This commit is contained in:
commit
daa1cc47db
3 files changed
+19
-7
No files matched your search
@@ -133,6 +133,24 @@
|
|||||||
<i class="icon-print"></i>
|
<i class="icon-print"></i>
|
||||||
{l s='Print order'}
|
{l s='Print order'}
|
||||||
</a>
|
</a>
|
||||||
|
{if Configuration::get('PS_ORDER_RETURN')}
|
||||||
|
<a class="btn btn-default" id="desc-order-standard_refund" href="">
|
||||||
|
<i class="icon-exchange"></i>
|
||||||
|
{if $order->hasBeenShipped()}
|
||||||
|
{l s='Return products'}
|
||||||
|
{elseif $order->hasBeenPaid()}
|
||||||
|
{l s='Standard refund'}
|
||||||
|
{else}
|
||||||
|
{l s='Cancel products'}
|
||||||
|
{/if}
|
||||||
|
</a>
|
||||||
|
{/if}
|
||||||
|
{if $order->hasInvoice()}
|
||||||
|
<a class="btn btn-default" id="desc-order-partial_refund" href="">
|
||||||
|
<i class="icon-exchange"></i>
|
||||||
|
{l s='Partial refund'}
|
||||||
|
</a>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<!-- Tab nav -->
|
<!-- Tab nav -->
|
||||||
<ul class="nav nav-tabs" id="tabOrder">
|
<ul class="nav nav-tabs" id="tabOrder">
|
||||||
|
|||||||
@@ -29,12 +29,6 @@ $(function() {
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{if $show_toolbar}
|
|
||||||
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn toolbar_scroll=$toolbar_scroll title=$title}
|
|
||||||
<div class="leadin">{block name="leadin"}{/block}</div>
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
|
|
||||||
{if isset($features)}
|
{if isset($features)}
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
{if !$features}
|
{if !$features}
|
||||||
|
|||||||
@@ -305,7 +305,7 @@ class StockAvailableCore extends ObjectModel
|
|||||||
if (!Validate::isUnsignedId($id_product))
|
if (!Validate::isUnsignedId($id_product))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
$existing_id = StockAvailable::getStockAvailableIdByProductId((int)$id_product, (int)$id_product_attribute, (int)$id_shop);
|
$existing_id = StockAvailable::getStockAvailableIdByProductId((int)$id_product, (int)$id_product_attribute, $id_shop);
|
||||||
if ($existing_id > 0)
|
if ($existing_id > 0)
|
||||||
{
|
{
|
||||||
Db::getInstance()->update(
|
Db::getInstance()->update(
|
||||||
|
|||||||
Reference in new issue
Block a user