How could the sum be by state? I have 3 states, "PAID", "MUST" and "CANCELED". Currently I have the totalized general.
Code to add.
var sum=0;
$('.subtotal').each(function() {
sum += parseFloat($(this).text().replace(/,/g, ''), 10);
})...
asked by
30.06.2018 / 22:47