This commit is contained in:
izuddin
2025-07-15 10:17:59 +07:00
parent 43625e5431
commit 937afce4b8
8 changed files with 22 additions and 14 deletions
@@ -16,10 +16,10 @@ class RolessController extends Controller
public function index()
{
$data = Roless::where("name","<>","superadmin")->latest()->paginate(10);
$data = Roless::where("name","<>","superadmin")->orderBy("id")->paginate(15);
return view('admin.mst_role.index',compact('data'))
->with('i', (request()->input('page', 1) - 1) * 10);
->with('i', (request()->input('page', 1) - 1) * 15);
}
public function create()