Incorrect Journal Balance (sales invoice) when many decimals in tax and price.
[fa-stable.git] / js / payalloc.js
index 1bd818c1864fc27859e0ae86c1f9f0dd7fb821c9..a711e603cb40daf97dcc8924cefb339c5714eabd 100644 (file)
@@ -56,7 +56,7 @@ function allocate_none(doc) {
 
 var allocations = {
        '.amount': function(e) {
-               if(e.name == 'allocated_amount')
+               if(e.name == 'allocated_amount' || e.name == 'bank_amount')
                {
                  e.onblur = function() {
                        var dec = this.getAttribute("dec");