<div class="modal" id="modal-form_create" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" >
   <div class="modal-dialog modal-lg">
      <div class="modal-content">
     
<form class="form-horizontal" data-toggle="validator" method="post">
   {{ csrf_field() }} {{ method_field('POST') }}
   
   <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"> &times; </span> </button>
      <h6 class="modal-title">Stock Opname</h6>
   </div>
   <br>
   
    <div style="padding:5px 40px;">
    
    <input type="hidden" id="id" name="id">
    
    <h5 class="text-center">Tanggal Opname: {{ tanggal_indonesia(date('Y-m-d'), false) }}</h5>
    <br>
   
    <div class="form-group">
        <label>Gudang</label>
        <select id="gdg" type="text" class="form-control" name="gdg" autofocus required>
        <option value=""> -- Pilih Gudang -- </option>
        @foreach($gdg as $list)
            <option value="{{ $list->id }}">{{ $list->kode." - ".$list->nama }}</option>
	    @endforeach	
        </select>
    </div>
    
    <div class="form-group">
        <label>Keterangan</label>
        <textarea id="ket" name="ket" class="form-control" rows="4" autofocus></textarea>
        <small class="text-muted">Keterangan tambahan untuk Stock Opname</small>
    </div>
    
    <div class="modal-footer">
        <button  id="submit-control" type="submit" class="btn btn-primary btn-save pull-right"><i class="fa fa-floppy-o"></i> Save </button> 
        <button type="button" class="btn btn-warning btn-close pull-right" data-dismiss="modal"><i class="fa fa-times-circle"></i> Cancel </button>
    </div>
  
</form>

            </div>
        </div>
    </div>
</div>
