update button dlm menu laporan dan sorting DESC

This commit is contained in:
Nur Izzati Zulkifli
2023-04-06 10:08:46 +08:00
parent d2dee704eb
commit e55da5ff95
11 changed files with 34 additions and 31 deletions
@@ -35,6 +35,7 @@ class PenggunaController extends Controller
// $alluser = User::all();
$alluser = User::with('roles','cawangan')->whereHas("roles", function($q) {
$q->where("id",'!=', 8);})
->orderBy('name','ASC')
->get();
// dd($alluser);
$allroles = Role::all();