X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fincludes%2Fitem_adjustments_ui.inc;h=30e56103bb6407b0d30f98ee37da48644a62e8b7;hb=f12dbe7523bb1abc6cd69b009ef8f0be838f5348;hp=e52395b25cd1a0b498d83e66cfbe02e4cc1f8171;hpb=5cae8206ae7eaf4df4b95b7f2184e2332f85ec8d;p=fa-stable.git diff --git a/inventory/includes/item_adjustments_ui.inc b/inventory/includes/item_adjustments_ui.inc index e52395b2..30e56103 100644 --- a/inventory/includes/item_adjustments_ui.inc +++ b/inventory/includes/item_adjustments_ui.inc @@ -79,7 +79,7 @@ function display_adjustment_items($title, &$order) { alt_table_row_color($k); - label_cell("$stock_item->stock_id"); + view_stock_status_cell($stock_item->stock_id); label_cell($stock_item->item_description); qty_cell($stock_item->quantity, false, get_qty_dec($stock_item->stock_id)); label_cell($stock_item->units); @@ -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');