RE: reports
I would start off with the orders invoiced report PDFOrdersInvoiced.php as it mostly does this already. You will need to add a check in the SQL to only include orders with a total invoiced of zero (or less than the total ordered if you want to include orders partially despatched). There is a loop in the middle to print out invoices that you should remove. This should do the job, and all that is left is formatting the report to be as you want.
Tim
|