partial update create toggle active product and mutations

This commit is contained in:
2025-06-02 18:51:04 +07:00
parent 6bf8bc4965
commit a881779c4f
22 changed files with 512 additions and 21 deletions

View File

@@ -26,6 +26,11 @@
<input type="text" name="name" id="name" class="form-control" required>
</div>
<div class="form-group">
<label for="unit"><strong>Satuan Produk</strong></label>
<input type="text" name="unit" id="unit" class="form-control" required>
</div>
<div class="form-group">
<label for="description"><strong>Deskripsi</strong></label>
<textarea name="description" id="description" class="form-control" rows="3"></textarea>

View File

@@ -27,6 +27,11 @@
<input type="text" name="name" id="name" class="form-control" value="{{ old('name', $product->name) }}" required>
</div>
<div class="form-group">
<label for="unit"><strong>Satuan Produk</strong></label>
<input type="text" name="unit" id="unit" class="form-control" value="{{ old('unit', $product->unit) }}" required>
</div>
<div class="form-group">
<label for="description"><strong>Deskripsi</strong></label>
<textarea name="description" id="description" class="form-control" rows="3">{{ old('description', $product->description) }}</textarea>

View File

@@ -31,6 +31,7 @@
<th>Kode</th>
<th>Nama</th>
<th>Kategori</th>
<th>Satuan</th>
<th>Stok</th>
<th>Aksi</th>
</tr>