From cb87a3aa610b60d8fdd55c1a76dde1d225abe991 Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 3 Nov 2022 08:54:40 +0100 Subject: [PATCH] Cost Update - Second parameter in memo was not showing decimals. Fixed. --- inventory/includes/db/items_trans_db.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory/includes/db/items_trans_db.inc b/inventory/includes/db/items_trans_db.inc index 82084da2..b4b3f3bf 100644 --- a/inventory/includes/db/items_trans_db.inc +++ b/inventory/includes/db/items_trans_db.inc @@ -61,7 +61,7 @@ function stock_cost_update($stock_id, $material_cost, $labour_cost, $overhead_co if (empty($memo_)) $cart->memo_ = sprintf(_("Cost was %s changed to %s x quantity on hand of %s"), - number_format2($last_cost, 2), number_format2($new_cost), $qoh); + number_format2($last_cost, user_price_dec()), number_format2($new_cost, user_price_dec()), $qoh); else $cart->memo_ = $memo_; -- 2.30.2