This commit is contained in:
izuddin
2025-02-18 12:04:46 +07:00
parent 58683bcfca
commit c0230b056b
@@ -187,7 +187,7 @@ class ItemSearchController extends Controller
$sts = Siesetpembayaran::select($select) $sts = Siesetpembayaran::select($select)
->join("NEWSIPKD.TRBAS", "SI_ESET_PEMBAYARAN.KODE_BAS", "=", "TRBAS.C_AKUN") ->join("NEWSIPKD.TRBAS", "SI_ESET_PEMBAYARAN.KODE_BAS", "=", "TRBAS.C_AKUN")
->where("NO_SKPRD", $no_skprd) ->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()) ->whereRaw("C_TAHUN_BERLAKU<=" . getTA() . " AND C_TAHUN_BERAKHIR>=" . getTA())
->first(); ->first();
if ($sts) { if ($sts) {