partial update create toggle active product and mutations
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
<th>Kode</th>
|
||||
<th>Nama</th>
|
||||
<th>Kategori</th>
|
||||
<th>Satuan</th>
|
||||
<th>Stok</th>
|
||||
<th>Aksi</th>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user