<div class="modal" id="modal-form_add" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" >
   <div class="modal-dialog modal-lg">
      <div class="modal-content">
          <div class="modal-content" style="border-left: #6495ED 6px solid;">
     
   <form class="form-horizontal" data-toggle="validator" method="post">
   <?php echo e(csrf_field()); ?> <?php echo e(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>   
   </div>            
	<br>
<!-- <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-6">
         <input id="nama" type="text" class="form-control" name="nama" autofocus required autocomplete="off">
      </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>
        <?php $__currentLoopData = $category; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <option value="<?php echo e($list->id_cat); ?>"><?php echo e($list->cat_name); ?></option>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
      </select>
    </div>
  </div>
  
  <div class="form-group">
    <label for="tipe" class="col-md-3 control-label">TYPE STOCK </label>
    <div class="col-md-3">
      <select id="tipe" type="number" class="form-control" name="tipe">
        <option value="1">SATUAN</option>
        <option value="0">KEMASAN</option>
      </select>
    </div>
  </div>
 
   <div class="form-group">
    <label for="asal" class="col-md-3 control-label">Produk Turunan</label>
    <div class="col-md-6">
      <select id="asal" type="text" class="form-control" name="asal" autofocus>
        <option value=""> -- Pilih Produk Turunan -- </option>
        <?php $__currentLoopData = $childto; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <option value="<?php echo e($list->id); ?>"><?php echo e($list->nama_brg); ?></option>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
      </select>
    </div>
  </div> 

  <div class="form-group">
    <label for="supl" class="col-md-3 control-label">SUPPLIER</label>
    <div class="col-md-6">
      <select id="supl" type="text" class="form-control" name="supl" autofocus required>
        <option value=""> -- Pilih Supplier -- </option>
        <?php $__currentLoopData = $supplier; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <option value="<?php echo e($list->id_supp); ?>"><?php echo e($list->sup_nama); ?></option>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
      </select>
    </div>
  </div>
  
    <div class="form-group">
      <label for="harga" class="col-sm-3 control-label">HARGA JUAL @</label>
      <div class="col-sm-4">
         <input id="harga" type="number" class="form-control" name="harga" autofocus required autocomplete="off">
      </div>
   </div>
   
   <div class="form-group">
      <label for="desk" class="col-md-3 control-label">DESKRIPSI</label>
		<div class="col-md-6">
        <textarea  class="form-control" rows="5" name = "desk" id="desk" autocomplete="off" autofocus></textarea>
        </div>    
	</div>

 
<!-- </div> -->		<!-- body -->
   
   <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>   
<?php /**PATH /home/myprojeq/public_html/wawan/resources/views/product/form_add.blade.php ENDPATH**/ ?>