X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fmanage%2Fgl_quick_entries.php;fp=gl%2Fmanage%2Fgl_quick_entries.php;h=87e770c4f89ffa5763cc5dee91301df01d33b99c;hb=37ba5299c81859f2108e93d8cfb29051108168b1;hp=2e1797b9467c658a82ae5290e3765a3a3e379139;hpb=2b6fac804f0858c3f191cceaf6237d7f12c7462c;p=fa-stable.git diff --git a/gl/manage/gl_quick_entries.php b/gl/manage/gl_quick_entries.php index 2e1797b9..87e770c4 100644 --- a/gl/manage/gl_quick_entries.php +++ b/gl/manage/gl_quick_entries.php @@ -214,8 +214,9 @@ if ($selected_id != -1) $_POST['description'] = $myrow["description"]; $_POST['type'] = $myrow["type"]; $_POST['base_desc'] = $myrow["base_desc"]; - $_POST['base_amount'] = price_format($myrow["base_amount"]); $_POST['bal_type'] = $myrow["bal_type"]; + $_POST['base_amount'] = $myrow["bal_type"] ? + $myrow["base_amount"] : price_format($myrow["base_amount"]); } hidden('selected_id', $selected_id); }