Merge fix for report group totals

This commit is contained in:
Hillel Coren 2018-04-05 13:17:06 +03:00
parent d3e8a061e0
commit e0ba498976

View File

@ -699,7 +699,7 @@
var subtotal = 0;
$rows.each(function() {
var txt = $(this).find("td").eq(i).text();
subtotal += convertStringToNumber(txt);
subtotal += convertStringToNumber(txt) || 0;
});
$cell.find(".group-count").append(' - ' + label + ': ' + roundToTwo(subtotal, true));
}