Esempio n. 1
0
 function filtros($tipo)
 {
     $inputs = new inputs();
     $selects = new selects();
     if ($tipo == 1) {
         echo "\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<h3>Filtro</h3>\n\t\t\t\t\t\t<form class='uk-form' action='#' method='post'>\n\t\t\t\t\t\t\t<ul class='uk-subnav'>\n\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t<div class='uk-form-row'>\n\t\t\t\t\t\t\t\t\t\t<label class='uk-form-label' for='xxx'>de</label>\n\t\t\t\t\t\t\t\t\t\t<div class='uk-form-controls'>\n\t\t\t\t\t\t\t\t\t\t\t<input class='uk-form-small' placeholder='' data-uk-datepicker={format:'DD/MM/YYYY'} style='width:100%;text-align: right;' name='data_inicio' id='data_inicio' value='00/00/0000' type='text'>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</div>\t\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li>\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<div class='uk-form-row'>\n\t\t\t\t\t\t\t\t\t\t<label class='uk-form-label' for='xxx'>até</label>\n\t\t\t\t\t\t\t\t\t\t<div class='uk-form-controls'>\n\t\t\t\t\t\t\t\t\t\t\t<input class='uk-form-small' placeholder='' data-uk-datepicker={format:'DD/MM/YYYY'} style='width:100%;text-align: right;' name='data_fim' id='data_fim' value='00/00/0000' type='text'>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li>\t\n\t\t\t\t\t\t\t\t\t<br/>\n\t\t\t\t\t\t\t\t\t<button class='uk-button uk-button-danger' type='submit' id='' ><i class='uk-icon-check'></i> Confirmar</button>\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t</form>\n\t\t\t\t\t\t<hr class='uk-article-divider'>\n\t\t\t\t</div>";
     }
     if ($tipo == 2) {
         echo "<div class='uk-grid uk-width-1-1' style=''>\n\t\t\t\t\t<div class='uk-width-1-1' style='margin-bottom: 30px;'>\n\t\t\t\t\t\t<h3>Filtro</h3>\n\t\t\t\t\t\t<form class='uk-form' action='#' method='post'>\t\t\t\t\t\t\n\t\t\t\t\t\t\t<ul class='uk-subnav'>\n\t\t\t\t\t\t\t\t<li>";
         $inputs->input_form_row('00/00/0000', 'data_inicio', 'de', '', " data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li>";
         $inputs->input_form_row('00/00/0000', 'data_fim', 'até', '', " data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li>";
         $selects->aquisicao_baixa('', 'Relatório');
         echo "\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li>";
         $selects->cad_motivo_baixa('', 'Motivo de baixa');
         echo "\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li>";
         $selects->cod_grupo_patrimonio('', 'Grupo');
         echo "\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li>";
         $selects->filial('', 'Filial');
         echo "\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li>";
         $selects->tipo_patrimonio('', 'Tipo de patrimônio');
         echo "\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li>";
         $selects->tipo_aquisicao('', 'Aquisição');
         echo "\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t</br>\n\t\t\t\t\t\t\t\t\t<button class='uk-button uk-button-danger' type='submit' id='' ><i class='uk-icon-check'></i> Confirmar</button>\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t\t<hr class='uk-article-divider'>\n\t\t\t\t\t</div>\n\t\t\t\t</div>";
     }
     if ($tipo == 3) {
         echo "<div class='uk-grid uk-width-1-1' style=''>\n\t\t\t\t\t<div class='uk-width-1-1' style='margin-bottom: 30px;'>\n\t\t\t\t\t\t<h3>Filtro</h3>\n\t\t\t\t\t\t<form class='uk-form' action='#' method='post'>\n\t\t\t\t\t\t\t<ul class='uk-subnav'>\n\t\t\t\t\t\t\t\t<li>";
         $inputs->input_form_row('00/00/0000', 'data_inicio', 'de', '', " data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t";
         $inputs->input_form_row('00/00/0000', 'data_fim', 'até', '', " data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t";
         $selects->cod_grupo_patrimonio('', 'Grupo');
         echo "\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t";
         $selects->filial('', 'Filial');
         echo "\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t</br>\n\t\t\t\t\t\t\t\t\t<button class='uk-button uk-button-danger' type='submit' id='' ><i class='uk-icon-check'></i> Confirmar</button>\n\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t\t<hr class='uk-article-divider'>\n\t\t\t\t\t</div>\n\t\t\t\t</div>";
     }
     if ($tipo == 4) {
         echo "<div class='uk-grid uk-width-1-1' style=''>\n\t\t\t\t\t<div class='uk-width-1-1' style='margin-bottom: 30px;'>\n\t\t\t\t\t\t<h3>Filtro</h3>\n\t\t\t\t\t\t<form class='uk-form' action='#' method='post'>\n\t\t\t\t\t\t\t<div class='uk-grid'>\n\t\t\t\t\t\t\t\t<div class='uk-width-1-5'>";
         $inputs->input_form_row('00/00/0000', 'data_inicio', 'de', '', " data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div>\n\t\t\t\t\t\t\t\t<div class='uk-width-1-5'>";
         $inputs->input_form_row('00/00/0000', 'data_fim', 'até', '', " data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div>\n\t\t\t\t\t\t\t\t<div class='uk-width-1-5'>";
         $inputs->input_form_row('', 'cod_item', 'Cod. Item', '', '');
         echo "</div>\n\t\t\t\t\t\t\t\t<div class='uk-width-1-5'>";
         $selects->cod_grupo_patrimonio('', 'Grupo');
         echo "</div>\n\t\t\t\t\t\t\t\t<div class='uk-width-1-5'>";
         $selects->filial('', 'Filial');
         echo "</div>\n\t\t\t\t\t\t\t\t<div class='uk-width-1-1'>\n\t\t\t\t\t\t\t\t<hr class='uk-article-divider'>\n\t\t\t\t\t\t\t\t\t<button class='uk-button uk-button-danger' type='submit' id='' ><i class='uk-icon-check'></i> Confirmar</button>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</form>\n\t\t\t\t\t</div>\n\t\t\t\t</div>";
     }
 }
Esempio n. 2
0
 function listar_captacoes_carta($cod_carta, $data_inicio, $data_fim)
 {
     include "config.php";
     if ($data_inicio == "") {
         $data_inicio = '1900-01-01';
     } else {
         $data_inicio = data($data_inicio);
     }
     if ($data_fim == "") {
         $data_fim = '9999-12-31';
     } else {
         $data_fim = data($data_fim);
     }
     $select = "SELECT\n\t\t\t\t\t\t\t\tcaptacao_cartas.cod_captacao_cartas,\n\t\t\t\t\t\t\t\tcaptacao_cartas.cod_carta as carta,\n\t\t\t\t\t\t\t\tcaptacao_cartas.numero_lote,\n\t\t\t\t\t\t\t\tcaptacao_cartas.data_vencimento,\n\t\t\t\t\t\t\t\tcaptacao_cartas.status,\n\t\t\t\t\t\t\t\tcad_status.status_resumido,\n\t\t\t\t\t\t\t\tcad_status.descricao,\n\t\t\t\t\t\t\t\tcad_cartas.cod_contribuinte as cod_contribuinte,\n\t\t\t\t\t\t\t\tcad_pessoas.nome_razao_social as nomecontribuinte,\n\t\t\t\t\t\t\t\tcaptacao_cartas.valor as valor,\n\t\t\t\t\t\t\t\tIFNULL(" . $schema . ".captacao_cartas_baixas.historico,'-') as historico,\n\t\t\t\t\t\t\t\tIFNULL(" . $schema . ".captacao_cartas_baixas.cod_carteira,0) as cod_carteira,\n\t\t\t\t\t\t\t\tIFNULL(max(captacao_cartas_baixas.data_baixa),'0000-00-00') as data_recebimento,\n\t\t\t\t\t\t\t\tIFNULL(sum(captacao_cartas_baixas.valor_baixa),0) as somabaixas,\n\t\t\t\t\t\t\t\t(captacao_cartas.valor-IFNULL(sum(captacao_cartas_baixas.valor_baixa),0)) as saldocaptacao\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tFROM \n\t\t\t\t\t\t\t\t" . $schema . ".captacao_cartas\n\n\t\t\t\t\t\t\tLEFT JOIN " . $schema . ".cad_cartas ON\n\t\t\t\t\t\t\t\t" . $schema . ".cad_cartas.cod_carta=" . $schema . ".captacao_cartas.cod_carta\n\n\t\t\t\t\t\t\tLEFT JOIN " . $schema . ".captacao_cartas_baixas ON \n\t\t\t\t\t\t\t\t" . $schema . ".captacao_cartas_baixas.cod_captacao_cartas=" . $schema . ".captacao_cartas.cod_captacao_cartas\n\n\t\t\t\t\t\t\tLEFT JOIN " . $schema . ".cad_pessoas ON\n\t\t\t\t\t\t\t\t" . $schema . ".cad_pessoas.cod_pessoa=" . $schema . ".cad_cartas.cod_contribuinte\n\n\t\t\t\t\t\t\tLEFT JOIN " . $schema . ".cad_status ON\n\t\t\t\t\t\t\t\tcad_status.cod_status=captacao_cartas.status\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tWHERE \n\t\t\t\t\t\t\t\tcaptacao_cartas.cod_empresa=" . $_SESSION['cod_empresa'] . " and\n\t\t\t\t\t\t\t\tcaptacao_cartas.cod_carta='" . $cod_carta . "' and\n\t\t\t\t\t\t\t\t(captacao_cartas.data_vencimento between '" . $data_inicio . "' and '" . $data_fim . "' )\n\n\t\t\t\t\t\t\tGROUP BY \t\n\t\t\t\t\t\t\t\t" . $schema . ".captacao_cartas.cod_captacao_cartas\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tLIMIT 1000\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t;";
     $resultado = mysql_query($select, $conexao) or die(mysql_error() . "<br><br><br>" . $select);
     $tabela = "<div class='' style='overflow-x: scroll; margin-left: -10px;'><table class='uk-table uk-table-hover uk-table-condensed uk-text-nowrap uk-panel-box' style='font-size: 11px;max-width: 100%;'>";
     $tabela .= "<tr>\n\t\t\t\t\t\t\t<th></th>\n\t\t\t\t\t\t\t<th></th>\n\t\t\t\t\t\t\t<th></th>\n\t\t\t\t\t\t\t<th>Histórico</th>\n\t\t\t\t\t\t\t<th>Vcto.Cap.</th>\n\t\t\t\t\t\t\t<th>Dt.Receb.</th>\n\t\t\t\t\t\t\t<th>Capt.(R\$)</th>\n\t\t\t\t\t\t\t<th>Receb.(R\$)</th>\n\t\t\t\t\t\t\t<th>Saldo (R\$)</th>\n\n\t\t\t\t\t\t\t</tr>";
     $n = 1;
     while ($row = mysql_fetch_array($resultado)) {
         $tabela .= "<tr>\n\t\t\t\t\t\t\t<th>" . $n . "</th>\n\t\t\t\t\t\t\t<th>\n\t\t\t\t\t\t\t\t<a href='cadastro_captacoes.php?id=" . $row['cod_captacao_cartas'] . "'  target='_blank'>\n\t\t\t\t\t\t\t\t\t<div class='uk-button uk-button-mini uk-button-primary' style='width: 100%;'><i class='uk-icon-edit'></i>  Editar</div>\n\t\t\t\t\t\t\t\t</a>\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t</th>\n\t\t\t\t\t\t\t<td>" . $row['status_resumido'] . "</td>\n\t\t\t\t\t\t\t<td>" . $row['historico'] . "</td>\n\t\t\t\t\t\t\t<td>" . data($row['data_vencimento']) . "</td>\n\t\t\t\t\t\t\t<td>" . data($row['data_recebimento']) . "</td>\n\t\t\t\t\t\t\t<td style='text-align: right;'>" . number_format($row['valor'], 2, ',', '.') . "</td>\n\t\t\t\t\t\t\t<td style='text-align: right;'>" . number_format($row['somabaixas'], 2, ',', '.') . "</td>\n\t\t\t\t\t\t\t<td style='text-align: right;'>" . number_format($row['saldocaptacao'], 2, ',', '.') . "</td>\n\t\t\t\t\t\t\t</tr>";
         $n = $n + 1;
     }
     $campos_inputs = new inputs();
     $tabela .= "</table></div>";
     echo "<div class=' uk-width-1-1'>\n\t\t\t\t\t\t\t\t<h3><i class='uk-icon-tags'></i> Captações da carta</h3>\n\t\t\t\t\t\t\t\t<form method='get' class='uk-form'>\n\t\t\t\t\t\t\t\t<div class='uk-grid'>\n\t\t\t\t\t\t\t\t\t<div class='uk-width-1-3' style=''>";
     //carta_data_inicio
     $campos_inputs->input_form_row('', '_data_inicio', 'Inicio', '00/00/0000', "data-uk-datepicker={format:'DD/MM/YYYY'} onkeyup=javascript:formatar_data(this);");
     echo "\t</div>\n\t\t\t\t\t\t\t\t\t<div class='uk-width-1-3' style=''>";
     //carta_data_fim
     $campos_inputs->input_form_row('', '_data_fim', 'Fim', '00/00/0000', "data-uk-datepicker={format:'DD/MM/YYYY'} onkeyup=javascript:formatar_data(this);");
     echo "\t</div>\n\t\t\t\t\t\t\t\t\t<div class='uk-width-1-3' style=''><br>\n\t\t\t\t\t\t\t\t\t\t<button class='uk-button uk-button-primary uk-button-small'><i class='uk-icon-filter'></i>  Filtrar</button>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t<input type='text' readonly='' name='id' id='id' value='" . $cod_carta . "' style='visibility: hidden;width: 0px;'>\n\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</form>\n\t\t\t\t\t\t\t\t" . $tabela . "\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t</div>";
 }
Esempio n. 3
0
 function filtros($tipo)
 {
     $inputs = new inputs();
     $selects = new selects();
     if ($tipo == 1) {
         echo "<button class='uk-button uk-button-mini uk-button-primary' data-uk-offcanvas={target:'#div_filtro'}><i class='uk-icon-filter'></i> Filtro</button>";
         echo "<div class=' uk-offcanvas' id='div_filtro'  style=''>";
         echo "<div class='uk-offcanvas-bar'>";
         echo "<div class=' uk-width-1-1' style='padding-right: 40px;'>\n\t\t\t\t\t\t\t\t\t\t\t<style>\n\t\t\t\t\t\t\t\t\t\t\t\tlabel{\n\t\t\t\t\t\t\t\t\t\t\t\t\tfont-size: 11px !important;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t</style>\n\t\t\t\t\t\t\t\t\t\t\t<h3>Filtro</h3>\n\t\t\t\t\t\t\t\t\t\t\t<form class='uk-form' action='#' method='post' style='text-align: left; color:#fff;'>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-grid '>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class=' uk-width-1-1'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class='uk-subnav' style='margin-left: -40px;'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
         echo "<li class='uk-grid' style='margin-top: 10px; margin-left: 30px; max-width: 280px; width: 100%;'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_lancamento_de', 'Data de lançamento', '', "value='01/01/1900' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div>\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_lancamento_ate', 'até', "", "value='01/01/9999' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>";
         echo "<li class='uk-grid' style='margin-top: 10px; margin-left: 30px; max-width: 280px; width: 100%;'><div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_base_de', 'Data base', "", "value='01/01/1900' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div>\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_base_ate', 'até', "", "value='01/01/9999' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div></li>";
         echo "<li class='uk-grid' style='margin-top: 10px; margin-left: 30px; max-width: 280px; width: 100%;'><div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_estorno_de', 'Data de estorno', "", "value='01/01/1900' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div>\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_estorno_ate', 'até', "", "value='01/01/9999' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div></li>";
         echo "<li class='uk-grid' style='margin-top: 10px; margin-left: 30px; max-width: 280px; width: 100%;'><div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_alteracao_de', 'Data de alteração', "", "value='01/01/1900' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div>\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_alteracao_ate', 'até', "", "value='01/01/9999' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div></li>";
         echo "<li class='uk-grid' style='margin-top: 10px; margin-left: 30px; max-width: 280px; width: 100%;'><div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_inclusao_de', 'Data de inclusão', "", "value='01/01/1900' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div>\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_inclusao_ate', 'até', "", "value='01/01/9999' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div></li>";
         echo "<li class='uk-grid' style='margin-top: 10px; margin-left: 30px; max-width: 280px; width: 100%;'><div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'cod_documento', 'Cód. de documento', "", "");
         echo "</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'referencia', 'Referência', "", "");
         echo "</div></li>";
         echo "<li class='uk-grid' style='margin-top: 10px; margin-left: 30px; max-width: 280px; width: 100%;'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-1'>";
         $inputs->input_form_row('', 'texto_cabecalho_documento', 'texto de cabeçalho', "", "");
         echo "</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>";
         echo "<li class='uk-grid' style='margin-top: 10px; margin-left: 30px; max-width: 280px; width: 100%;'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-1'>";
         $inputs->input_form_row('', 'historico', 'Histórico', "", "");
         echo "</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>";
         echo "<li class='uk-grid' style='margin-top: 10px; margin-left: 30px; max-width: 280px; width: 100%;'><div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'exercicio', 'Exercicio (ano)', "", "");
         echo "</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'periodo', 'Período (mês)', "", "");
         echo "</div></li>";
         echo "</ul>\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-1'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li style='text-align: right; padding-right: 0px; margin-right: -30px;'>\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<br/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button class='uk-button uk-button-mini uk-button-danger' type='submit' id='' ><i class='uk-icon-check'></i> Confirmar</button>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t\t\t\t</form>\n\n\t\t\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t";
         echo "</div>";
         echo "</div>";
     }
     if ($tipo == 2) {
         echo "<button class='uk-button uk-button-mini uk-button-primary' data-uk-offcanvas={target:'#div_filtro'}><i class='uk-icon-filter'></i> Filtro</button>";
         echo "<div class=' uk-offcanvas' id='div_filtro'  style=''>";
         echo "<div class='uk-offcanvas-bar'>";
         echo "<div class=' uk-width-1-1' style='padding-right: 10px; padding-left: 10px;'>\n\t\t\t\t\t\t\t\t<style>\n\t\t\t\t\t\t\t\t\tlabel{\n\t\t\t\t\t\t\t\t\t\tfont-size: 11px !important;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</style>\n\t\t\t\t\t\t\t\t<h3>Filtro</h3>\n\t\t\t\t\t\t\t\t<form class='uk-form' action='#' method='post' style='text-align: left; color:#fff;'>\n\t\t\t\t\t\t\t\t\t<ul class='uk-list'>\n\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t\t<div class='uk-grid'>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t\t\t\t\t";
         $inputs->input_form_row('00/00/0000', 'data_inicio', 'de', '', " data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t\t";
         $inputs->input_form_row('00/00/0000', 'data_fim', 'até', '', " data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t\t<div class='uk-grid'>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t\t\t\t\t";
         $inputs->input_form_row('', 'conta_inicio', 'Conta contábil', '', " ");
         echo "\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t\t";
         $inputs->input_form_row('', 'conta_fim', 'até', '', " ");
         echo "\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t\t<div class='uk-grid'>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t\t\t\t\t";
         $inputs->input_form_row('', 'ctr_custo_inicio', 'Centro de custo', '', " ");
         echo "\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t\t";
         $inputs->input_form_row('', 'ctr_custo_fim', 'até', '', " ");
         echo "\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t\t<div class='uk-grid'>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-1'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</br>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<p>Agrupar por:</p>\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<input type='radio' name='relatorio' value='conta' checked /> Conta Contábil\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<input type='radio' name='relatorio' value='centro_custo' /> Centro de Custo\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t";
         echo "\n\t\t\t\t\t\t\t\t\t\t</li>\n\n\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-1' style='text-align: right ! important;'>\n\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t<br/>\n\t\t\t\t\t\t\t\t\t\t\t\t<button class='uk-button uk-button-mini uk-button-danger' type='submit' id='' ><i class='uk-icon-check'></i> Confirmar</button>\n\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t</form>\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t</div>";
         echo "</div>";
         echo "</div>";
     }
     if ($tipo == 3) {
         echo "<button class='uk-button uk-button-mini uk-button-primary' data-uk-offcanvas={target:'#div_filtro'}><i class='uk-icon-filter'></i> Filtro</button>";
         echo "<div class=' uk-offcanvas' id='div_filtro'  style=''>";
         echo "<div class='uk-offcanvas-bar'>";
         echo "<div class=' uk-width-1-1' style='padding-right: 10px; padding-left: 10px;'>\n\t\t\t\t\t\t\t<style>\n\t\t\t\t\t\t\t\tlabel{\n\t\t\t\t\t\t\t\t\tfont-size: 11px !important;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t</style>\n\t\t\t\t\t\t\t<h3>Filtro</h3>\n\t\t\t\t\t\t\t<form class='uk-form' action='#' method='post' style='text-align: left; color:#fff;'>\n\t\t\t\t\t\t\t\t<ul class='uk-list'>\n\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t<div class='uk-grid'>\n\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t\t\t\t";
         $inputs->input_form_row('00/00/0000', 'data_inicio', 'de', '', " data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t";
         $inputs->input_form_row('00/00/0000', 'data_fim', 'até', '', " data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t<div class='uk-grid'>\n\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t\t\t\t";
         $inputs->input_form_row('', 'conta_inicio', 'Conta contábil', '', " ");
         echo "\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t";
         $inputs->input_form_row('', 'conta_fim', 'até', '', " ");
         echo "\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t<div class='uk-grid'>\n\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t\t\t\t";
         $inputs->input_form_row('', 'ctr_custo_inicio', 'Centro de custo', '', " ");
         echo "\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t";
         $inputs->input_form_row('', 'ctr_custo_fim', 'até', '', " ");
         echo "\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t<div class='uk-width-1-1' style='text-align: right ! important;'>\n\t\t\n\t\t\t\t\t\t\t\t\t\t\t<br/>\n\t\t\t\t\t\t\t\t\t\t\t<button class='uk-button uk-button-mini uk-button-danger' type='submit' id='' ><i class='uk-icon-check'></i> Confirmar</button>\n\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t</form>\n\n\t\t\t\t\t\t\n\t\t\t\t\t</div>";
         echo "</div>";
         echo "</div>";
     }
     if ($tipo == 4) {
         echo "<button class='uk-button uk-button-mini uk-button-primary' data-uk-offcanvas={target:'#div_filtro'}><i class='uk-icon-filter'></i> Filtro</button>";
         echo "<div class=' uk-offcanvas' id='div_filtro'  style=''>";
         echo "<div class='uk-offcanvas-bar'>";
         echo "<div class=' uk-width-1-1' style='padding-right: 10px; padding-left: 10px;'>\n\t\t\t\t\t\t\t\t<style>\n\t\t\t\t\t\t\t\t\tlabel{\n\t\t\t\t\t\t\t\t\t\tfont-size: 11px !important;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</style>\n\t\t\t\t\t\t\t\t<h3>Filtro</h3>\n\t\t\t\t\t\t\t\t<form class='uk-form' action='#' method='post' style='text-align: left; color:#fff;'>\n\t\t\t\t\t\t\t\t\t<ul class='uk-list'>\n\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t\t<div class='uk-grid'>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t\t\t\t\t";
         $inputs->input_form_row('00/00/0000', 'data_inicio', 'de', '', " data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t\t";
         $inputs->input_form_row('00/00/0000', 'data_fim', 'até', '', " data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-1' style='text-align: right ! important;'>\n\t\t\t\t\t\t\t\t\t\t\t<br/>\n\t\t\t\t\t\t\t\t\t\t\t\t<button class='uk-button uk-button-mini uk-button-danger' type='submit' id='' ><i class='uk-icon-check'></i> Confirmar</button>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t\t</form>\n\t\t\t\t\t\t</div>";
         echo "</div>";
         echo "</div>";
     }
     if ($tipo == 5) {
         echo "<button class='uk-button uk-button-mini uk-button-primary' data-uk-offcanvas={target:'#div_filtro'}><i class='uk-icon-filter'></i> Filtro</button>";
         echo "<div class=' uk-offcanvas' id='div_filtro'  style=''>";
         echo "<div class='uk-offcanvas-bar'>";
         echo "<div class=' uk-width-1-1' style='padding-right: 40px;'>\n\t\t\t\t\t\t\t\t\t\t<style>\n\t\t\t\t\t\t\t\t\t\t\tlabel{\n\t\t\t\t\t\t\t\t\t\t\t\tfont-size: 11px !important;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t</style>\n\t\t\t\t\t\t\t\t\t\t<h3>Filtro</h3>\n\t\t\t\t\t\t\t\t\t\t<form class='uk-form' action='#' method='post' style='text-align: left; color:#fff;'>\n\t\t\t\t\t\t\t\t\t\t\t<div class='uk-grid '>\n\t\t\t\t\t\t\t\t\t\t\t<div class=' uk-width-1-1'>\n\t\t\t\t\t\t\t\t\t\t\t\t<ul class='uk-subnav' style='margin-left: -40px;'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t";
         echo "<li class='uk-grid' style='margin-top: 10px; margin-left: 30px; max-width: 280px; width: 100%;'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_lancamento_de', 'Data de lançamento', '', "value='01/01/1900' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div>\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_lancamento_ate', 'até', "", "value='01/01/9999' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</li>";
         echo "<li class='uk-grid' style='margin-top: 10px; margin-left: 30px; max-width: 280px; width: 100%;'><div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_base_de', 'Data base', "", "value='01/01/1900' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div>\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_base_ate', 'até', "", "value='01/01/9999' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div></li>";
         echo "<li class='uk-grid' style='margin-top: 10px; margin-left: 30px; max-width: 280px; width: 100%;'><div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_estorno_de', 'Data de estorno', "", "value='01/01/1900' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div>\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_estorno_ate', 'até', "", "value='01/01/9999' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div></li>";
         echo "<li class='uk-grid' style='margin-top: 10px; margin-left: 30px; max-width: 280px; width: 100%;'><div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_alteracao_de', 'Data de alteração', "", "value='01/01/1900' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div>\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_alteracao_ate', 'até', "", "value='01/01/9999' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div></li>";
         echo "<li class='uk-grid' style='margin-top: 10px; margin-left: 30px; max-width: 280px; width: 100%;'><div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_inclusao_de', 'Data de inclusão', "", "value='01/01/1900' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div>\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'data_inclusao_ate', 'até', "", "value='01/01/9999' data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "</div></li>";
         echo "<li class='uk-grid' style='margin-top: 10px; margin-left: 30px; max-width: 280px; width: 100%;'><div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'numero_conta', 'Numero Conta', "", "");
         echo "</div>\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'numero_ctr_custo', 'Numero Ctr. Custo', "", "");
         echo "</div></li>";
         echo "<li class='uk-grid' style='margin-top: 10px; margin-left: 30px; max-width: 280px; width: 100%;'><div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'cod_documento', 'Cód. de documento', "", "");
         echo "</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'referencia', 'Referência', "", "");
         echo "</div></li>";
         echo "<li class='uk-grid' style='margin-top: 10px; margin-left: 30px; max-width: 280px; width: 100%;'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-1'>";
         $inputs->input_form_row('', 'texto_cabecalho_documento', 'texto de cabeçalho', "", "");
         echo "</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</li>";
         echo "<li class='uk-grid' style='margin-top: 10px; margin-left: 30px; max-width: 280px; width: 100%;'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-1'>";
         $inputs->input_form_row('', 'historico', 'Histórico', "", "");
         echo "</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</li>";
         echo "<li class='uk-grid' style='margin-top: 10px; margin-left: 30px; max-width: 280px; width: 100%;'><div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'exercicio', 'Exercicio (ano)', "", "");
         echo "</div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>";
         $inputs->input_form_row('', 'periodo', 'Período (mês)', "", "");
         echo "</div></li>";
         echo "</ul>\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-1'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li style='text-align: right; padding-right: 0px; margin-right: -30px;'>\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<br/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button class='uk-button uk-button-mini uk-button-danger' type='submit' id='' ><i class='uk-icon-check'></i> Confirmar</button>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t\t\t</form>\n\n\t\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t";
         echo "</div>";
         echo "</div>";
     }
     if ($tipo == 6) {
         echo "<button class='uk-button uk-button-mini uk-button-primary' data-uk-offcanvas={target:'#div_filtro'}><i class='uk-icon-filter'></i> Filtro</button>";
         echo "<div class=' uk-offcanvas' id='div_filtro'  style=''>";
         echo "<div class='uk-offcanvas-bar'>";
         echo "<div class=' uk-width-1-1' style='padding-right: 10px; padding-left: 10px;'>\n\t\t\t\t\t\t\t\t<style>\n\t\t\t\t\t\t\t\t\tlabel{\n\t\t\t\t\t\t\t\t\t\tfont-size: 11px !important;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</style>\n\t\t\t\t\t\t\t\t<h3>Filtro</h3>\n\t\t\t\t\t\t\t\t<form class='uk-form' action='#' method='post' style='text-align: left; color:#fff;'>\n\t\t\t\t\t\t\t\t\t<ul class='uk-list'>\n\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t\t<div class='uk-grid'>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t\t\t\t\t";
         $inputs->input_form_row('00/00/0000', 'data_inicio', 'de', '', " data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t\t";
         $inputs->input_form_row('00/00/0000', 'data_fim', 'até', '', " data-uk-datepicker={format:'DD/MM/YYYY'}");
         echo "\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t\t<div class='uk-grid'>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-1'>\n\t\t\t\t\t\t\t\t\t\t\t\t";
         $inputs->input_form_row('', 'conta_inicio', 'Conta contábil', '', " ");
         echo "\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t\t<div class='uk-grid'>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t\t\t\t\t";
         $inputs->input_form_row('', 'ctr_custo_inicio', 'Centro de custo', '', " ");
         echo "\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-2'>\n\t\t\t\t\t\t\t\t\t";
         $inputs->input_form_row('', 'ctr_custo_fim', 'até', '', " ");
         echo "\n\t\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</li>\n\n\t\t\t\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t\t\t<div class='uk-width-1-1' style='text-align: right ! important;'>\n\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t<br/>\n\t\t\t\t\t\t\t\t\t\t\t\t<button class='uk-button uk-button-mini uk-button-danger' type='submit' id='' ><i class='uk-icon-check'></i> Confirmar</button>\n\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t</form>\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t</div>";
         echo "</div>";
         echo "</div>";
     }
 }
Esempio n. 4
0

					<div class='uk-panels uk-width-1-1  uk-panel-box' style="min-width: 350px;">
						<a href="comprovantes/comprovante_carta.php?cod_carta=<?php 
echo $cod_carta;
?>
" class="uk-button uk-button-small" target="_blank"><i class="uk-icon-print"></i> Imprimir</a>

						<h3>Dados da carta</h3>
						<form class='uk-form' action='#' method='POST' id='form_carta'>
						<div class="uk-grid">
							<div class="uk-width-1-1">
								<div class="uk-grid">
									<div class="uk-width-1-4">
									<?php 
$campos_inputs->input_form_row($cod_carta, 'cod_carta', 'Carta', 'nova', ' readonly ');
?>
									</div>
								</div>
							</div>
							<div class="uk-width-1-1">
								<div class="uk-grid">
									<div class="uk-width-1-3">
									<?php 
$campos_select->select_status_carta($status_carta);
?>
									</div>
									<div class="uk-width-2-3">
									<?php 
$campos_select->select_status_captacoes($status_captacoes);
?>
Esempio n. 5
0
											</div>									
											<div class="uk-grid">
														<div class="uk-width-1-1 uk-width-small-1-1 uk-width-medium-1-1 uk-width-large-1-1">
															<?php 
$campos_select->select_status_captacao($status);
?>
														</div>
														<div class="uk-width-1-1 uk-width-small-1-1 uk-width-medium-1-1 uk-width-large-1-1">
															<?php 
$campos_select->select_pessoas($cod_pessoa);
?>
														</div>													
										
														<div class="uk-width-1-2 uk-width-small-1-2 uk-width-medium-1-3 uk-width-large-1-4">
														<?php 
$campos_inputs->input_form_row($cod_captacao_cartas, 'cod_captacao_cartas', 'Captação', '', ' readonly ');
?>
														</div>
														<div class="uk-width-1-2 uk-width-small-1-2 uk-width-medium-1-3 uk-width-large-1-4">
														<?php 
$campos_inputs->input_form_row($cod_carta, 'cod_carta', 'Carta', ' ', ' readonly ');
?>
														</div>
														<div class="uk-width-1-2 uk-width-small-1-2 uk-width-medium-1-3 uk-width-large-1-4">
														<?php 
$campos_inputs->input_form_row($numero_lote, 'numero_lote', 'Lote de envio', ' ', ' readonly ');
?>
														</div>
														<div class="uk-width-1-2 uk-width-small-1-2 uk-width-medium-1-3 uk-width-large-1-4">
														<?php 
$campos_inputs->input_form_row($data_vencimento, 'data_vencimento', 'Vencimento', ' ', ' readonly ');
					

					<div id="div_baixa_em_lote" class="uk-modal">
						<div class="uk-modal-dialog">
							<a class="uk-modal-close uk-close"></a>
							<div class="uk-grid uk-form">
								<div class="uk-width-2-3">
									<?php 
        $selects = new selects();
        $selects->select_carteiras2('cod_carteira_baixa_lote');
        ?>
								</div>
								<div class="uk-width-1-3" style="padding-top: 10px;">
									<?php 
        $inputs = new inputs();
        $inputs->input_form_row('00/00/0000', 'data_baixa_lote', 'Data de baixa', '', "placeholder='00/00/0000' onkeyup=javascript:formatar_data(this);");
        ?>
									
								</div>
								<div class="uk-width-1-1" style="padding-top: 10px;">
									<hr class="uk-article-divider" style="margin-bottom: 0px;">								
									<div class="uk-grid" id="" style="height: 300px; overflow-y: scroll;">
									<div class="uk-width-1-1" id="itens_baixa_em_lote">
									</div>
									<table id="itens_baixa_em_lote" class="uk-table uk-table-hover">
									</table>
									</div>
									<input type="text" id="cod_captacao_carta_baixa_lote" hidden>
									<input type="text" id="valor_baixa_lote" hidden>
								</div>
								<div class="uk-width-1-1 uk-modal-footer" style="padding-top: 0px;">