<!DOCTYPE html>
<html>

<style>
  .bordaTabelaItensManutencao {
    padding: 10px;
    border: solid #e0e4e6;
    border-radius: 4px;
    border-width: 1px;
  }

  #tabelaMateriaisManutencao tbody td,
  #tabelaMateriaisManutencao thead {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  #tabelaMateriaisManutencao tr td,
  #tabelaMateriaisManutencao th {
    padding: 4px 12px;
  }

  .error {
    color: #dc3545 !important;
  }

  #divMateriais,
  #divProdutos,
  #divServicos {
    padding-right: 1px;
    padding-left: 1px;
  }
</style>

<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.263.17.1" />

  <link rel="stylesheet" href="../dist/css/adminlte.min.css?versao=3.263.17.1" />
  <link rel="stylesheet" href="../dist/css/custom.css?versao=3.263.17.1" />
  <link rel="stylesheet" href="../dist/css/sisplan.css?versao=3.263.17.1" />
  <link
    rel="stylesheet"
    type="text/css"
    href="../plugins/datatables-keytable/css/keyTable.bootstrap4.min.css?versao=3.263.17.1" />
  <link
    rel="stylesheet"
    href="../plugins/toastr/toastr.min.css?versao=3.263.17.1" />
  <link
    rel="stylesheet"
    href="../plugins/fontawesome-free/css/all.min.css?versao=3.263.17.1" />
  <link rel="shortcut icon" href="../favicon.ico" />
  <link
    rel="stylesheet"
    type="text/css"
    href="../dist/css/driver.min.css?versao=3.263.17.1" />
  <link rel="stylesheet" href="../dist/css/jquery-ui.css?versao=3.263.17.1" />
  <link
    rel="stylesheet"
    href="../plugins/icheck-bootstrap/icheck-bootstrap.min.css?versao=3.263.17.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.263.17.1" />
</head>

<body>
  <div
    class="modal fade"
    data-backdrop="static"
    id="modalManutencao"
    tabindex="-1"
    role="dialog"
    aria-labelledby="modalManutencao"
    aria-hidden="true">
    <div class="modal-dialog" style="min-width: 99%; min-height: 100%">
      <div class="modal-content">
        <div class="modal-header">
          <h4 class="modal-title">Manutenção de Ordem de Compra</h4>
          <button
            type="button"
            class="close"
            data-dismiss="modal"
            aria-label="Close">
            <span aria-hidden="true">&times;</span>
          </button>
        </div>
        <div class="modal-body pb-0">
          <form id="formCapa">
            <div class="form-row">
              <input
                autocomplete="off"
                class="d-none"
                id="txtIdCapa"
                placeholder="0"
                name="id" />
              <div class="col-xl-1 col-md-2 col-12 form-group">
                <label
                  data-error="wrong"
                  class="labelGeral"
                  data-success="right"
                  for="txtNumeroCapa">Número:</label>
                <input
                  autocomplete="off"
                  class="input-default focus form-control camposCapaManutencao"
                  id="txtNumeroCapa"
                  placeholder="Número"
                  name="numero" />
              </div>
              <div class="col-xl-1 col-md-2 col-12 form-group">
                <label
                  data-error="wrong"
                  class="labelGeral"
                  data-success="right"
                  for="txtUsuarioCapa">Usuário:</label>
                <input
                  autocomplete="off"
                  class="input-default focus form-control camposCapaManutencao"
                  id="txtUsuarioCapa"
                  placeholder="Usuário"
                  name="usuario" />
              </div>
              <div class="col-xl-1 col-md-2 col-12 form-group">
                <label
                  data-error="wrong"
                  class="labelGeral"
                  data-success="right"
                  for="txtEmissaoCapa">Emissão:</label>
                <input
                  autocomplete="off"
                  type="date"
                  class="input-default focus form-control camposCapaManutencao controleCapaManutencao"
                  id="txtEmissaoCapa"
                  placeholder="Especificação"
                  name="dataEmissao" />
              </div>
              <div class="col-xl-1 col-md-2 col-12 form-group">
                <label
                  data-error="wrong"
                  class="labelGeral"
                  data-success="right"
                  for="txtEntregaCapa">Entrega:</label>
                <input
                  autocomplete="off"
                  type="date"
                  class="input-default focus form-control camposCapaManutencao controleCapaManutencao"
                  id="txtEntregaCapa"
                  placeholder="Especificação"
                  name="dataEntrega" />
              </div>
              <div class="col-xl-4 col-lg-4 col-md-6 col-12 form-group">
                <label
                  data-error="wrong"
                  class="labelGeral"
                  data-success="right"
                  for="txtFornecedorCapa">Fornecedor:</label>
                <div class="input-group">
                  <input
                    autocomplete="off"
                    type="text"
                    class="input-default focus form-control camposCapaManutencao controleCapaManutencao"
                    id="txtFornecedorCapa"
                    name="fornecedor"
                    placeholder="Fornecedor" />
                  <div class="input-group-append">
                    <button
                      class="btn bg-danger controleCapaManutencao"
                      id="btnFornecedorCapa"
                      name="btnFornecedorCapa"
                      data-button="absolute"
                      type="button">
                      <i class="m-0 p-0 fas fa-search"></i>
                    </button>
                    <button
                      class="btn bg-danger controleCapaManutencao"
                      id="btnLimpaFornecedorCapa"
                      name="btnLimpaFornecedorCapa"
                      type="button">
                      <i class="m-0 p-0 fas fa-trash"></i>
                    </button>
                  </div>
                </div>
              </div>
              <div class="col-xl-4 col-lg-4 col-md-6 col-12 form-group">
                <label
                  data-error="wrong"
                  class="labelGeral"
                  data-success="right"
                  for="txtColecaoCapa">Coleção:</label>
                <div class="input-group">
                  <input
                    autocomplete="off"
                    type="text"
                    class="input-default focus form-control camposCapaManutencao controleCapaManutencao"
                    id="txtColecaoCapa"
                    name="colecao"
                    placeholder="Coleção" />
                  <div class="input-group-append">
                    <button
                      class="btn bg-danger controleCapaManutencao"
                      id="btnColecaoCapa"
                      name="btnColecaoCapa"
                      data-button="absolute"
                      type="button">
                      <i class="m-0 p-0 fas fa-search"></i>
                    </button>
                    <button
                      class="btn bg-danger controleCapaManutencao"
                      id="btnLimpaColecaoCapa"
                      name="btnLimpaColecaoCapa"
                      type="button">
                      <i class="m-0 p-0 fas fa-trash"></i>
                    </button>
                  </div>
                </div>
              </div>
              <div class="col-xl-3 col-lg-4 col-md-6 col-12 form-group">
                <label
                  data-error="wrong"
                  class="labelGeral"
                  data-success="right"
                  for="txtMotivoCapa">Motivo:</label>
                <div class="input-group">
                  <input
                    autocomplete="off"
                    type="text"
                    class="input-default focus form-control camposCapaManutencao controleCapaManutencao"
                    id="txtMotivoCapa"
                    name="motivo"
                    placeholder="Motivo" />
                  <div class="input-group-append">
                    <button
                      class="btn bg-danger controleCapaManutencao"
                      id="btnMotivoCapa"
                      name="btnMotivoCapa"
                      data-button="absolute"
                      type="button">
                      <i class="m-0 p-0 fas fa-search"></i>
                    </button>
                    <button
                      class="btn bg-danger controleCapaManutencao"
                      id="btnLimpaMotivoCapa"
                      name="btnLimpaMotivoCapa"
                      type="button">
                      <i class="m-0 p-0 fas fa-trash"></i>
                    </button>
                  </div>
                </div>
              </div>
              <div class="col-xl-3 col-lg-4 col-md-6 col-12 form-group">
                <label
                  data-error="wrong"
                  class="labelGeral"
                  data-success="right"
                  for="txtCentroCustoCapa">Centro de Custo:</label>
                <div class="input-group">
                  <input
                    autocomplete="off"
                    type="text"
                    class="input-default focus form-control camposCapaManutencao controleCapaManutencao"
                    id="txtCentroCustoCapa"
                    name="CentroCusto"
                    placeholder="Centro de Custo" />
                  <div class="input-group-append">
                    <button
                      class="btn bg-danger controleCapaManutencao"
                      id="btnCentroCustoCapa"
                      name="btnCentroCustoCapa"
                      data-button="absolute"
                      type="button">
                      <i class="m-0 p-0 fas fa-search"></i>
                    </button>
                    <button
                      class="btn bg-danger controleCapaManutencao"
                      id="btnLimpaCentroCustoCapa"
                      name="btnLimpaCentroCustoCapa"
                      type="button">
                      <i class="m-0 p-0 fas fa-trash"></i>
                    </button>
                  </div>
                </div>
              </div>
              <div class="col-xl-3 col-lg-4 col-md-6 col-12 form-group">
                <label
                  data-error="wrong"
                  class="labelGeral"
                  data-success="right"
                  for="txtTipoCapa">Tipo:</label>
                <div class="input-group">
                  <input
                    autocomplete="off"
                    type="text"
                    class="input-default focus form-control camposCapaManutencao controleCapaManutencao"
                    id="txtTipoCapa"
                    name="Tipo"
                    placeholder="Tipo" />
                  <div class="input-group-append">
                    <button
                      class="btn bg-danger controleCapaManutencao"
                      id="btnTipoCapa"
                      name="btnTipoCapa"
                      data-button="absolute"
                      type="button">
                      <i class="m-0 p-0 fas fa-search"></i>
                    </button>
                    <button
                      class="btn bg-danger controleCapaManutencao"
                      id="btnLimpaTipoCapa"
                      name="btnLimpaTipoCapa"
                      type="button">
                      <i class="m-0 p-0 fas fa-trash"></i>
                    </button>
                  </div>
                </div>
              </div>
              <div class="col-xl-3 col-lg-4 col-md-6 col-12 form-group">
                <label
                  data-error="wrong"
                  class="labelGeral"
                  data-success="right"
                  for="txtObservacaoCapa">Observação:</label>
                <input
                  autocomplete="off"
                  class="input-default focus form-control camposCapaManutencao controleCapaManutencao"
                  id="txtObservacaoCapa"
                  placeholder="Observação"
                  name="observacao" />
              </div>
              <select id="selectStatus" class="d-none">
                <option value="D">Digitado</option>
                <option value="B">Bloqueado</option>
                <option value="R">Retornado</option>
                <option value="L">Liberado</option>
                <option value="E">Enviado</option>
                <option value="A">Aceito</option>
                <option value="N">Rejeitado</option>
              </select>
            </div>
          </form>
        </div>
        <div class="modal-footer">
          <button
            form="formCapa"
            type="submit"
            class="btn btn-primary btn-sisp"
            id="btnConfirmar">
            Confirmar
          </button>
          <button
            class="btn btn-danger btn-sisp"
            class="close"
            data-dismiss="modal"
            aria-label="Close"
            id="btnCancelar">
            Cancelar
          </button>
        </div>
      </div>
    </div>
  </div>
</body>
<?php
include_once('../../modais.php')
?>

</html>