This commit is contained in:
Pusdatin BPKD Jkt
2023-07-31 14:51:37 +07:00
parent de597eb086
commit daba748fb1
5 changed files with 36 additions and 11 deletions
@@ -90,7 +90,7 @@ class MstJenisDanaController extends Controller
$select = DB::raw("ID,NAME,GRUP");
$sqlstr = MstJenisDana::select($select);
$dataTotal = $sqlstr->count();
$data = $sqlstr->orderBy("GRUP","DESC");
$data = $sqlstr->orderBy("ID","ASC");
if (!empty($src)){
$data->whereRaw(" ( lower(NAME) like '%$src%' ) ");
}