<?php
session_start();
require_once 'gerador/SqlServer.php';
require_once 'Script_php/ConexaoSql.php';

$notas = new Sqlserver();
$notass = $notas->NotasSemSalvar();
?>

<!DOCTYPE html>
<html>
<head>

<?php include_once 'head.html' ?>

<title></title>
</head>

<body>

<?php include_once 'header.php'; ?>

<h2>NOTAS NÃO SALVAS NO SOFTCOM</h2>
<hr> 


<table class='table'>

<tr>
    <th>DATA ENTRADA</th>
    <th>Nº NOTA</th>
    <th>FORNECEDOR</th>
    <th>LOJA ORIGEM</th>
    <th>USUARIO</th>
</tr>

<?php
foreach ($notass as $notas){ ?>
<tr>

    <td><?php echo $notas[0] ?></td>
    <td><?php echo $notas[1] ?></td>
    <td><?php echo $notas[2] ?></td>
    <td><?php echo $notas[3] ?></td>
    <td><?php echo $notas[4] ?></td>

</tr>
    <?php } ?>

</table>






<?php include_once 'footer.php' ?>