This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="pt-BR">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<style type="text/css">
|
||||
footer {
|
||||
color: #222222;
|
||||
display: block;
|
||||
font-family: Helvetica;
|
||||
font-size: 14px;
|
||||
padding-top: 5mm;
|
||||
}
|
||||
.footer {
|
||||
border-top: 2px solid #000000;
|
||||
width: 100%;
|
||||
}
|
||||
.footer-left {
|
||||
text-align: left;
|
||||
line-height: 5px;
|
||||
}
|
||||
.footer-right {
|
||||
text-align: right;
|
||||
line-height: 5px;
|
||||
font-size: 12px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<footer>
|
||||
<table class="footer">
|
||||
<tr>
|
||||
<td class="footer-left">
|
||||
<p>{{ $_data['cliente']['sistema']['nome'] }} {{ $_data['cliente']['sistema']['versao'] }}</p>
|
||||
<p>Página <span id="page"></span> de <span id="topage"></span></p>
|
||||
</td>
|
||||
<td class="footer-right">
|
||||
<p>Impresso por: {{ $_data['usuario']['cidadao']['nome'] }}</p>
|
||||
<p>Unidade: {{ $_data['infraestrutura']['unidade']['nome_fantasia'] }} </p>
|
||||
<p>Data/hora da impressão: {{ $_data['data_impressao'] }}</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
var vars = {};
|
||||
var x = window.location.search.substring(1).split('&');
|
||||
|
||||
for (var i in x) {
|
||||
var z = x[i].split('=',2);
|
||||
vars[z[0]] = unescape(z[1]);
|
||||
}
|
||||
|
||||
document.getElementById('page').innerHTML = vars.page;
|
||||
document.getElementById('topage').innerHTML = vars.topage;
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user