diff --git a/resources/views/reports/report_builder.blade.php b/resources/views/reports/report_builder.blade.php index 79dbfc009ba0..990832c14d9f 100644 --- a/resources/views/reports/report_builder.blade.php +++ b/resources/views/reports/report_builder.blade.php @@ -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)); }