Browse Source

Fixes #2422 (#2423)

pull/2426/head
Edward 6 years ago
committed by GitHub
parent
commit
68e8df3a77
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      sapl/templates/protocoloadm/comprovante.html

16
sapl/templates/protocoloadm/comprovante.html

@ -14,15 +14,21 @@
th, td { th, td {
padding: 5px; padding: 5px;
} }
@media print {
.hide-print {
display : none;
}
}
@page {
size: auto; /* auto is the initial value */
margin: 0mm; /* this affects the margin in the printer settings */
}
</style> </style>
<div align="center"> <div align="center">
<input type="submit" value="Imprimir" onclick="window.print();" class="btn btn-success"/> <input type="submit" value="Imprimir" onclick="window.print();" class="btn btn-success hide-print"/>
<input type="submit" value="Fechar" onclick="window.close();" class="btn btn-success"/> <input type="submit" value="Fechar" onclick="window.close();" class="btn btn-success hide-print"/>
</div> </div>
<br />
<table> <table>
<tr><td colspan="2" align="center"> <tr><td colspan="2" align="center">
<img height="90" width="90" <img height="90" width="90"

Loading…
Cancel
Save