Changeset 23054
- Timestamp:
- 2013/08/11 17:39:23 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/Smarty/templates/admin/order/edit.tpl
r23024 r23054 88 88 } 89 89 }); 90 91 function quantityCopyForSingleShipping(product_index){ 92 var product_index = parseInt(product_index); 93 var input_quantity = $('input[name^="quantity[' + product_index + ']"]').val(); 94 $('input[name^="shipment_quantity[0][' + product_index + ']"]').val(input_quantity); 95 } 90 96 91 97 //--> … … 364 370 <!--{assign var=key value="quantity"}--> 365 371 <span class="attention"><!--{$arrErr[$key][$product_index]}--></span> 366 <input type="text" name="<!--{$key}-->[<!--{$product_index}-->]" value="<!--{$arrForm[$key].value[$product_index]|h}-->" size="3" class="box3" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key][$product_index]|sfGetErrorColor}-->" id="<!--{$key}-->_<!--{$product_index}-->" />372 <input type="text" name="<!--{$key}-->[<!--{$product_index}-->]" value="<!--{$arrForm[$key].value[$product_index]|h}-->" size="3" class="box3" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key][$product_index]|sfGetErrorColor}-->" id="<!--{$key}-->_<!--{$product_index}-->" onChange="quantityCopyForSingleShipping('<!--{$product_index}-->')" /> 367 373 </td> 368 374 <!--{assign var=price value=`$arrForm.price.value[$product_index]`}-->
Note: See TracChangeset
for help on using the changeset viewer.