projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed so input of account type is possible (like classes)
[fa-stable.git]
/
manufacturing
/
includes
/
work_order_issue_ui.inc
diff --git
a/manufacturing/includes/work_order_issue_ui.inc
b/manufacturing/includes/work_order_issue_ui.inc
index 8508364eb62f12674d5484ccaf9460d42e3378fe..87ecf5e5fcca3513e6b978f146dcd147e9f06e44 100644
(file)
--- a/
manufacturing/includes/work_order_issue_ui.inc
+++ b/
manufacturing/includes/work_order_issue_ui.inc
@@
-102,7
+102,8
@@
function issue_edit_item_controls(&$order, $line_no=-1)
$item_info = get_item_edit_info($_POST['stock_id']);
$item_info = get_item_edit_info($_POST['stock_id']);
- $_POST['qty'] = qty_format(0, $_POST['stock_id'], $dec);
+ $dec = $item_info["decimals"];
+ $_POST['qty'] = number_format2(0, $dec);
$_POST['std_cost'] = price_format($item_info["standard_cost"]);
$_POST['units'] = $item_info["units"];
}
$_POST['std_cost'] = price_format($item_info["standard_cost"]);
$_POST['units'] = $item_info["units"];
}