diff --git a/resources/views/realisasi_pendapatan/index.blade.php b/resources/views/realisasi_pendapatan/index.blade.php index 4a1fca5..332482b 100644 --- a/resources/views/realisasi_pendapatan/index.blade.php +++ b/resources/views/realisasi_pendapatan/index.blade.php @@ -242,6 +242,14 @@ return a + b * 1; }, 0); + let sum4 = rows.data().pluck("retur").reduce( function (a, b) { + return a + b * 1; + }, 0); + + let sum5 = rows.data().pluck("bersih").reduce( function (a, b) { + return a + b * 1; + }, 0); + let textmuted = index == 1 ? "text-muted":""; let labelGroup = index == 1 ?"JUMLAH | " + group : "TOTAL"; return $("