2022-08-20 13:40:13 +07:00
|
|
|
|
|
|
|
|
|
<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>
|
2022-08-20 22:51:54 +07:00
|
|
|
|
|
|
|
|
|
<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 Kode Barang ..." type="text" name="kode_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 Nup Barang ..." type="text" name="nup">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2022-08-20 13:40:13 +07:00
|
|
|
|
|
|
|
|
|
</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>
|
|
|
|
|
|
2022-08-20 22:51:54 +07:00
|
|
|
|
<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>
|
2022-08-20 22:58:59 +07:00
|
|
|
|
<select name="kategori_simak" class="form-control" required>
|
2022-08-20 22:51:54 +07:00
|
|
|
|
<option value="">-- Pilih Kategori Simak --</option>
|
|
|
|
|
@foreach($kategori_simak as $i)
|
|
|
|
|
<option value="{{ $i->id }}">{{ $i->nama_kategori }}</option>
|
|
|
|
|
@endforeach
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2022-08-20 13:40:13 +07:00
|
|
|
|
<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>
|
2022-08-20 22:51:54 +07:00
|
|
|
|
<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-money-check"></i></span>
|
|
|
|
|
</div>
|
|
|
|
|
<input class="form-control" required placeholder="inputkan Harga Barang ..." type="number" name="harga_barang">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2022-08-20 13:40:13 +07:00
|
|
|
|
<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>
|