// stock : debug + interfaces optimizations + stockManager update
This commit is contained in:
@@ -189,7 +189,16 @@
|
||||
$('#supplier_order_form').submit();
|
||||
});
|
||||
|
||||
// set autocomplete
|
||||
// bind enter key event on search field
|
||||
$('#cur_product_name').bind('keypress', function(e) {
|
||||
var code = (e.keyCode ? e.keyCode : e.which);
|
||||
if(code == 13) { //Enter keycode
|
||||
e.stopPropagation();//Stop event propagation
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
// set autocomplete on search field
|
||||
$('#cur_product_name').autocomplete("ajax_supplier_order_products_list.php", {
|
||||
delay: 100,
|
||||
minChars: 4,
|
||||
|
||||
@@ -31,7 +31,5 @@ $(function() {
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<fieldset>
|
||||
<legend>{l s='Order'} #{$supplier_order_reference}</legend>
|
||||
{$content}
|
||||
</fieldset>
|
||||
|
||||
{$content}
|
||||
@@ -84,15 +84,15 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{l s='Total TE'}</td>
|
||||
<td align="right">{$supplier_order_currency->prefix} {$supplier_order_total_te} {$supplier_order_currency->suffix}</td>
|
||||
<td align="right">{$supplier_order_total_te}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{l s='Discount'}</td>
|
||||
<td align="right">{$supplier_order_currency->prefix} {$supplier_order_discount_value_te} {$supplier_order_currency->suffix}</td>
|
||||
<td align="right">{$supplier_order_discount_value_te}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{l s='Total with discount TE'}</td>
|
||||
<td align="right">{$supplier_order_currency->prefix} {$supplier_order_total_with_discount_te} {$supplier_order_currency->suffix}</td>
|
||||
<td align="right">{$supplier_order_total_with_discount_te}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#000000"></td>
|
||||
@@ -100,11 +100,11 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{l s='Total Tax'}</td>
|
||||
<td align="right">{$supplier_order_currency->prefix} {$supplier_order_total_tax} {$supplier_order_currency->suffix}</td>
|
||||
<td align="right">{$supplier_order_total_tax}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{l s='Total TI'}</td>
|
||||
<td align="right">{$supplier_order_currency->prefix} {$supplier_order_total_ti} {$supplier_order_currency->suffix}</td>
|
||||
<td align="right">{$supplier_order_total_ti}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#000000"></td>
|
||||
@@ -112,7 +112,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{l s='TOTAL TO PAY'}</td>
|
||||
<td align="right">{$supplier_order_currency->prefix} {$supplier_order_total_ti} {$supplier_order_currency->suffix}</td>
|
||||
<td align="right">{$supplier_order_total_ti}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
Reference in New Issue
Block a user