id()) ->orderBy('updated_at', 'desc'); return inertia('Paylater/Index', [ 'histories' => $histories->paginate(20), ]); } public function show(Request $request, PaylaterHistory $paylater) { return inertia('Paylater/Detail', [ 'paylater' => $paylater, ]); } public function create() { } public function store() { } }