Jump to content

Sort invoices by product name


tkowalczyk
 Share

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

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More