Skip to content

Commit

Permalink
Form novo convertido
Browse files Browse the repository at this point in the history
  • Loading branch information
hiltonbruce committed Aug 24, 2016
1 parent 845e074 commit afae4ec
Show file tree
Hide file tree
Showing 10 changed files with 185 additions and 161 deletions.
File renamed without changes.
20 changes: 17 additions & 3 deletions controller/secretaria.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
<?php
///require("calendario/funcs.php");
$painelDireito = 'views/secretaria/agendaMes.php';
require_once 'views/secretaria/agenda.php';
///require("calendario/funcs.php");
$sec = (empty($_GET['sec'])) ? 0 : intval($_GET['sec']) ;
$linkLancamento = 'escolha=controller/secretaria.php&';
require_once 'views/secretaria/topNovoConvert.php';

switch ($sec) {
case 1:
# Novos convertidos
require_once 'views/secretaria/cadNovoConvert.php';
break;

default:
#Agenda da secretaria executiva
$painelDireito = 'views/secretaria/agendaMes.php';
require_once 'views/secretaria/agenda.php';
break;
}
?>
14 changes: 7 additions & 7 deletions forms/pgtoagenda.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

$mudaTipo = '<div class="bs-callout bs-callout-warning">
<p><label><input type="checkbox" id="status" name="paraCredor" value="1">
&nbsp;Mudar este compromisso para credor <strong>NÃO</strong>-Membro da Igreja!</label></p>
&nbsp;Mudar este compromisso para credor <strong>N&Aatilde;O</strong>-Membro da Igreja!</label></p>
</div>';

}else {
Expand Down Expand Up @@ -77,7 +77,7 @@
?>

<fieldset>
<legend>Lançar Pagamento</legend>
<legend>Lan&ccedil;ar Pagamento</legend>
<p style="background: white; color: blue; font-size: 14px;">
<form action="" method="post" name="cadastro_igreja">
<table style="text-align: left; width: 100%;">
Expand Down Expand Up @@ -133,7 +133,7 @@
</td>
</tr>
<tr>
<td>Código/tipo:<br /> <input type="text" id="estado_val" class="form-control"
<td>C&oacute;digo/tipo:<br /> <input type="text" id="estado_val" class="form-control"
name="estado_val" disabled="disabled"
value="<?php echo $ctaDespesa->codigo().', Tipo: '.$ctaDespesa->tipo();?>" />
</td>
Expand All @@ -144,7 +144,7 @@
<?PHP echo $desCampoCta; ?> tabindex="<?PHP echo ++$ind; ?>" /></td>
</tr>
<tr>
<td colspan="3">Descrição:<br /> <input type="text" size="78%" id="detalhe" name="det"
<td colspan="3">Descri&ccedil;&aatilde;o:<br /> <input type="text" size="78%" id="detalhe" name="det"
disabled="disabled" class="form-control" value="<?php echo $ctaDespesa->descricao();?>" /></td>
</tr>
<tr>
Expand All @@ -154,7 +154,7 @@
</tr>
<tr>
<td><label><input type="radio" id="status" <?php echo $pago;?>
name="status" value="2" tabindex="<?php echo ++$ind; ?>"> Pago (Efetua lan&ccedil;amento contabil)</label>
name="status" value="2" tabindex="<?php echo ++$ind; ?>"> Pago (Efetua lan&ccedil;amento cont&aacute;bil)</label>
</td>
<td><label> <input type="radio"
id="status" name="status" value="1" <?php echo $enviado;?>
Expand Down Expand Up @@ -226,7 +226,7 @@
?>
<div class="alert alert-danger alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
CONTA <strong>VENCIDA</strong>! Ainda não foi paga! <strong>Situação em: <?php echo $dataget;?></strong>
CONTA <strong>VENCIDA</strong>! Ainda n&aatilde;o foi paga! <strong>Situa&ccedil;&atilde;o em: <?php echo $dataget;?></strong>
<?php echo $lancConfirmado;?>
</div>
<?php
Expand All @@ -242,7 +242,7 @@
?>
<div class="alert alert-info alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
Conta PAGA, Obrigado! <strong>Situação em: <?php echo $dataget;?></strong>
Conta PAGA, Obrigado! <strong>Situa&ccedil;&atilde;o em: <?php echo $dataget;?></strong>
<?php echo $lancConfirmado;?>
</div>
<?php
Expand Down
27 changes: 15 additions & 12 deletions forms/tes/lancarTipoPlan.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@
$igreja = (empty($_GET['igreja'])) ? '' : $_GET['igreja'] ;
?>
<div class="bs-callout bs-callout-danger" id="callout-alerts-no-default">
<h4>Lan&ccedil;amentos de pagamentos</h4>
<p>Indique no primeiro campo a conta utilizada para pagar a despesa.
E mais abaixo: informe o grupo relativo ao gasto, com valor e hist&oacute;rico.
"Clicando" no sinal de "+" para que seja visualizado
os campos para preenchimento relativos a despesa!
</p>
<h4>Lan&ccedil;amentos de pagamentos!<small> (Per&iacute;odo abaixo...)</small></h4>

<form method='get'>
<div class="row">
<!-- <div class="col-xs-3">
Expand Down Expand Up @@ -53,9 +49,16 @@
</div>
</form>
</div>
<div class="panel panel-primary">
<?PHP
<?PHP
if (!empty($_GET['mes']) && !empty($_GET['ano'])) {
?>
<p class="text-primary">Clique no primeiro campo a conta utilizada para pagar a despesa.
E mais abaixo: informe o grupo relativo ao gasto, com valor e hist&oacute;rico.
"Clicando" no sinal de "+" para que seja visualizado
os campos para preenchimento relativos a despesa!
</p>
<div class="panel panel-primary">
<?PHP
//Inicia o bloco com os forms de lançamentos

$ctaDespesa = new tes_despesas();
Expand All @@ -64,11 +67,11 @@
$acesso = (empty($_GET['acesso'])) ? '' : $_GET['acesso'] ;
$listaFonte = $bsccredor->List_Selec($acesso);

$titTabela = '<div class="panel-heading"><h3 class="panel-title">Lan&ccedil;ar de pagamentos - Per&iacute;odo: '.$mesPesquisa.'/'.$ano.'</h3></div>';
$titTabela = '<div class="panel-heading"><h3 class="panel-title">Lan&ccedil;ar pagamentos - Per&iacute;odo: '.$mesPesquisa.'/'.$ano.'</h3></div>';

require_once 'help/tes/lancTipoPlan.php';
require_once 'views/tesouraria/lancTipoPlan.php';
//print_r($arrayDesp);
# code...
}
?>
?>
</div>
<?PHP } ?>
14 changes: 12 additions & 2 deletions func_class/funcoes.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function conv_valor_br ($data) {

function eventoFrequencia ($tipo,$data) {
//Retorna a data adequda e a informação de periodo

}

function sele_uf ($valor,$campo) {
Expand Down Expand Up @@ -481,6 +481,16 @@ function link_ativo ($val_link,$variavel) {
}
}

function li_ativo ($val_link,$variavel) {
/* Define se este bot�o ou limk � o corrente e o define para tal com mudan�a
* da cor de fundo. Isto deve ser definido no script de CSS
*/
if ($variavel==$val_link) {
return 'class="selected" style="border-top:0;"';
}else {
return '';
}
}
function id_corrente ($val_link) {
/* Define se este bot�o ou limk � o corrente e o define para tal com mudan�a
* da cor de fundo. Isto deve ser definido no script de CSS
Expand Down Expand Up @@ -1164,7 +1174,7 @@ function gerarCalend($mes,$ano,$nmeses,$ncols,$datas,$rodapes,$leg)//$feriados,$
} else {
$diaAtual = $cnt_dias++;
}

$temp_ln=$temp_ln."<td class='td_marcado0'>".$diaAtual.'<br />'.$marcaDia.'</td>';
$marcaDia = '';
$daux++;
Expand Down
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ function __autoload ($classe) {
<ul id="categories">
<li <?PHP id_left ("dados_pessoais");?> ><a href="./?escolha=adm/dados_pessoais.php"><span class="glyphicon glyphicon-user text-info" ></span>&nbsp;Membros</a></li>
<li <?PHP id_left ("cadastro_membro");?> ><a href="./?escolha=adm/cadastro_membro.php&uf=PB"><span class="glyphicon glyphicon-download-alt text-info" ></span>&nbsp;Novo Cadastro</a></li>
<li <?PHP id_left ("nv_convertido/");?>><a href="./?escolha=nv_convertido/cad_nv_convert.php&uf=PB"><span class="glyphicon glyphicon-hand-right text-info" ></span>&nbsp;Novos&nbsp;Convertidos</a></li>
<li <?PHP echo li_ativo($_GET["sec"], "1"); ?>><a href="./?escolha=controller/secretaria.php&sec=1&uf=PB"><span class="glyphicon glyphicon-hand-right text-info" ></span>&nbsp;Novos&nbsp;Convertidos</a></li>
<li <?PHP id_left ("igreja/");?>><a href="./?escolha=igreja/list_membro.php&menu=top_igreja"><span class="glyphicon glyphicon-fire text-info"></span>&nbsp;Igrejas</a></li>
<li <?PHP id_left ("secretaria");?>><a href="./?escolha=controller/secretaria.php&mes=<?PHP echo date('m');?>"><span class="glyphicon glyphicon-time text-info" ></span>&nbsp;Agenda</a></li>
<li <?PHP echo li_ativo($_GET["sec"], "0");?>><a href="./?escolha=controller/secretaria.php&sec=0&mes=<?PHP echo date('m');?>"><span class="glyphicon glyphicon-time text-info" ></span>&nbsp;Agenda</a></li>
<li <?PHP id_left ("tab_auxiliar/");?>><a href="./?escolha=tab_auxiliar/cadastro_bairro.php"><span class="glyphicon glyphicon-picture text-info" ></span>&nbsp;Cadastrar Bairro</a></li>
<li <?PHP id_left ("relatorio/");?>><a href="./?escolha=relatorio/formularios.php&menu=top_formulario"><span class="glyphicon glyphicon-list-alt text-info" ></span>&nbsp;Ficha, Recibo e Certid&otilde;es</a></li>
<li <?PHP id_left ("aniv/");?>><a href="./?escolha=aniv/aniversario.php&menu=top_aniv"><span class="glyphicon glyphicon-gift text-info" ></span>&nbsp;Aniversariantes</a></li>
Expand Down
133 changes: 0 additions & 133 deletions nv_convertido/cad_nv_convert.php

This file was deleted.

4 changes: 2 additions & 2 deletions views/secretaria/agenda.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="btn-group" role="group" aria-label="...">
<div class="btn-group" role="group">
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="badge">+</span>
<button type="button" class="btn btn-info dropdown-toggle btn-sm" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="glyphicon glyphicon-menu-hamburger"></span>
</button>
<ul class="dropdown-menu">
<li><a href="#">Agendar culto</a></li>
Expand Down
Loading

0 comments on commit afae4ec

Please sign in to comment.