AbanteCart Development > Customization help
Convert Invoice to Packing Slip
abantecart:
Great hack. Thank you for sharing
kavlito:
I also made a modification to admin\view\default\template\responses\sale\order_invoice.tpl so that it will initiate auto print when you click on the Invoice icon (now the Packing Slip Icon).
In the Chrome browser it's great because it pops up a print preview.
Using auto print increases efficiency as it is one less step in the production process for my employees.
Place the following code at the end of the file (see attachments):
<!-- mod to auto print -->
<script language="JavaScript">
window.print();
</script>
Navigation
[0] Message Index
[*] Previous page
Go to full version