<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <link
    rel="stylesheet"
    href="../plugins/fontawesome-free/css/all.min.css?versao=3.264.8.1" />

  <link rel="stylesheet" href="../dist/css/adminlte.min.css?versao=3.264.8.1" />
  <link rel="stylesheet" href="../dist/css/custom.css?versao=3.264.8.1" />
  <link rel="stylesheet" href="../dist/css/sisplan.css?versao=3.264.8.1" />
  <link
    rel="stylesheet"
    type="text/css"
    href="../plugins/datatables-keytable/css/keyTable.bootstrap4.min.css?versao=3.264.8.1" />
  <link
    rel="stylesheet"
    href="../plugins/toastr/toastr.min.css?versao=3.264.8.1" />
  <link
    rel="stylesheet"
    href="../plugins/fontawesome-free/css/all.min.css?versao=3.264.8.1" />
  <link rel="shortcut icon" href="../favicon.ico" />
  <link
    rel="stylesheet"
    type="text/css"
    href="../dist/css/driver.min.css?versao=3.264.8.1" />
  <link rel="stylesheet" href="../dist/css/jquery-ui.css?versao=3.264.8.1" />
  <link
    rel="stylesheet"
    href="../plugins/icheck-bootstrap/icheck-bootstrap.min.css?versao=3.264.8.1" />
  <link
    href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700"
    rel="stylesheet" />
  <link
    rel="stylesheet"
    type="text/css"
    href="../dist/css/bootstrap-tagsinput.css?versao=3.264.8.1" />
</head>

<body>
  <div
    class="modal fade"
    data-backdrop="static"
    id="modalConsulta"
    tabindex="-1"
    role="dialog"
    aria-labelledby="modalConsulta"
    aria-hidden="true">
    <div class="modal-dialog" style="min-width: 99%; min-height: 97%; max-height: 97%">
      <div class="modal-content">
        <div class="modal-header">
          <h4 class="modal-title">Consultar</h4>
          <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="form-row">
            <div class="form-row col-12 mt-2">
              <div class="col-12">
                <div class="col-12">
                  <button class="btn btn-success btn-sisp" id="btnFiltrosConsulta"><span class="fas fa-search"></span> Filtros</button>
                </div>
              </div>
            </div>
            <div class="form-row col-12">
              <div class="flex flex-column col-12">
                <div class="table-responsive col-12">
                  <table id="tabelaItensConsulta" class="table table-select table-hover" width="100%">
                    <thead>
                    </thead>
                    <tbody>
                    </tbody>
                  </table>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="modal-footer">
          <button
            class="btn btn-danger btn-sisp"
            class="close"
            data-dismiss="modal"
            aria-label="Close"
            id="btnFechar">
            Fechar
          </button>
        </div>
      </div>
    </div>
  </div>
  <div id="modalFiltrosConsulta" class="modal" tabindex="-1" data-backdrop="static" role="dialog">
    <div class="modal-dialog modal-xl" role="document">
      <div class="modal-content" id="modalBody">
        <div class="modal-header">
          <h4 class="modal-title">Filtros</h4>
          <button type="button" class="close" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">&times;</span>
          </button>
        </div>
        <div class="modal-body px-2">
          <div class="flex flex-wrap w-100">
            <div class="form-group col-xl-4 col-6">
              <label data-error="wrong" class="labelGeral" data-success="right" for="txtNumeroConsulta">Número:</label>
              <div class="input-group">
                <select class="js-example-programmatic js-states form-control" id="txtNumeroConsulta" name="txtNumeroConsulta" multiple="multiple">
                </select>
                <div class="input-group-append">
                  <button class="btn bg-danger" id="btnNumeroConsulta" name="btnNumeroConsulta" data-button="absolute" type="button">
                    <i class="m-0 p-0 fas fa-search"></i>
                  </button>
                  <button class="btn bg-danger" id="btnLimpaNumeroConsulta" name="btnLimpaNumeroConsulta" type="button">
                    <i class="m-0 p-0 fas fa-trash"></i>
                  </button>
                </div>
              </div>
            </div>
            <div class="form-group col-xl-4 col-6">
              <label data-error="wrong" class="labelGeral" data-success="right" for="txtFornecedorConsulta">Fornecedor:</label>
              <div class="input-group">
                <select class="js-example-programmatic js-states form-control" id="txtFornecedorConsulta" name="txtFornecedorConsulta" multiple="multiple">
                </select>
                <div class="input-group-append">
                  <button class="btn bg-danger" id="btnFornecedorConsulta" name="btnFornecedorConsulta" data-button="absolute" type="button">
                    <i class="m-0 p-0 fas fa-search"></i>
                  </button>
                  <button class="btn bg-danger" id="btnLimpaFornecedorConsulta" name="btnLimpaFornecedorConsulta" type="button">
                    <i class="m-0 p-0 fas fa-trash"></i>
                  </button>
                </div>
              </div>
            </div>
            <div class="form-group col-xl-4 col-6">
              <label data-error="wrong" class="labelGeral" data-success="right" for="txtCentroCustoConsulta">Centro de Custo:</label>
              <div class="input-group">
                <select class="js-example-programmatic js-states form-control" id="txtCentroCustoConsulta" name="txtCentroCustoConsulta" multiple="multiple">
                </select>
                <div class="input-group-append">
                  <button class="btn bg-danger" id="btnCentroCustoConsulta" name="btnCentroCustoConsulta" data-button="absolute" type="button">
                    <i class="m-0 p-0 fas fa-search"></i>
                  </button>
                  <button class="btn bg-danger" id="btnLimpaCentroCustoConsulta" name="btnLimpaCentroCustoConsulta" type="button">
                    <i class="m-0 p-0 fas fa-trash"></i>
                  </button>
                </div>
              </div>
            </div>
            <div class="form-group col-xl-4 col-6">
              <label data-error="wrong" class="labelGeral" data-success="right" for="txtTipoConsulta">Tipo:</label>
              <div class="input-group">
                <select class="js-example-programmatic js-states form-control" id="txtTipoConsulta" name="txtTipoConsulta" multiple="multiple">
                </select>
                <div class="input-group-append">
                  <button class="btn bg-danger" id="btnTipoConsulta" name="btnTipoConsulta" data-button="absolute" type="button">
                    <i class="m-0 p-0 fas fa-search"></i>
                  </button>
                  <button class="btn bg-danger" id="btnLimpaTipoConsulta" name="btnLimpaTipoConsulta" type="button">
                    <i class="m-0 p-0 fas fa-trash"></i>
                  </button>
                </div>
              </div>
            </div>
            <div class="form-group col-xl-4 col-6">
              <label style="margin-bottom: .1rem;" data-error="wrong" data-success="right" for="txtEmissaoDeConsulta">Emissão de/até: </label>
              <div class="relative" style="margin-top: 5px;">
                <div class="input-group">
                  <input type="date" max="2500-12-31" class="input-default focus form-control mr-3" id="txtEmissaoDeConsulta" value="1200-01-01" name="txtEmissaoDeConsulta" class="form-control">
                  <input type="date" max="2500-12-31" class="input-default focus form-control" id="txtEmissaoAteConsulta" value="2500-12-31" name="txtEmissaoAteConsulta" class="form-control">
                </div>
              </div>
            </div>
            <div class="form-group col-xl-4 col-6">
              <label style="margin-bottom: .1rem;" data-error="wrong" data-success="right" for="txtEntregaDeConsulta">Entrega de/até: </label>
              <div class="relative" style="margin-top: 5px;">
                <div class="input-group">
                  <input type="date" max="2500-12-31" class="input-default focus form-control mr-3" id="txtEntregaDeConsulta" value="1200-01-01" name="txtEntregaDeConsulta" class="form-control">
                  <input type="date" max="2500-12-31" class="input-default focus form-control" id="txtEntregaAteConsulta" value="2500-12-31" name="txtEntregaAteConsulta" class="form-control">
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="modal-footer">
          <div class="row">
            <button class="btn btn-primary btn-sisp" id="btnLimparFiltrosConsulta" style="background-color: #B22222; border-color: #B22222"><span class="fas fa-trash"></span> Limpar Filtros</button>     
            <button class="btn btn-primary btn-sisp" id="btnConsultarConsulta"><span class="fas fa-search"></span> Consultar</button>
          </div>
        </div>
      </div>
    </div>
  </div>
</body>
<?php
include_once('../../modais.php')
?>

</html>