Allow fractional entry of Purchase Order Line Price. Upot 6 decimals.
[fa-stable.git] / inventory / purchasing_data.php
index 84b1603e8f962836f066694b5df2bf556e3b3c79..cb3ac40e2030ee8773cbc416ee40976253a3f881 100644 (file)
@@ -211,7 +211,10 @@ else
        supplier_list_row(_("Supplier:"), 'supplier_id', null, false, true);
        $_POST['price'] = $_POST['suppliers_uom'] = $_POST['conversion_factor'] = $_POST['supplier_description'] = "";
 }
-amount_row(_("Price:"), 'price', null,'', get_supplier_currency($selected_id), $dec2);
+echo "<tr>";
+unit_amount_cells(_("Price"), 'price', null, '', get_supplier_currency($selected_id));
+echo "</tr>\n";
+
 text_row(_("Suppliers Unit of Measure:"), 'suppliers_uom', null, 50, 51);
 
 if (!isset($_POST['conversion_factor']) || $_POST['conversion_factor'] == "")