mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge fix for report group totals
This commit is contained in:
parent
d3e8a061e0
commit
e0ba498976
@ -699,7 +699,7 @@
|
|||||||
var subtotal = 0;
|
var subtotal = 0;
|
||||||
$rows.each(function() {
|
$rows.each(function() {
|
||||||
var txt = $(this).find("td").eq(i).text();
|
var txt = $(this).find("td").eq(i).text();
|
||||||
subtotal += convertStringToNumber(txt);
|
subtotal += convertStringToNumber(txt) || 0;
|
||||||
});
|
});
|
||||||
$cell.find(".group-count").append(' - ' + label + ': ' + roundToTwo(subtotal, true));
|
$cell.find(".group-count").append(' - ' + label + ': ' + roundToTwo(subtotal, true));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user