<div class="modal" id="modal-form_create" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" >
    <div class="modal-dialog modal-md">
        <div class="modal-content">
            <div class="modal-content" style="border-left: green 3px solid;">
     
<form class="form-horizontal" data-toggle="validator" method="post" id="form-faktur">
   <?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">New Faktur</h6>
    </div>
    <br>

   <div style="padding:5px 30px">

    <input type="hidden" id="id" name="id">
   
    <div class="form-group">
        <label for="tgltrx" class="col-sm-3 control-label">Tgl. Transaksi</label>
        <div class="col-sm-4">
            <input id="tgltrx" type="date" value="<?php echo e(date('Y-m-d')); ?>" class="form-control" name="tgltrx" autofocus  readonly="true" required>
        </div>
    </div>    
   
    <div class="form-group">
        <label>Customer</label>
        <select id="cus" type="text" class="form-control" name="cus" autofocus required>
            <option value=""> -- Pilih Customer -- </option>
            <?php $__currentLoopData = $cus; $__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.' '.$list->get_city->city_name .' '.\App\Customer::get_ppn($list->is_ppn)); ?></option>
		    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>	
        </select>
    </div>

    <div class="form-group">
        <label>Salesman</label>
        <select id="sls" type="text" class="form-control" name="sls" autofocus required>
            <option value=""> -- Pilih Salesman -- </option>
            <?php $__currentLoopData = $sls; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <option value="<?php echo e($list->id); ?>"><?php echo e($list->sales_kode." - ".$list->sales_name); ?></option>
    		<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>	
       </select>
    </div>


    <div class="form-group">
        <label>Discount Faktur</label>
        <input type="number" id="dis" name="dis" class="form-control" value="0" autofocus required>
        <small class="text-muted">Disc Global per Faktur</small>
    </div>

    <div class="form-group">
    	<label>Keterangan</label>
    	<textarea id="ket" class="form-control" name="ket" rows="2" autofocus autocomplete="off"></textarea>
    	<small class="text-muted">Keterangan Faktur Penjualan</small>
    </div> 
   
    <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>
    </div>

    </div>
    
</form>

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

<!----------------------------------------------------------------->
   
        


 
<?php /**PATH /home/myprojeq/public_html/sriayu/resources/views/sales/penjualan_create.blade.php ENDPATH**/ ?>