Hello, I wonder if it is possible to print non-tax coupon via PHP?
If so, how could you do this implementation? I use Laravel 5.5
Hello, I wonder if it is possible to print non-tax coupon via PHP?
If so, how could you do this implementation? I use Laravel 5.5
I think using only CSS and a little bit of javascript can solve your problem.
CSS
#areaDeImpressao {
display: none;
}
@media print {
* {
display: none;
}
#areaDeImpressao {
display: block;
}
}
HTML
<div id="areaDeImpressao">
<h1>Imprimir isto</h1>
</div>
<input type="button" onclick="window.print()" value="Imprimir" />