<!-- modal sangria -->
<div class="modal fade bd-sangria-modal-sm" id="modal">
  <div class="modal-dialog modal-dialog-centered">
    <div class="modal-content">
      <div class="modal-header">
        <h4>Sangria de Caixa</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="row">
          <div class="col-12">
            <label data-error="wrong" data-success="right" for="txtMoedaSangria">Moeda</label>
            <div class="input-group">
              <input type="text" class="input-default focus form-control" id="txtMoedaSangria" name="txtMoedaSangria" class="form-control" placeholder="Moeda Sangria" disabled>
              <div class="input-group-append">
                <button class="btn bg-danger" id="btn-MoedaSangria" name="btn-MoedaSangria" data-button="absolute" type="button"><i class="m-0 p-0 fas fa-search"></i></button>
                <button class="btn bg-danger" id="btn-limpa-MoedaSangria" type="button"><i class="m-0 p-0 fas fa-trash"></i></button>
              </div>
            </div>
          </div>
          <div class="form-group col-12">
            <label for="">Valor de Sangria</label>
            <input type="text" class="input-default focus form-control validate" id="txtSangria">
          </div>
        </div>
      </div>
      <div id="modal-sangria-rodape" class="modal-footer justify-content-between">
        <div class=" col-12">
          <div class="float-right">
            <button class="btn btn-primary btn-sisp" id="btnConfirmaSangria">Ok</button>
            <button class="btn btn-secondary btn-sisp" style="opacity: 10px;" data-dismiss="modal">Cancelar</button>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<div id="modal-ColunasVisiveis" class="modal" tabindex="-1" role="dialog">
  <div class="modal-dialog modal-xl" role="document">
    <div class="modal-content" id="modalBody">
      <div class="modal-header">
        <h4 class="modal-title">Configurar Colunas Invisíveis</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 col-12" id="colunasInvisiveis">

        </div>
      </div>
      <div class="modal-footer">
        <div class="row">
          <button id="btnConfirmarColunas" class='btn btn-primary btn-sisp' type='button'>Confirmar </button>
        </div>
      </div>
    </div>
  </div>
</div>

<div class="modal fade bd-suprimento-modal-sm" id="modal">
  <div class="modal-dialog modal-dialog-centered">
    <div class="modal-content">
      <div class="modal-header">
        <h4>Suprimento de Caixa</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="row">
          <div class="col-12">
            <label data-error="wrong" data-success="right" for="txtMoedaSuprimento">Moeda</label>
            <div class="input-group">
              <input type="text" class="input-default focus form-control" id="txtMoedaSuprimento" name="txtMoedaSuprimento" class="form-control" placeholder="Moeda Suprimento" disabled>
              <div class="input-group-append">
                <button class="btn bg-danger" id="btn-MoedaSuprimento" name="btn-MoedaSuprimento" data-button="absolute" type="button"><i class="m-0 p-0 fas fa-search"></i></button>
                <button class="btn bg-danger" id="btn-limpa-MoedaSuprimento" type="button"><i class="m-0 p-0 fas fa-trash"></i></button>
              </div>
            </div>
          </div>
          <div class="form-group col-12">
            <label for="">Valor de Suprimento</label>
            <input type="text" class="input-default focus form-control validate" id="txtSuprimento">
          </div>
        </div>
      </div>
      <div id="modal-suprimento-rodape" class="modal-footer justify-content-between">
        <div class=" col-12">
          <div class="float-right">
            <button class="btn btn-primary btn-sisp" id="btnConfirmaSuprimento">Ok</button>
            <button class="btn btn-secondary btn-sisp" style="opacity: 10px;" data-dismiss="modal">Cancelar</button>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<div style="z-index:999999999999999!important;" class="modal fade bd-example-modal-lg" id="pesquisaModal" tabindex="-1" role="dialog" aria-labelledby="pesquisaModalLabel">
  <div class="modal-dialog modal-xl" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title" id="pesquisaModalLabel">Pesquisa</h4>
        <input type="button" class="btn btn-sm btn-primary ml-2" id="btnAbrirCadastro" value="Abrir Cadastro">
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>
      <div class="modal-body p-4 row">
        <div class="col-sm-12 table-responsive">
          <div id="pesquisaModalBody"></div>
        </div>
      </div>
      <div class="modal-footer">
        <button type="button" id="pesquisaModalSelecionar" class="btn btn-primary btn-sisp">Selecionar</button>
        <button type="button" id="pesquisaModalConfirmar" class="btn btn-primary btn-sisp">Confirmar</button>
      </div>
      <input type="text" class="d-none" id="txtTabelaPesquisa" name="txtTabelaPesquisa">
    </div>
  </div>
</div>
<div style="z-index:200000!important;" class="modal fade" id="pesquisaDesconto" tabindex="-1" role="dialog">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title" id="pesquisaDescontoLabel">Pesquisa</h4>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">×</span>
        </button>
      </div>
      <div class="modal-body">
        <div class="row">
          <div class="col-sm-12">
            <div class="form-group">
              <label for="txtProdutoDesc">Produto </label>
              <input type="text" placeholder="Produto" class="input-default focus form-control validate" id="txtProdutoDesc" name="txtProdutoDesc" readonly disabled>
            </div>
          </div>
          <div class="col-sm-6">
            <div class="form-group">
              <label for="txtValBruto">Valor Bruto</label>
              <input type="text" placeholder="Valor Bruto" class="input-default focus form-control validate" id="txtValBruto" name="txtValBruto" readonly disabled>
            </div>
          </div>
          <div class="col-sm-6">
            <div class="form-group">
              <label for="txtPrecoOrig">Preço Original</label>
              <input type="text" placeholder="Preço Original" class="input-default focus form-control validate" id="txtPrecoOrig" name="txtPrecoOrig" readonly disabled>
            </div>
          </div>
          <div class="col-sm-6">
            <div class="form-group">
              <label for="txtQuantidadeDesc">Quantidade</label>
              <input type="text" placeholder="Quantidade" class="input-default focus form-control validate" id="txtQuantidadeDesc" name="txtQuantidadeDesc" readonly disabled>
            </div>
          </div>
          <div class="col-sm-6">
            <div class="form-group">
              <label for="txtPrecoDesc">Preço</label>
              <input type="text" min="0" step="0.01" placeholder="Preço" class="input-default form-control focus" id="txtPrecoDesc" name="txtPrecoDesc" disabled>
            </div>
          </div>
          <div class="col-sm-6">
            <div class="form-group">
              <label for="txtPercDesconto">Percentual Desconto</label>
              <input type="text" min="0" step="0.01" placeholder="Percentual Desconto" class="input-default form-control focus" id="txtPercDesconto" name="txtPercDesconto">
            </div>
          </div>
          <div class="col-sm-6">
            <div class="form-group">
              <label for="txtValorDesconto">Valor Desconto</label>
              <input type="text" min="0" step="0.01" placeholder="Valor" class="input-default form-control focus" id="txtValorDesconto" name="txtValorDesconto">
            </div>
          </div>
          <div class="col-sm-6">
            <div class="form-group">
              <label for="txtPrecoLiqDesconto">Preço Líq.</label>
              <input type="text" min="0" step="0.01" placeholder="Preço Líquido" class="input-default  focus form-control" id="txtPrecoLiqDesconto" name="txtPrecoLiqDesconto" readonly disabled>
            </div>
          </div>
          <div class="col-sm-6">
            <div class="form-group">
              <label for="txtTotalLiq">Vlr. Líq. Total</label>
              <input type="text" min="0" step="0.01" placeholder="Total Líquido" class="input-default focus form-control" id="txtTotalLiq" name="txtTotalLiq" readonly disabled>
            </div>
          </div>
        </div>
      </div>
      <div class="modal-footer">
        <button type="button" id="pesquisaDescontoConfirmar" class="btn btn-primary btn-sisp">Confirmar</button>
      </div>
    </div>
  </div>
</div>
<div style="z-index:999999999999!important;" class="modal fade" id="modal-danger">
  <div class="modal-dialog modal-dialog-centered">
    <div class="modal-content">
      <div class="modal-header">
        <i class="fas fa-exclamation-triangle text-red" style="margin-right: 20px;font-size: 35px;margin-right: 20;"></i>
        <h4 id="modal-danger-titulo" class="modal-title">Danger Modal</h4>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <textarea style="resize: none;border:0px;" id="modal-danger-conteudo" placeholder="Mensagem:" class="form-control" rows="5" readonly></textarea>
      </div>
      <div id="modal-danger-rodape" class="modal-footer justify-content-between">

      </div>
    </div>
    <!-- /.modal-content -->
  </div>
  <!-- /.modal-dialog -->
</div>

<div style="z-index:999999999999999999!important;" class="modal fade" id="modal-supervisor">
  <div class="modal-dialog modal-dialog-centered">
    <div class="modal-content bg-white">
      <div class="modal-header">
        <h4 id="modal-supervisor-titulo" class="modal-title">Senha de Supervisor</h4>
        <button type="button" class="close" id="btn-supervisor-close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <div class="group-default form-group">
          <h6 id="modal-supervisor-conteudo">Informe uma senha de supervisor para continuar</h6>
          <label style="margin-top:2px;" data-error="wrong" data-success="right" for="txtSenhaSupervisor">Senha:</label>
          <form action="" autocomplete="off">
            <input type="password" id="txtSenhaSupervisor" class="input-default" />
          </form>
        </div>
      </div>
      <div id="modal-supervisor-rodape" class="modal-footer justify-content-between">

      </div>
    </div>
    <!-- /.modal-content -->
  </div>
  <!-- /.modal-dialog -->
</div>

<div style="z-index:99999999999!important;" class="modal fade" id="modal-warning">
  <div class="modal-dialog modal-dialog-centered">
    <div class="modal-content">
      <div class="modal-header">
        <i class="fas fa-exclamation-triangle text-yellow" style="margin-right: 20px;font-size: 35px;margin-right: 20;"></i>
        <h4 id="modal-warning-titulo" class="modal-title">Atenção</h4>
        <button type="button" class="close" id="btn-warning-close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <textarea style="resize: none; border:0px;" id="modal-warning-conteudo" placeholder="Mensagem:" class="form-control" rows="5" readonly></textarea>
      </div>
      <div id="modal-warning-rodape" class="modal-footer justify-content-between">

      </div>
    </div>
    <!-- /.modal-content -->
  </div>
  <!-- /.modal-dialog -->
</div>

<div style="z-index:99999999999!important;" class="modal fade" id="modal-dtRetorno">
  <div class="modal-dialog modal-dialog-centered">
    <div class="modal-content">
      <div class="modal-header">
        <i class="fas fa-exclamation-triangle text-yellow" style="margin-right: 20px;font-size: 35px;margin-right: 20;"></i>
        <h4 id="modal-dtRetorno-titulo" class="modal-title">Atenção</h4>
        <button type="button" class="close" id="btn-warning-close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <textarea style="resize: none; border:0px;" id="modal-dtRetorno-conteudo" placeholder="Mensagem:" class="form-control" rows="2" readonly></textarea>
        <div class="col-12" id="primeiraDiv">
          <input type="date" min='1200-01-01' max="2500-12-31" class="input-default focus form-control validate" value="${date}" id="dtRetorno" name="dtRetorno">
        </div>
      </div>
      <div id="modal-dtRetorno-rodape" class="modal-footer justify-content-between">

      </div>
    </div>
    <!-- /.modal-content -->
  </div>
  <!-- /.modal-dialog -->
</div>

<div style="z-index:99999999999!important;" class="modal fade" id="modal-confirmacao">
  <div class="modal-dialog modal-dialog-centered">
    <div class="modal-content">
      <div class="modal-header">
        <i class="fas fa-exclamation-triangle text-yellow" style="margin-right: 20px;font-size: 35px;margin-right: 20;"></i>
        <h4 id="modal-warning-titulo" class="modal-title">Atenção</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 id="modal-confirmacao-conteudo" style="font-size: 20px"></div>
      </div>
      <div id="modal-confirmacao-rodape" class="modal-footer justify-content-between">
      </div>
    </div>
    <!-- /.modal-content -->
  </div>
  <!-- /.modal-dialog -->
</div>

<div style="z-index:99999999999!important;" class="modal fade" id="modal-success">
  <div class="modal-dialog modal-dialog-centered">
    <div class="modal-content">
      <div class="modal-header">
        <i class="fas fa-check-square text-green" style="margin-right: 20px;font-size: 35px;margin-right: 20;"></i>
        <h4 id="modal-success-titulo" class="modal-title">Alert Modal</h4>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <textarea style="resize: none;border:0px;" id="modal-success-conteudo" placeholder="Mensagem:" class="form-control" rows="5" readonly></textarea>
      </div>
      <div id="modal-success-rodape" class="modal-footer justify-content-between">

      </div>
    </div>
    <!-- /.modal-content -->
  </div>
  <!-- /.modal-dialog -->
</div>

<div style="z-index:999999999999999999!important;" class="modal fade" id="modal-empresas">
  <div class="modal-dialog modal-dialog-centered">
    <div class="modal-content bg-white">
      <div class="modal-header">
        <h4 id="modal-empresas-titulo" class="modal-title">Selecionar Empresas</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="icheck-danger d-inline">
          <input type="checkbox" id="cbTodasAsEmpresas" class="form-check-input">
          <label for="cbTodasAsEmpresas" class="ml-4 mb-2">Todas as Empresas</label>
        </div>
        <div id="modal-empresas-body">

        </div>
      </div>
      <div id="modal-empresas-rodape" class="modal-footer justify-content-end">
        <button id="btn-confirmar-empresas" class="btn btn-danger btn-sisp" data-dismiss="modal">
          Fechar
        </button>
      </div>
    </div>
    <!-- /.modal-content -->
  </div>
  <!-- /.modal-dialog -->
</div>

<footer class="main-footer" id="rodape">
  <strong>Copyright &copy; 2023 <a href="https://sisplansistemas.com.br">Sisplan Sistemas</a>.</strong>
  Todos os direitos reservados.
  <div class="float-right d-none d-sm-inline-block">
    <b>Versão</b> 3.239.11.1
  </div>
  <div class="float-right d-none d-sm-inline-block" style="margin-right: 7px">
    <b>
      <p id="conexaoInternaExterna">IP Interno  -</p>
    </b>
  </div>
</footer>