Added printing in final menu.
[fa-stable.git] / inventory / includes / item_adjustments_ui.inc
index 61c9daf6eb207375dde24ad8dc7cb81b0522db99..30e56103bb6407b0d30f98ee37da48644a62e8b7 100644 (file)
@@ -125,13 +125,13 @@ function adjustment_edit_item_controls(&$order, $line_no=-1)
 
                hidden('stock_id', $_POST['stock_id']);
                label_cell($_POST['stock_id']);
-               label_cell($order->line_items[$id]->item_description);
+               label_cell($order->line_items[$id]->item_description, 'nowrap');
            $Ajax->activate('items_table');
        }
        else
        {
        stock_costable_items_list_cells(null, 'stock_id', null, false, true);
-               if(isset($_POST['_stock_id_update'])) {
+               if (list_updated('stock_id')) {
                            $Ajax->activate('units');
                            $Ajax->activate('qty');
                            $Ajax->activate('std_cost');