re-structre actions & lang

This commit is contained in:
2026-07-03 15:07:50 +07:00
parent 5c1fe22fa0
commit bd40cd9357
19 changed files with 193 additions and 48 deletions
@@ -144,7 +144,7 @@
<th>Lokasi</th>
<th>Luas (Ha/m2)</th>
<th>GeoJSON</th>
<th>Actions</th>
<th>Aksi</th>
</tr>
</thead>
<tbody>
@@ -188,9 +188,9 @@
</td>
<td>
<div class="d-flex align-items-center">
<a href="{{ route('lahan.show', $item->id) }}" class="btn btn-icon btn-text-secondary rounded-pill" title="Lihat Peta"><i class="ti tabler-eye ti-md"></i></a>
<a href="{{ route('lahan.edit', $item->id) }}" class="btn btn-icon btn-text-secondary rounded-pill" title="Edit"><i class="ti tabler-edit ti-md"></i></a>
<a href="javascript:;" class="btn btn-icon btn-text-secondary rounded-pill delete-record" data-id="{{ $item->id }}" data-nama="{{ $item->nama }}" title="Hapus"><i class="ti tabler-trash ti-md"></i></a>
<a href="{{ route('lahan.show', $item->id) }}" class="btn btn-icon btn-text-secondary rounded-pill" title="Lihat Peta"><i class="ti tabler-eye ti-md"></i></a>
</div>
</td>
</tr>
@@ -54,9 +54,9 @@
<td>
<div class="d-flex align-items-center">
<a href="{{ route('petani.show', $item->id) }}" class="btn btn-icon btn-text-secondary rounded-pill view-record"><i class="ti tabler-eye ti-md"></i></a>
<a href="{{ route('petani.edit', $item->id) }}" class="btn btn-icon btn-text-secondary rounded-pill edit-record"><i class="ti tabler-edit ti-md"></i></a>
<a href="javascript:;" class="btn btn-icon btn-text-secondary rounded-pill delete-record" data-id="{{ $item->id }}" data-nama="{{ $item->nama }}"><i class="ti tabler-trash ti-md"></i></a>
<a href="{{ route('petani.show', $item->id) }}" class="btn btn-icon btn-text-secondary rounded-pill view-record"><i class="ti tabler-eye ti-md"></i></a>
</div>
</td>
</tr>
@@ -51,7 +51,7 @@
<th>Tanggal Panen</th>
<th>Hasil Panen</th>
<th>Judul</th>
<th>Actions</th>
<th>Aksi</th>
</tr>
</thead>
<tbody>
@@ -67,9 +67,9 @@
<td>{{ $item->title ?? '-' }}</td>
<td>
<div class="d-flex align-items-center">
<a href="{{ route('produksi.show', $item->id) }}" class="btn btn-icon btn-text-secondary rounded-pill"><i class="ti tabler-eye ti-md"></i></a>
<a href="{{ route('produksi.edit', $item->id) }}" class="btn btn-icon btn-text-secondary rounded-pill"><i class="ti tabler-edit ti-md"></i></a>
<a href="javascript:;" class="btn btn-icon btn-text-secondary rounded-pill delete-record" data-id="{{ $item->id }}" data-nama="{{ $detailPanen->commodity_name ?? 'Hasil Panen' }}"><i class="ti tabler-trash ti-md"></i></a>
<a href="{{ route('produksi.show', $item->id) }}" class="btn btn-icon btn-text-secondary rounded-pill"><i class="ti tabler-eye ti-md"></i></a>
</div>
</td>
</tr>