Topic: NEW LINE BUG IN INVENTORY LOCATION TRANSFER

When you add an item with editable description to the inventory location transfer form, the new line description field comes as a inputbox instead of dropdown making it hard to select another item.
Fix:

In transfers.php file,

add

unset($_POST['stock_id']);

to the handle_new_item() function

function handle_new_item()
{
    if (!isset($_POST['std_cost']))
           $_POST['std_cost'] = 0;
    add_to_order($_SESSION['transfer_items'], $_POST['stock_id'], input_num('qty'), $_POST['std_cost']);
        unset($_POST['stock_id']);
    line_start_focus();
}

Re: NEW LINE BUG IN INVENTORY LOCATION TRANSFER

@joe: is this necessary?

Re: NEW LINE BUG IN INVENTORY LOCATION TRANSFER

Yes, it is necessary. The Stock Item List is Not showing again. Fixed and committed to stable.

/Joe