Fix TRBAS Tahun Berlaku

This commit is contained in:
Pusdatin BPKD Jkt
2023-01-12 10:21:54 +07:00
parent d5fe9b9d8a
commit cd80b7e00d
3 changed files with 6 additions and 2 deletions
@@ -109,6 +109,7 @@ class MappingDbhSkpdController extends Controller
$srcTA = $post["srcTA"];
$select = DB::raw("ID, KODE_REKENING, NAMA_REKENING");
$sqlstr = VwRekeningPendapatan::select($select);
$sqlstr->whereRaw("TAHUN_BERLAKU<=".getTA()." AND TAHUN_BERAKHIR>=".getTA());
$dataTotal = $sqlstr->count();
$data = $sqlstr->orderBy("KODE_REKENING");
if (!empty($src)){