Always show 0.00 in debit column when using display_debit_or_credit
[fa-stable.git] / includes / ui / ui_view.inc
index 4cf763ab284523d57c863ce81336882f7667e288..e2233c026bcb4c83a5a44036d4742500a810bde5 100644 (file)
@@ -358,6 +358,7 @@ function view_stock_status_cell($stock_id, $description=null)
 
 function display_debit_or_credit_cells($value)
 {
+       $value = round2($value, user_price_dec());
        if ($value >= 0)
        {
                amount_cell($value);