Merge branch 'dev' of https://github.com/updidev/bpkd-sidata into dev
This commit is contained in:
@@ -182,10 +182,12 @@ class ItemSearchController extends Controller
|
||||
public function sts(Request $request)
|
||||
{
|
||||
$no_skprd = $request->no_skprd;
|
||||
$kode_akun = $request->kode_akun;
|
||||
$select = DB::raw("NO_SKPRD,TGL_VALIDASI,KODE_BAS,NILAI_BAYAR,TRBAS.N_AKUN");
|
||||
$sts = Siesetpembayaran::select($select)
|
||||
->join("NEWSIPKD.TRBAS", "SI_ESET_PEMBAYARAN.KODE_BAS", "=", "TRBAS.C_AKUN")
|
||||
->where("NO_SKPRD", $no_skprd)
|
||||
->where("SI_ESET_PEMBAYARAN.KODE_BAS", $kode_akun)
|
||||
->whereRaw("C_TAHUN_BERLAKU<=" . getTA() . " AND C_TAHUN_BERAKHIR>=" . getTA())
|
||||
->first();
|
||||
if ($sts) {
|
||||
|
||||
Reference in New Issue
Block a user