X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=js%2Fallocate.js;h=a47e8b02d2e629146988b9d170d79e0c3dbc8db9;hb=128be63f9ae68744f37eae8072f95d0f524f86b4;hp=707bdf8ef841afd4ff4c9fc94a7d2aa45ccffc13;hpb=0e9e4cf4f01431531dfed299bb501955bb0818ed;p=fa-stable.git diff --git a/js/allocate.js b/js/allocate.js index 707bdf8e..a47e8b02 100644 --- a/js/allocate.js +++ b/js/allocate.js @@ -29,6 +29,21 @@ function blur_alloc(i) { price_format('total_allocated', total, user.pdec, 1, 1); } +function update_totals() { + var amount = 0; + var discount = 0; + + for (var i=0; i