// fix Orders
This commit is contained in:
1 parent
5c605067f0
commit
ba7d9eec21
4 files changed
+45
-42
No files matched your search
@@ -52,15 +52,11 @@
|
|||||||
</label>
|
</label>
|
||||||
<div class="col-lg-9">
|
<div class="col-lg-9">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
{if ($currency->format % 2)}
|
<div class="input-group-addon">
|
||||||
<span id="discount_currency_sign" class="input-group-addon" style="display: none;">{$currency->sign}</span>
|
<span id="discount_currency_sign" style="display: none;">{$currency->sign}</span>
|
||||||
{else}
|
|
||||||
<span id="discount_percent_symbol" class="input-group-addon">%</span>
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
{if !($currency->format % 2)}
|
<span id="discount_percent_symbol">%</span>
|
||||||
<span id="discount_currency_sign" class="input-group-addon" style="display: none;">{$currency->sign}</span>
|
</div>
|
||||||
{/if}
|
|
||||||
<input class="form-control" type="text" name="discount_value"/>
|
<input class="form-control" type="text" name="discount_value"/>
|
||||||
</div>
|
</div>
|
||||||
<p class="text-muted" id="discount_value_help" style="display: none;">
|
<p class="text-muted" id="discount_value_help" style="display: none;">
|
||||||
|
|||||||
@@ -25,34 +25,49 @@
|
|||||||
<tr id="new_product" style="display:none">
|
<tr id="new_product" style="display:none">
|
||||||
<td style="display:none;" colspan="2">
|
<td style="display:none;" colspan="2">
|
||||||
<input type="hidden" id="add_product_product_id" name="add_product[product_id]" value="0" />
|
<input type="hidden" id="add_product_product_id" name="add_product[product_id]" value="0" />
|
||||||
{l s='Product:'} <input type="text" id="add_product_product_name" value=""/>
|
|
||||||
<div id="add_product_product_attribute_area" style="display: none;">
|
<div class="form-group">
|
||||||
{l s='Combinations'} <select name="add_product[product_attribute_id]" id="add_product_product_attribute_id"></select>
|
<label>{l s='Product:'}</label>
|
||||||
|
<div class="input-group">
|
||||||
|
<input type="text" id="add_product_product_name" value=""/>
|
||||||
|
<div class="input-group-addon">
|
||||||
|
<i class="icon-search"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="add_product_product_warehouse_area" style="display: none;">
|
|
||||||
{l s='Warehouse'} <select id="add_product_warehouse" name="add_product_warehouse">
|
<div id="add_product_product_attribute_area" class="form-group" style="display: none;">
|
||||||
</select>
|
<label>{l s='Combinations'}</label>
|
||||||
|
<select name="add_product[product_attribute_id]" id="add_product_product_attribute_id"></select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="add_product_product_warehouse_area" class="form-group" style="display: none;">
|
||||||
|
<label>{l s='Warehouse'}</label>
|
||||||
|
<select id="add_product_warehouse" name="add_product_warehouse"></select>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td style="display:none;">
|
<td style="display:none;">
|
||||||
{if $currency->sign % 2}
|
<div class="form-group">
|
||||||
{$currency->sign}
|
<div class="input-group">
|
||||||
{/if}
|
<div class="input-group-addon">
|
||||||
<input type="text" name="add_product[product_price_tax_excl]" id="add_product_product_price_tax_excl" value="" disabled="disabled" />
|
{$currency->sign}
|
||||||
{if !($currency->sign % 2)}
|
{l s='tax excl.'}
|
||||||
{$currency->sign}
|
</div>
|
||||||
{/if}
|
<input type="text" name="add_product[product_price_tax_excl]" id="add_product_product_price_tax_excl" value="" disabled="disabled" />
|
||||||
{l s='tax excl.'}
|
</div>
|
||||||
<br />
|
</div>
|
||||||
{if $currency->sign % 2}
|
<div class="form-group">
|
||||||
{$currency->sign}
|
<div class="input-group">
|
||||||
{/if}
|
<div class="input-group-addon">
|
||||||
<input type="text" name="add_product[product_price_tax_incl]" id="add_product_product_price_tax_incl" value="" disabled="disabled" />
|
{$currency->sign}
|
||||||
{if !($currency->sign % 2)}
|
{l s='tax incl.'}
|
||||||
{$currency->sign}
|
</div>
|
||||||
{/if}
|
<input type="text" name="add_product[product_price_tax_incl]" id="add_product_product_price_tax_incl" value="" disabled="disabled" />
|
||||||
{l s='tax incl.'}<br />
|
</div>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td style="display:none;" class="productQuantity">
|
<td style="display:none;" class="productQuantity">
|
||||||
<input type="text" name="add_product[product_quantity]" id="add_product_product_quantity" value="1" disabled="disabled" />
|
<input type="text" name="add_product[product_quantity]" id="add_product_product_quantity" value="1" disabled="disabled" />
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -74,6 +74,7 @@
|
|||||||
<i class="icon-comments"></i>
|
<i class="icon-comments"></i>
|
||||||
<span class="title">{l s='Messages'}<br /><small>sous-titre</small></span>
|
<span class="title">{l s='Messages'}<br /><small>sous-titre</small></span>
|
||||||
<span class="value">{sizeof($messages)}</span>
|
<span class="value">{sizeof($messages)}</span>
|
||||||
|
<span class="value"><a href="{$link->getAdminLink('AdminCustomerThreads')|escape:'htmlall':'UTF-8'}">{sizeof($customer_thread_message)}</a></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-3 box-stats color1" >
|
<div class="col-lg-3 box-stats color1" >
|
||||||
<i class="icon-ok"></i>
|
<i class="icon-ok"></i>
|
||||||
@@ -168,15 +169,6 @@
|
|||||||
<i class="icon-print"></i>
|
<i class="icon-print"></i>
|
||||||
{l s='Print order'}
|
{l s='Print order'}
|
||||||
</a>
|
</a>
|
||||||
<hr/>
|
|
||||||
<dl>
|
|
||||||
<dt>
|
|
||||||
<a href="{$link->getAdminLink('AdminCustomerThreads')|escape:'htmlall':'UTF-8'}">{l s='New Customer Messages:'}</a>
|
|
||||||
</dt>
|
|
||||||
<dd>
|
|
||||||
<a href="{$link->getAdminLink('AdminCustomerThreads')|escape:'htmlall':'UTF-8'}">{sizeof($customer_thread_message)}</a>
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -1037,7 +1029,7 @@
|
|||||||
<i class="icon-remove text-danger"></i>
|
<i class="icon-remove text-danger"></i>
|
||||||
{l s='Cancel'}
|
{l s='Cancel'}
|
||||||
</button>
|
</button>
|
||||||
<button type="submit" id="submitMessage" class="btn btn-default" >
|
<button type="submit" id="submitMessage" class="btn btn-default" name="submitMessage">
|
||||||
<i class="icon-ok text-success"></i>
|
<i class="icon-ok text-success"></i>
|
||||||
{l s='Send'}
|
{l s='Send'}
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -1047,7 +1047,7 @@ class AdminOrdersControllerCore extends AdminController
|
|||||||
else
|
else
|
||||||
$this->errors[] = Tools::displayError('You do not have permission to edit this.');
|
$this->errors[] = Tools::displayError('You do not have permission to edit this.');
|
||||||
}
|
}
|
||||||
elseif (Tools::getValue('submitNewVoucher') && isset($order))
|
elseif (Tools::isSubmit('submitNewVoucher') && isset($order))
|
||||||
{
|
{
|
||||||
if ($this->tabAccess['edit'] === '1')
|
if ($this->tabAccess['edit'] === '1')
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user