odeen Posted May 21, 2015 Share Posted May 21, 2015 Hi, I would like to ask how i can manage, that i will have same ORDER and INVOICE numbers. As i searched, i see that i have to modify code in Order.php and probably getLastInvoiceNumber Maybe i will have also change database table not to autoincrement - right? Can you please give me example how to do it using overrides? Thank you very much Link to comment Share on other sites More sharing options...
shacker Posted May 25, 2015 Share Posted May 25, 2015 try this one https://www.prestashop.com/forums/topic/218257-module-change-order-reference-using-order-id-andor-cart-id/ Link to comment Share on other sites More sharing options...
tuk66 Posted May 26, 2015 Share Posted May 26, 2015 Orders and Invoices don't match exactly. Usually you have more orders than invoices. The invoice set should be continuous, according to the tax law in many countries. Link to comment Share on other sites More sharing options...
Jagotic Posted February 19, 2019 Share Posted February 19, 2019 Hello tuk66 Did you find any solution to this? Link to comment Share on other sites More sharing options...
tuk66 Posted February 19, 2019 Share Posted February 19, 2019 A solution for what? If you want simply print the order number as "Invoice #order". Link to comment Share on other sites More sharing options...
Jagotic Posted February 20, 2019 Share Posted February 20, 2019 20 hours ago, tuk66 said: A solution for what? If you want simply print the order number as "Invoice #order". Then what would be the code to print? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now