From 3dbd356d2f3be701859c81bde44420ca2b41d982 Mon Sep 17 00:00:00 2001 From: MuzakkiABBAUF Date: Thu, 18 Sep 2025 16:07:27 +0700 Subject: [PATCH] fix bug --- .../admin/kategori_fitur/index.blade.php | 8 +- .../views/admin/templates/index.blade.php | 229 ++++++++++-------- 2 files changed, 131 insertions(+), 106 deletions(-) diff --git a/backend/resources/views/admin/kategori_fitur/index.blade.php b/backend/resources/views/admin/kategori_fitur/index.blade.php index 32b7618..6d439c2 100644 --- a/backend/resources/views/admin/kategori_fitur/index.blade.php +++ b/backend/resources/views/admin/kategori_fitur/index.blade.php @@ -41,16 +41,16 @@ - + - @forelse ($kategoriFitur as $item) + @forelse ($kategoriFitur as $index => $item)
IDNo Deskripsi Aksi
- {{ $item->id }} + {{ ($kategoriFitur->currentPage() - 1) * $kategoriFitur->perPage() + $loop->iteration }} {{ $item->deskripsi }} @@ -287,4 +287,4 @@ }); }); -@endsection +@endsection \ No newline at end of file diff --git a/backend/resources/views/admin/templates/index.blade.php b/backend/resources/views/admin/templates/index.blade.php index 6ce88f4..71636f8 100644 --- a/backend/resources/views/admin/templates/index.blade.php +++ b/backend/resources/views/admin/templates/index.blade.php @@ -282,124 +282,149 @@ @endif - -@foreach ($templates as $template) -