<!--- form tampil detail --->

<div class="modal" id="modal-detail" 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>
     <!-- <h4 class="modal-title"></h4> -->
      <h3 class="modal-title">Detail Product/SKU</h3>	  
   </div>
            
<!-- <div class="modal-body"> -->
   
   <input type="hidden" id="id" name="id">
   
   <div class="form-group">
      <label for="kode" class="col-sm-3 control-label">SKU </label>
      <div class="col-sm-2">
         <input id="kode" type="text" class="form-control" name="kode" readonly="true">
      </div>
   </div>

   <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">
      </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">
      </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">
        <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">
        <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">
      </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">
      </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">
      </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">
      </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>

<!--- bpom --->
   <div class="form-group">
      <label for="nobpom" class="col-md-3 control-label">NO. BPOM</label>
      <div class="col-md-6">
         <input id="nobpom" type="text" class="form-control" name="nobpom">
      </div>
   </div>

   <div class="form-group">
      <label for="expbpom" class="col-md-3 control-label">TGL. EXPIRED BPOM</label>
      <div class="col-md-4">
         <input id="expbpom" type="text" class="form-control" name="expbpom">
      </div>
   </div>
   
<!-- </div> -->		<!-- body -->
   
   <div class="modal-footer">
      <button type="submit" class="btn btn-primary btn-save"><i class="fa fa-floppy-o"></i> Save </button>
      <button type="button" class="btn btn-warning" data-dismiss="modal"><i class="fa fa-arrow-circle-left"></i> Close </button>
   </div>
      
   </form>

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