// Suppliers : Manage multiple suppliers for a product / product attribute + integration with supply orders

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10279 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dSevere committed 2011-11-18 16:29:50 +00:00
1 parent 928e0a5625
commit a24764b9b3
18 files changed
+1196 -568

No files matched your search

@@ -115,7 +115,7 @@
</fieldset>
<script language="javascript">
<script type="text/javascript">
product_infos = null;
debug = null;
if ($('#product_ids').val() == '')
@@ -174,7 +174,7 @@
var id = $(this).attr('id');
var product_id = id.split('|')[1];
//find the position of the product id in product_id array
var position = product_ids.indexOf(product_id);
@@ -182,11 +182,11 @@
{
//remove the id from the array
product_ids.splice(position, 1);
var input_id = $('input[name~="input_id_'+product_id+'"]');
if (input_id.length > 0)
product_ids_to_delete.push(product_id);
// update the product_ids hidden field
$('#product_ids').val(product_ids.join('|'));
$('#product_ids_to_delete').val(product_ids_to_delete.join('|'));
@@ -35,6 +35,10 @@
<td>{l s='Creation date:'}</td>
<td>{$supply_order_creation_date}</td>
</tr>
<tr>
<td>{l s='Supplier:'}</td>
<td>{$supply_order_supplier_name}</td>
</tr>
<tr>
<td>{l s='Last update:'}</td>
<td>{$supply_order_last_update}</td>