fix reducing v2

This commit is contained in:
MUHD HAFIFIE
2021-04-22 14:29:43 +08:00
parent 7bf66c7a04
commit 045b984a08
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -757,7 +757,7 @@ class TebusController extends Controller
->where('transaksi_keuntungan.tarikh_bayaran' ,'>=', $dateRM)
->whereYear('tarikh_bayaran','=',$current->year)
->whereNotNull('db2.hargajualan')
->sum('bayaran_keuntungan');
->sum('keuntungan_rebet');
$total = $keuntungan + $keuntunganreducing;