Jump to content

Sort invoices by product name


tkowalczyk

Recommended Posts

Hello

I`m trying to sort invoices by product name, I noticed that I need to write some static function in Order class, because in pdf.php file is code like this:

$invoices = Order::getOrdersIdInvoiceByDate($_GET['date_from'], $_GET['date_to'], NULL, 'invoice');
   if (is_array($invoices))
       PDF::multipleInvoices($invoices);


so could somebody help me to write correct sql query that will be in this function
thanks in advance
tomek

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...