Develop realisasi belanja dbh

This commit is contained in:
Pusdatin BPKD Jkt
2022-07-18 16:38:09 +07:00
parent 3036b133fe
commit d05779485b
17 changed files with 419 additions and 116 deletions
+2 -1
View File
@@ -24,7 +24,8 @@ class SkpdController extends Controller
if($request->has('q')){
$search = strtoupper($request->q);
$tropd = Tropd::select(["I_ID as id","N_OPD as name"])
$select = DB::raw("I_ID,I_ID||' | '||N_OPD as name");
$tropd = Tropd::select($select)
->where('N_OPD', 'LIKE', "%$search%")
->get();
}