diff --git a/app/Http/Controllers/ItemSearchController.php b/app/Http/Controllers/ItemSearchController.php index 585e3b9..1382759 100644 --- a/app/Http/Controllers/ItemSearchController.php +++ b/app/Http/Controllers/ItemSearchController.php @@ -187,7 +187,7 @@ class ItemSearchController extends Controller $sts = Siesetpembayaran::select($select) ->join("NEWSIPKD.TRBAS", "SI_ESET_PEMBAYARAN.KODE_BAS", "=", "TRBAS.C_AKUN") ->where("NO_SKPRD", $no_skprd) - ->where("SI_ESET_PEMBAYARAN.C_AKUN", $kode_akun) + ->where("SI_ESET_PEMBAYARAN.KODE_BAS", $kode_akun) ->whereRaw("C_TAHUN_BERLAKU<=" . getTA() . " AND C_TAHUN_BERAKHIR>=" . getTA()) ->first(); if ($sts) {