Update Master Komoditas
This commit is contained in:
@@ -18,6 +18,7 @@ class Komoditas extends Model
|
|||||||
|
|
||||||
protected $fillable = [
|
protected $fillable = [
|
||||||
'nama',
|
'nama',
|
||||||
|
'kode',
|
||||||
'created_by',
|
'created_by',
|
||||||
'updated_by',
|
'updated_by',
|
||||||
'deleted_by',
|
'deleted_by',
|
||||||
|
|||||||
@@ -49,6 +49,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th>No</th>
|
<th>No</th>
|
||||||
<th>Nama Komoditas</th>
|
<th>Nama Komoditas</th>
|
||||||
|
<th>Kode Komoditas</th>
|
||||||
<th>Aksi</th>
|
<th>Aksi</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@@ -57,6 +58,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>{{ $komoditas->firstItem() + $index }}</td>
|
<td>{{ $komoditas->firstItem() + $index }}</td>
|
||||||
<td><span class="text-heading fw-medium">{{ $item->nama }}</span></td>
|
<td><span class="text-heading fw-medium">{{ $item->nama }}</span></td>
|
||||||
|
<td><span class="text-heading fw-medium">{{ $item->kode }}</span></td>
|
||||||
<td>
|
<td>
|
||||||
<div class="d-flex align-items-center">
|
<div class="d-flex align-items-center">
|
||||||
<a href="javascript:;" class="btn btn-icon btn-text-secondary rounded-pill view-record" data-id="{{ $item->id }}"><i class="ti tabler-eye ti-md"></i></a>
|
<a href="javascript:;" class="btn btn-icon btn-text-secondary rounded-pill view-record" data-id="{{ $item->id }}"><i class="ti tabler-eye ti-md"></i></a>
|
||||||
|
|||||||
Reference in New Issue
Block a user