<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">
   {{ 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>
        <h6 class="modal-title">New Retur</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="{{ 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>
            @foreach($cus as $list)
                <option value="{{ $list->id_cust }}">{{ $list->cus_name." - ".$list->cus_address.' '.$list->get_city->city_name .' '.\App\Customer::get_ppn($list->is_ppn) }}</option>
		    @endforeach	
        </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>
            @foreach($sls as $list)
                <option value="{{ $list->id }}">{{ $list->sales_kode." - ".$list->sales_name }}</option>
    		@endforeach	
       </select>
    </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>

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


 
