forked from hiltonbruce/Igreja
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvencidas.php
executable file
·40 lines (40 loc) · 977 Bytes
/
vencidas.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
switch ($_GET['vencidas']) {
case '2':
$titulo ='Busca por contas Vencida e Motivo: <span style="font-weight:normal;font-style:italic;">'.$_GET['motivo'].'</span>';
$corpoTabela = $lista->vencidasMotivo($_GET['motivo'], $_GET['credor']);
break;
case '3':
$titulo ='Busca por Motivo: <span style="font-weight:normal;font-style:italic;">'.$_GET['motivo'].'</span>';
$corpoTabela = $lista->motivo($_GET['motivo'], $_GET['credor']);
break;
default:
$titulo ='Contas Vencidas';
$corpoTabela = $lista->listavencidas($dataget);
break;
}
?>
<table class='table' >
<caption>
<?php echo $titulo;?>
</caption>
<colgroup>
<col id="dia">
<col id="Evento">
<col id="Data Pgto">
<col id="albumCol" />
</colgroup>
<thead>
<tr>
<th scope="col">Vencimentos</th>
<th scope="col">Fatura</th>
<th scope="col">Data Pgto</th>
<th scope="col">R$</th>
</tr>
</thead>
<tbody id="periodo">
<?php
echo $corpoTabela;
?>
</tbody>
</table>