This commit is contained in:
170
api/resources/views/impressoes/layout-cupom/content.blade.php
Normal file
170
api/resources/views/impressoes/layout-cupom/content.blade.php
Normal file
@@ -0,0 +1,170 @@
|
||||
<!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">
|
||||
|
||||
main {
|
||||
display: block;
|
||||
width: 450px;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
border-radius: 2px;
|
||||
border: 1px solid #222222;
|
||||
margin: 0px 0px 15px 0px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
fieldset > legend {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
width: 450px;
|
||||
}
|
||||
|
||||
th {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
td {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/* Page */
|
||||
.page {
|
||||
page-break-before: always;
|
||||
}
|
||||
|
||||
/* Grid */
|
||||
.row {
|
||||
display: table;
|
||||
width: 450px;
|
||||
}
|
||||
|
||||
.col-1 {
|
||||
display: table-cell;
|
||||
width: 8.33333%;
|
||||
}
|
||||
|
||||
.col-2 {
|
||||
display: table-cell;
|
||||
width: 16.66667%;
|
||||
}
|
||||
|
||||
.col-3 {
|
||||
display: table-cell;
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.col-4 {
|
||||
display: table-cell;
|
||||
width: 33.33333%;
|
||||
}
|
||||
|
||||
.col-5 {
|
||||
display: table-cell;
|
||||
width: 41.66667%;
|
||||
}
|
||||
|
||||
.col-6 {
|
||||
display: table-cell;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.col-7 {
|
||||
display: table-cell;
|
||||
width: 58.33333%;
|
||||
}
|
||||
|
||||
.col-8 {
|
||||
display: table-cell;
|
||||
width: 66.66667%;
|
||||
}
|
||||
|
||||
.col-9 {
|
||||
display: table-cell;
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
.col-10 {
|
||||
display: table-cell;
|
||||
width: 83.33333%;
|
||||
}
|
||||
|
||||
.col-11 {
|
||||
display: table-cell;
|
||||
width: 91.66667%;
|
||||
}
|
||||
|
||||
.col-12 {
|
||||
display: table-cell;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Table */
|
||||
.table {
|
||||
border: 1px solid #222222;
|
||||
}
|
||||
|
||||
.table td,
|
||||
.table th {
|
||||
border: 1px solid #222;
|
||||
padding: 5px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.table th {
|
||||
background: rgba(0,0,0,0.2);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.table thead td {
|
||||
background: rgba(0,0,0,0.4);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.table tbody tr:nth-child(odd) td {
|
||||
background: rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.footer {
|
||||
border-top: 2px solid #000000;
|
||||
margin-top: 20px;
|
||||
width: 450px;
|
||||
text-align: center;
|
||||
color: #222222;
|
||||
font-family: Helvetica;
|
||||
font-size: 13px;
|
||||
padding-top: 1mm;
|
||||
}
|
||||
|
||||
.footer-sistema {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main>
|
||||
@yield('conteudo')
|
||||
|
||||
<div class="footer">
|
||||
<div class="footer-sistema">
|
||||
<strong>{{ $_data['cliente']['sistema']['nome'] }} {{ $_data['cliente']['sistema']['versao'] }}</strong><br>
|
||||
</div>
|
||||
|
||||
<div class="footer-info">
|
||||
Impresso por: {{ $_data['usuario']['cidadao']['nome_social'] ?? $_data['usuario']['cidadao']['nome'] }}<br>
|
||||
Data/hora da impressão: {{ $_data['data_impressao'] }}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user