fix akru tentang pembaikan today

This commit is contained in:
hafifierahman
2023-01-21 03:30:28 +08:00
parent 0e3e7ee880
commit 8c8ea997bb
2 changed files with 29 additions and 9 deletions
+1 -1
View File
@@ -2134,7 +2134,7 @@ class TebusController extends Controller
}else{
if($available_akru[0]['jumlah'] !== ($accrual_net - $total))
{
AkruNet::on($cawangan['mysql'])->where('bulan','=',(int)$month_sekarang)
AkruNet::on($cawangan['mysql'])->where('bulan','=',(int)$month_sekarang)->where('tahun',$current->year)
->update(['jumlah' => ($accrual_net - $total)]);
}