fix connection to on at line 2121

This commit is contained in:
hafifierahman
2022-11-21 02:30:15 +08:00
parent cd8a33e811
commit cab775a656
+1 -1
View File
@@ -2118,7 +2118,7 @@ class TebusController extends Controller
}else{
if($available_akru[0]['jumlah'] !== ($accrual_net - $total))
{
AkruNet::connection($cawangan['mysql'])->where('bulan','=',(int)$month_sekarang)
AkruNet::on($cawangan['mysql'])->where('bulan','=',(int)$month_sekarang)
->update(['jumlah' => ($accrual_net - $total)]);
}