<div class="modal" id="modal-form_edit" tabindex="0" 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="submit" class="btn btn-primary btn-save"><i class="fa fa-floppy-o"></i> Save </button> &nbsp;&nbsp;
      <button type="button" class="btn btn-warning btn-close" data-dismiss="modal"><i class="fa fa-times-circle"></i> Cancel </button>
   </div>            

<!-- <div class="modal-body"> -->
   
   <input type="hidden" id="id" name="id">
 
   <div class="form-group">
      <label for="nama" class="col-sm-3 control-label">NAMA BARANG</label>
      <div class="col-sm-8">
         <input id="nama" type="text" class="form-control" name="nama" autofocus required autocomplete="off">
      </div>
   </div>
   
   <div class="form-group">
      <label for="struk" class="col-md-3 control-label">NAMA STRUK</label>
      <div class="col-md-4">
         <input id="struk" type="text" class="form-control" name="struk" autocomplete="off" autofocus required>
      </div>
   </div>
   
  <div class="form-group">
    <label for="cat" class="col-md-3 control-label">CATEGORY</label>
    <div class="col-md-6">
      <select id="cat" type="text" class="form-control" name="cat" autofocus required>
        <option value=""> -- Pilih Category -- </option>
        @foreach($category as $list)
        <option value="{{ $list->id_cat }}">{{ $list->cat_name }}</option>
        @endforeach
      </select>
    </div>
  </div>

  <div class="form-group">
    <label for="brand" class="col-md-3 control-label">BRAND</label>
    <div class="col-md-6">
      <select id="brand" type="text" class="form-control" name="brand" autofocus required>
        <option value=""> -- Pilih Brand -- </option>
        @foreach($brand as $list)
        <option value="{{ $list->id_brd }}">{{ $list->brd_name }}</option>
        @endforeach
      </select>
    </div>
  </div>
  
   <div class="form-group">
      <label for="art" class="col-md-3 control-label">ARTICLE</label>
      <div class="col-md-6">
         <input id="art" type="text" class="form-control" name="art" autocomplete="off">
      </div>
   </div>

  <div class="form-group">
    <label for="dist" class="col-md-3 control-label">PO DISTRIBUSI </label>
    <div class="col-md-3">
      <select id="dist" class="form-control" name="dist">
        <option value="A">Warehouse</option>
        <option value="B">MD Pusat</option>
		<option value="C">MD Store</option>
      </select>
    </div>
  </div>   

  <div class="form-group">
    <label for="pack" class="col-md-3 control-label">PACKAGING </label>
    <div class="col-md-3">
      <select id="pack" class="form-control" name="pack">
        <option value="1">Carton</option>
        <option value="2">Inner</option>
		<option value="3">Broken</option>
      </select>
    </div>
  </div>
   
   <div class="form-group">
      <label for="size" class="col-md-3 control-label">S I Z E</label>
      <div class="col-md-3">
         <input id="size" type="text" class="form-control" name="size" autocomplete="off" autofocus required>
      </div>
   </div>

   <div class="form-group">
      <label for="kdmodal" class="col-md-3 control-label">KODE MODAL</label>
      <div class="col-md-6">
         <input id="kdmodal" type="text" class="form-control" name="kdmodal" autocomplete="off" value="">
      </div>
   </div>

   <div class="form-group">
      <label for="ongkir" class="col-md-3 control-label">KODE ONGKIR</label>
      <div class="col-md-6">
         <input id="ongkir" type="text" class="form-control" name="ongkir" autocomplete="off" value="">
      </div>
   </div>

  <div class="form-group">
    <label for="expd" class="col-md-3 control-label">STATUS EXPIRED </label>
    <div class="col-md-2">
      <select id="expd" class="form-control" name="expd">
        <option value="N">TIDAK</option>
        <option value="Y">YA</option>
      </select>
    </div>
  </div>
  
  <div class="form-group">
    <label for="origin" class="col-md-3 control-label">ASAL PRODUK</label>
    <div class="col-md-6">
      <select id="origin" type="text" class="form-control" name="origin" autofocus required>
        <option value=""> -- Pilih Asal Produk -- </option>
        @foreach($origin as $list)
        <option value="{{ $list->id_origin }}">{{ $list->org_name }}</option>
        @endforeach
      </select>
    </div>
  </div>  
  
<!-- </div> -->		<!-- body -->
   
   <div class="modal-footer"></div>
 
   </form>

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