116 lines
5.2 KiB
PHP
116 lines
5.2 KiB
PHP
|
|
|||
|
<div class="modal fade" id="modal_add" tabindex="-1" role="dialog" aria-labelledby="modal_add" aria-hidden="true">
|
|||
|
<div class="modal-dialog modal-lg modal-" role="document">
|
|||
|
<div class="modal-content">
|
|||
|
|
|||
|
<div class="modal-header">
|
|||
|
<h2 class="modal-title" id="modal-title-default">Tambah Barang</h2>
|
|||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|||
|
<span aria-hidden="true">×</span>
|
|||
|
</button>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="modal-body">
|
|||
|
|
|||
|
<div class="text-center text-muted mb-4">
|
|||
|
<small></small>
|
|||
|
</div>
|
|||
|
<form role="form" action="<?= route('barang.store') ?>" method="post">
|
|||
|
@csrf
|
|||
|
<div class="row">
|
|||
|
|
|||
|
<div class="form-group mb-3 col-6">
|
|||
|
<div class="input-group input-group-alternative">
|
|||
|
<div class="input-group-prepend">
|
|||
|
<span class="input-group-text"><i class="fas fa-list"></i></span>
|
|||
|
</div>
|
|||
|
<input class="form-control" required placeholder="inputkan Nama Barang ..." type="text" name="nama_barang">
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="form-group mb-3 col-6">
|
|||
|
<div class="input-group input-group-alternative">
|
|||
|
<div class="input-group-prepend">
|
|||
|
<span class="input-group-text"><i class="fas fa-list"></i></span>
|
|||
|
</div>
|
|||
|
<input class="form-control" required placeholder="inputkan Serial Number ..." type="text" name="serial_number">
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="form-group mb-3">
|
|||
|
<div class="input-group input-group-alternative">
|
|||
|
<div class="input-group-prepend">
|
|||
|
<span class="input-group-text"><i class="fas fa-map-marker"></i></span>
|
|||
|
</div>
|
|||
|
<input class="form-control" required placeholder="inputkan Nama Lokasi Akurat ..." type="text" name="lokasi">
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="form-group mb-3">
|
|||
|
<div class="input-group input-group-alternative">
|
|||
|
<div class="input-group-prepend">
|
|||
|
<span class="input-group-text"> <i class="fas fa-list"></i> Tanggal Masuk :</span>
|
|||
|
</div>
|
|||
|
<input class="form-control" required placeholder="inputkan ..." type="date" name="tanggal_masuk">
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="row">
|
|||
|
<div class="form-group mb-3 col-6">
|
|||
|
<div class="input-group input-group-alternative">
|
|||
|
<div class="input-group-prepend">
|
|||
|
<span class="input-group-text"> <i class="fas fa-list"></i></span>
|
|||
|
</div>
|
|||
|
<select name="jenis_barang" class="form-control" required>
|
|||
|
<option value="">-- Pilih Jenis Barang --</option>
|
|||
|
@foreach($jenis_barang as $i)
|
|||
|
<option value="{{ $i->id }}">{{ $i->nama_jenis }}</option>
|
|||
|
@endforeach
|
|||
|
</select>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="form-group mb-3 col-6">
|
|||
|
<div class="input-group input-group-alternative">
|
|||
|
<div class="input-group-prepend">
|
|||
|
<span class="input-group-text"> <i class="fas fa-list"></i></span>
|
|||
|
</div>
|
|||
|
<select name="satuan_barang" class="form-control" required>
|
|||
|
<option value="">-- Pilih Satuan Barang --</option>
|
|||
|
@foreach($satuan_barang as $i)
|
|||
|
<option value="{{ $i->id }}">{{ $i->nama_satuan }}</option>
|
|||
|
@endforeach
|
|||
|
</select>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="form-group mb-3">
|
|||
|
<div class="input-group input-group-alternative">
|
|||
|
<div class="input-group-prepend">
|
|||
|
<span class="input-group-text"><i class="fas fa-list"></i></span>
|
|||
|
</div>
|
|||
|
<input class="form-control" required placeholder="inputkan Jumlah Barang ..." type="number" name="jumlah">
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="form-group mb-3">
|
|||
|
<div class="input-group input-group-alternative">
|
|||
|
<div class="input-group-prepend">
|
|||
|
<span class="input-group-text"><i class="fas fa-list"></i></span>
|
|||
|
</div>
|
|||
|
<textarea class="form-control" required placeholder="inputkan Keterangan Barang ..." name="keterangan"></textarea>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="modal-footer">
|
|||
|
<button type="submit" class="btn btn-primary">Simpan </button>
|
|||
|
|
|||
|
</form>
|
|||
|
</div>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|