Contributions
Multiple Invoices and Packing Slips
a simple modification which allows you to use more than one invoice and packingslip. just copy the original invoice.php / packingslip.php, modify it, and you can use a drop down list in the orders view to select your template. you may assign templates to countries and/or zones, and depending on the delivery/billing country, the appropriate template is pre-selected in the dropdown list. installation instructions, sample and screenshots included.
| 12 Nov 2007 |
sorry, 4 little errors in orders.php
the database table name constants for packingslip_to_countries and invoice_to_countries are not named properly and miss the leading TABLE_
just look for (2 each) lines in orders.php staring with $scId_query and $cId_query and replace PACKINGSLIP_TO_COUNTRIES with TABLE_PACKINGSLIP_TO_COUNTRIES and replace INVOICE_TO_COUNTRIES with TABLE_INVOICE_TO_COUNTRIES
| 9 Nov 2007 |
Note: Contributions are used at own risk.
