-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmovimentacaoDev-consulta.php
52 lines (49 loc) · 1.6 KB
/
movimentacaoDev-consulta.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
41
42
43
44
45
46
47
48
49
50
51
52
<?php
include("movimentacaoDev-c.php");
//pega por post o componente codigo do formulario -F.
@$idMovimentacaoDev = $_POST['idMovimentacaoDev'];
@$idMovimentacao = $_POST['idMovimentacao']; //FK
@$dataEntradaMovimentacao = $_POST['dataEntradaMovimentacao'];
$grupoD = selectTodosMovsDev();
//var_dump($grupo);
?>
<html lang="pt-BR">
<head>
<title>Consulta - Devolução</title>
<?php
include("tmpl/head.php");
?>
</head>
<!--includes-->
<?php
include("tmpl/header.php");
include("tmpl/footer.php");
?>
<!--table-->
<div class="container h-100">
<div class="row h-100 justify-content-center align-items-center">
<div class="form">
<h3>Consulta de Devolução</h3>
<table class="table">
<thead class="thead-dark">
<tr>
<th>ID</th>
<th>Data Entrada</th>
<th>ID Emprestimo</th>
</tr>
</thead>
<tbody>
<?php foreach ($grupoD as $Devs) { ?>
<tr>
<td><?=$Devs["idMovimentacaoDev"]?></td>
<td><?=$Devs["dataEntradaMovimentacao"]?></td>
<td><?=$Devs["idMovimentacao"]?></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>