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
@@ -126,7 +126,7 @@
<th>Lokasi</th>
<th>Luas (Ha/m2)</th>
<th>GeoJSON</th>
<th>Actions</th>
<th>Aksi</th>
</tr>
</thead>
<tbody>
@@ -166,9 +166,9 @@
</td>
<td>
<div class="d-flex align-items-center">
<a href="{{ route('lahan-cpcl.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-cpcl.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-cpcl.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>
@@ -131,9 +131,9 @@
<td><span class="text-muted">{{ $p->desaKelurahan?->nama }}, {{ $p->desaKelurahan?->kecamatan?->nama }}, {{ $p->desaKelurahan?->kecamatan?->kabupatenKota?->nama }}, {{ $p->desaKelurahan?->kecamatan?->kabupatenKota?->provinsi?->nama }}</span></td>
<td>
<div class="d-flex align-items-center">
<a href="{{ route('petani-cpm.show', $p->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-cpm.edit', [$p->id, 'program_id' => $p->program_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="{{ $p->id }}" data-nama="{{ $p->nama }}"><i class="ti tabler-trash ti-md"></i></a>
<a href="{{ route('petani-cpm.show', $p->id) }}" class="btn btn-icon btn-text-secondary rounded-pill view-record"><i class="ti tabler-eye ti-md"></i></a>
</div>
</td>
</tr>
@@ -68,9 +68,9 @@
<i class="ti tabler-arrow-down"></i>
</button>
@endif
<a href="{{ route('tabel.show', $tbl->id) }}" class="btn btn-icon btn-text-secondary rounded-pill view-record"><i class="ti tabler-eye ti-md"></i></a>
<a href="{{ route('tabel.edit', $tbl->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="{{ $tbl->id }}" data-nama="{{ $tbl->nama }}"><i class="ti tabler-trash ti-md"></i></a>
<a href="{{ route('tabel.show', $tbl->id) }}" class="btn btn-icon btn-text-secondary rounded-pill view-record"><i class="ti tabler-eye ti-md"></i></a>
</div>
</td>
</tr>