<div class="modal" id="modal-form_batal" 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" id="form-batal">
   <?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>
      <h6 class="modal-title">Batal Transaksi Penjualan</h6>
   </div>
   <br>

   <input type="hidden" id="idx" name="idx">
 
<div style="padding: 2px 45px;">
   
    <div class="form-group">
        <label>Tanggal Transaksi</label>
        <input type="date" id="tgltrx" name="tgltrx" class="form-control" autofocus readonly="true">
    </div>
   
    <div class="form-group">
        <label>Nama Customer</label>
        <select id="cusx" type="text" class="form-control" name="cusx" autofocus required  style="font-weight:bold">
            <option value=""> -- Customer -- </option>
            <?php $__currentLoopData = $cust; $__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_hp); ?></option>
		    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>	
        </select>
    </div>
       
    <div class="row">       
        <div class="form-group col-sm-9">
            <label>Project Perumahan</label>
            <select id="prjx" type="text" class="form-control" name="prjx" value="" autofocus required style="font-weight:bold">
                <option value=""> -- Pilih Perumahan -- </option>
                <?php $__currentLoopData = $projek; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <option value="<?php echo e($list->id); ?>"><?php echo e($list->project_name); ?></option>
    		    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>	
            </select>
        </div>
        <div class="col-sm-3">
        	<div class="form-group">
        	    <label>CLUSTER/BLOCK/NOMOR</label>   
        		<div class="input-group">
        			<input type="text" class="form-control" id="nomorx" name="nomorx" autofocus required readonly="true" placeholder="Clust/Block/No">
        		</div>
            </div>    
        </div>
    </div>    
    

<div class="row">
    <div class="col-sm-4">

    	<div class="form-group">
    		<label>Type Rumah</label>
    		<input type="text" class="form-control" id="tipex" name="tipex" autofocus required readonly="true">
        </div>   
    
    	<div class="form-group">
    		<label>Harga Jual Rumah</label>
    		<input type="text" class="form-control" id="hargax" name="hargax" autofocus required readonly="true">
        </div>   
        
        <div class="form-group">
            <label>Type Pembayaran</label>
            <select id="byrx" type="text" class="form-control" name="byrx" autofocus required readonly='true'>
                <option value=""> -- Pilih Pembayaran -- </option>
                <option value="1">KPR</option>
    		    <option value="2">CASH BERTAHAP</option>
    		    <option value="3">CASH KERAS</option>
            </select>
        </div>       
     
    </div>
    
    <div class="col-sm-1"></div>

    <div class="col-sm-7">

     	<div class="form-group">
    		<label>Booking Fee (DP) [Ubah nilai DP jika ada pengembalian ]</label>
    		<input type="number" class="form-control" id="dpx" name="dpx" value="0" autofocus required>
        </div>    
            

    	<div class="form-group">
    		<label>Referensi/Sales</label>
    		<input type="text" class="form-control" id="refx" name="refx" autofocus autocomplete="off">
        </div>  
        <div class="form-group">
            <label>Keterangan</label>
            <textarea id='ketx' name='ketx' autofocus rows="4" class="form-control"></textarea>
            <small class="text-muted">Keterangan pembatalan</small>
        </div>
    </div>
    
</div>

    <div class="modal-footer">
        <button type="button" onclick="batalTrx()" class="btn btn-primary btn-sm btn-save pull-right"><i class="fa fa-floppy-o"></i> Proses Batal </button> 
        <button type="button" class="btn btn-warning btn-sm 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/u345793601/domains/my-projeq.com/public_html/swa/resources/views/transaksi/transaksi_batal.blade.php ENDPATH**/ ?>