X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=js%2Fbudget.js;h=6e8f96709a19e6131a66db6d483a267bfba5baf1;hb=268a54dcfd08aff7113bc3afe8b784f36db2d0d4;hp=ad3700748fa3b501b4cc32ade2ad217655cf6c48;hpb=a5242af68e65661edb7175412444dce536a7f311;p=fa-stable.git diff --git a/js/budget.js b/js/budget.js index ad370074..6e8f9670 100644 --- a/js/budget.js +++ b/js/budget.js @@ -17,7 +17,6 @@ function blur_budget(i) { var amount = get_amount(i.name); var total = get_amount('Total', 1); - if(amount<0) amount = 0; price_format(i.name, amount, 0); price_format('Total', total+amount-i.getAttribute('_last'), 0, 1, 1); }