receipt.php Receipt preview

This commit is contained in:
andreubisquerra 2022-11-02 07:26:58 +01:00 committed by GitHub
parent 95ca1f66c9
commit 1f594f5ae9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -330,7 +330,9 @@ if (!empty($conf->global->TAKEPOS_FOOTER) || !empty($conf->global->{$constFreeTe
?> ?>
<script type="text/javascript"> <script type="text/javascript">
window.print(); <?php
if ($facid) print 'window.print();'; //Avoid print when is specimen
?>
</script> </script>
</body> </body>