[0000609] Invalid costing results when changing PO rate and [0000635] Over received...
[fa-stable.git] / purchasing / includes / ui / po_ui.inc
index c7f8d2a926ed79a8fce27c8ca2fb13931c7f78cf..d0aa40acb3edab8a2321bafad10ab610ce6df20f 100644 (file)
@@ -423,8 +423,11 @@ function po_item_controls(&$order, &$rowcounter, $line_no=-1)
        label_cell($_POST['units'], '', 'units');
        if ($order->trans_type == ST_PURCHORDER)
                date_cells(null, 'req_del_date', '', null, 0, 0, 0);
-       if ($qty_rcvd > 0)      
+       if ($qty_rcvd > 0)
+       {
                amount_decimal_cell($_POST['price']);
+               hidden('price', $_POST['price']);
+       }       
        else    
                amount_cells(null, 'price', null, null, null, $dec2);