<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">
          <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">
    <input type="hidden" id="kontankredit" name="kontankredit" value="A">
    
<div style="margin-left:200px; font-size:3vh">   
    Pilih Type Pelunasan:&nbsp;&nbsp;&nbsp;&nbsp;
    <input type="radio" id="kontan" name="kontan" value="1">
    <label> KONTAN</label>
    <input type="radio" id="kredit" name="kontan" value="0">
    <label> KREDIT</label><br>
</div>   
<br>


   <div class="form-group">
      <label for="tgltrx" class="col-md-3 control-label">Tgl. Pelunasan</label>
      <div class="col-sm-3">
<!--          <input id="tgltrx" type="date" value="<?php echo e(date('Y-m-d')); ?>" class="form-control" name="tgltrx" autofocus  required> -->
         <input id="tgltrx" type="date" class="form-control" name="tgltrx" autofocus  required readonly="true">
      </div>
   </div>    

 
    <div class="form-group">
        <label for="cus" class="col-md-3 control-label">Customer</label>
        <div class="col-md-6">
          <select id="cus" type="text" class="form-control" name="cus" autofocus required>
            <option value=""> -- Pilih Customer -- </option>
            <?php $__currentLoopData = $customer; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <option value="<?php echo e($list->id_cust); ?>"><?php echo e($list->cus_name." - ".$list->cus_address); ?></option>
    		<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>	
           </select>
        </div>
    </div>
 
   <div class="form-group">
    <label for="group" class="col-md-3 control-label">Type Pembayaran </label>
    <div class="col-md-3">
      <select id="tp" class="form-control" name="tp">
        <option value="1">CASH</option>
        <option value="2">Transfer/Giro</option>
		<option value="3">Lain2</option>
      </select>
    </div>
  </div> 

    <div class="form-group">
		<label for="ttl" class="col-md-3 control-label">TOTAL PEMBAYARAN</label>
		<div class="col-md-3">
			<input id="ttl" type="number" class="form-control" name="ttl" value ="0" autofocus required autocomplete="off">
			<span class="help-block with-errors"></span>
		</div>
    </div> 
   
    <div class="form-group">
		<label for="bulat" class="col-md-3 control-label">Pembulatan</label>
		<div class="col-md-3">
			<input id="bulat" type="number" class="form-control" name="bulat" value ="0" autofocus required autocomplete="off">
			<span class="help-block with-errors"></span>
		</div>
    </div> 

   
    <div class="form-group">
		<label for="ket" class="col-md-3 control-label">Keterangan</label>
		<div class="col-md-6">
			<input id="ket" type="text" class="form-control" name="ket" autofocus required autocomplete="off">
			<span class="help-block with-errors"></span>
		</div>
    </div>     
<!-- </div> -->		<!-- body -->
   
    <div class="modal-footer">
        <button  id="submit-control" type="submit" class="btn btn-primary btn-save"><i class="fa fa-floppy-o"></i> Save </button> 
        <button type="button" class="btn btn-warning btn-close" data-dismiss="modal"><i class="fa fa-times-circle"></i> Cancel </button>
        <!--<a onclick="test()" class="btn btn-info">TEST</a>-->
    </div>

   </form>

         </div>
      </div>
   </div>
</div>   
<?php /**PATH /home/myprojeq/public_html/wawan/resources/views/piutang/form_create.blade.php ENDPATH**/ ?>