<div class="modal fade" id="modalFiles" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog modal-files modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="exampleModalLabel">Subir archivos</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <div class="response-files"></div>
        <form action="{{ url('filescontable') }}" id="form_files" method="POST" onsubmit="submitFile(this); return false" enctype="multipart/form-data">
          <input type="hidden" name="action" value="addfile">
          <input type="hidden" name="id_files"  value="{{ $data['cabecera']->id }}">
          <!--input para modulod de agregar archivo-->
          <input type="hidden" id="tipefile" name="tipefile" value="{{$tipe}}">
          <input type="hidden" id="urlfile"  value="{{ url('filescontable') }}">
          <div class="row">
            <div class="col-4">
              <label for=""><b>Imagen de la compra</b></label>
              <input  name="file[]" type="file" class="file" multiple 
                  data-show-upload="false" data-show-caption="true" data-msg-placeholder="Select {files} for upload..." accept="image/*">            
            </div>
            <div class="col-4">
              <label for=""><b>PDF de la compra</b></label>
              <input  name="file[]" type="file" class="file" multiple 
                  data-show-upload="false" data-show-caption="true" data-msg-placeholder="Select {files} for upload..." accept="application/pdf">       
            </div>
            <div class="col-4">
              <label for=""><b>Excel de la compra</b></label>
              <input name="file[]" type="file" class="file" multiple 
                  data-show-upload="false" data-show-caption="true" data-msg-placeholder="Select {files} for upload..." accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel">       
            </div>
          </div>
          <div class="row mt-2">
            <div class="col-12 text-center">
              <button class="btn btn-warning">Guardar</button>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>