update ringkasan harian services untuk KPI ppc

This commit is contained in:
BTMS2
2024-10-17 11:58:02 +08:00
parent ea8a97eec8
commit 2faf3907fe
@@ -1423,6 +1423,7 @@ class RingkasanHarianService
$total_keuntungan_online = $this->getTotalKeuntunganOnline(); $total_keuntungan_online = $this->getTotalKeuntunganOnline();
$upahsimpankaunter = $this->getUpahSimpanKaunter(); $upahsimpankaunter = $this->getUpahSimpanKaunter();
$keuntungansebenarkaunter = $this->getKeuntunganSebenarKaunter(); $keuntungansebenarkaunter = $this->getKeuntunganSebenarKaunter();
$totalpenebusan = $this->getTotalPenebusan();
array_push($laporan_harian, [ array_push($laporan_harian, [
'total_gadai' => $total_gadai, 'total_gadai' => $total_gadai,
@@ -1431,6 +1432,7 @@ class RingkasanHarianService
'total_keuntungan_online' => $total_keuntungan_online, 'total_keuntungan_online' => $total_keuntungan_online,
'upahsimpankaunter' => $upahsimpankaunter, 'upahsimpankaunter' => $upahsimpankaunter,
'keuntungansebenarkaunter' => $keuntungansebenarkaunter, 'keuntungansebenarkaunter' => $keuntungansebenarkaunter,
'total_tebus' => $totalpenebusan,
]); ]);
return response()->json($laporan_harian); return response()->json($laporan_harian);