This commit is contained in:
Mike Jolley 2012-11-10 16:25:18 +00:00
parent 1534ca50ff
commit ca6a204b21
3 changed files with 3 additions and 5 deletions

View File

@ -414,9 +414,6 @@ function woocommerce_order_items_meta_box( $post ) {
<option value="reduce_stock"><?php _e( 'Reduce Line Stock', 'woocommerce' ); ?></option> <option value="reduce_stock"><?php _e( 'Reduce Line Stock', 'woocommerce' ); ?></option>
<option value="increase_stock"><?php _e( 'Increase Line Stock', 'woocommerce' ); ?></option> <option value="increase_stock"><?php _e( 'Increase Line Stock', 'woocommerce' ); ?></option>
</optgroup> </optgroup>
<optgroup label="<?php _e( 'Fees', 'woocommerce' ); ?>"></option>
<option value="add_fee"><?php _e( 'Add Fee', 'woocommerce' ); ?></option>
</optgroup>
</select> </select>
<button type="button" class="button do_bulk_action"><?php _e( 'Apply', 'woocommerce' ); ?></button> <button type="button" class="button do_bulk_action"><?php _e( 'Apply', 'woocommerce' ); ?></button>
@ -426,6 +423,7 @@ function woocommerce_order_items_meta_box( $post ) {
<select id="add_item_id" class="ajax_chosen_select_products_and_variations" multiple="multiple" data-placeholder="<?php _e( 'Search for a product&hellip;', 'woocommerce' ); ?>" style="width: 400px"></select> <select id="add_item_id" class="ajax_chosen_select_products_and_variations" multiple="multiple" data-placeholder="<?php _e( 'Search for a product&hellip;', 'woocommerce' ); ?>" style="width: 400px"></select>
<button type="button" class="button add_order_item"><?php _e( 'Add item(s)', 'woocommerce' ); ?></button> <button type="button" class="button add_order_item"><?php _e( 'Add item(s)', 'woocommerce' ); ?></button>
<button type="button" class="button add_order_fee"><?php _e( 'Add fee', 'woocommerce' ); ?></button>
</p> </p>
<p class="buttons buttons-alt"> <p class="buttons buttons-alt">
<button type="button" class="button calc_line_taxes"><?php _e( 'Calc line tax &uarr;', 'woocommerce' ); ?></button> <button type="button" class="button calc_line_taxes"><?php _e( 'Calc line tax &uarr;', 'woocommerce' ); ?></button>

View File

@ -538,7 +538,7 @@ jQuery( function($){
$(selected_rows).each( function() { $(selected_rows).each( function() {
var $item = $(this).closest('tr.item'); var $item = $(this).closest('tr.item, tr.fee');
var data = { var data = {
order_item_id: $item.attr( 'data-order_item_id' ), order_item_id: $item.attr( 'data-order_item_id' ),

File diff suppressed because one or more lines are too long