Jump to content
  • 0

[SOLVED]Regroup several Invoice


jeanjeanjeana

Question

Hello ! 

 

When i select a date period in preatshop order/invoice, it generate an invoice per order, but I'd like to generate one invoice with all the order one under the other ( like in the picture below) .

 

I realy don't know how to do it, so if someone has an idea it will be very welcome =) 

 

Thanks !

post-1020273-0-21003400-1433404085_thumb.png

Edited by jeanjeanjeana (see edit history)
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

I manag to regroup all the order on 1 invoice but know I have an other problem.... ! 

 

I can select different type of invoices ( picture below) and in OrderInvoices.php I need to execute different sql query depending on the file selected : i tried :

 

 if($templates == glob($directory.'invoice-test.tpl'))

{

execute sql query

}

else

{

execute an other sql query

}

 

but doesn't work....

(I think $template is the var where is the name of the file, if I understand correctly the enf of the file : admininvoicescontroller.php )

 

I work with PS version 1.6

 

 

Thanks ! =) 

post-1020273-0-51496100-1433410850_thumb.png

Edited by jeanjeanjeana (see edit history)
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...