add button print

This commit is contained in:
Ibnu Maksum 2024-02-22 18:37:28 +07:00
parent 9d379b3fbd
commit 9552a14de5
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -17,7 +17,7 @@
<body topmargin="0" leftmargin="0" {if !$nuxprint} onload="printpage()" {/if}> <body topmargin="0" leftmargin="0" {if !$nuxprint} onload="printpage()" {/if}>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-6">
<table width="200"> <table width="200">
<tr> <tr>
<td> <td>
@ -48,6 +48,15 @@
</td> </td>
</tr> </tr>
</table> </table>
{if $nuxprint}
<a href="{$nuxprint}" class="btn btn-success text-black btn-sm" name="nux" value="print">
<i class="glyphicon glyphicon-print"></i>
Nux Print
<i class="glyphicon glyphicon-phone"></i>
</a>
<br>
<iframe src="{$nuxprint}" style="height: 2px;"><iframe>
{/if}
</div> </div>
</div> </div>
@ -57,7 +66,7 @@
{$xfooter} {$xfooter}
{/if} {/if}
{if $nuxprint} <iframe src="{$nuxprint}" style="display: none;" ><iframe> {/if}
</body> </body>
</html> </html>