I would like to know the answer too. Anyone here know what is the right answer. I'll do some research and get back to you if I bump into an anything. You should email the people at iPage as they probably could answer your iPage question..
This is the Contribution you are looking for..
It says it is in Spanish, but the readme is in English and the modifications are so clear, that you can easy translate it in your native language,..
Correct, but as you say "as long as you don't delete the orders" everything is OK. But if I need to delete an order for any other reason, I will have a gap in the invoice numbers. And this is not possible (at least as far as the Italian laws say). The number of the invoice must be progressive, that is why I think the invoice no does not have to be linked to the order no..
In this case, you have to add a row in the db. What I am looking for, is for example the possibility to activate the invoice whenever I want, so that I can check the order first and then, if it is OK, print or get the invoice shown by clicking a button which create it in that precise moment..
How to do that? I don't know..
Any help is appreciated..
You could just add a few lines into the invoice.php file that would create the invoice number when you click on the "invoice" button. That should be fairly simple. Look at the code for creating order numbers for a reference on how to do it. You can find that code in checkout_process.php...
I am trying to get it working, but probably I am doing something wrong in the db or in the code..
Isn't there any similar contribution you know about this?..
Just a quick question for which I cant seem to find the answer..
When you are going to use OSCommerce for a large store some Legal things have to be taken care of..
One of the things is Invoice Numbers..
Can anyone tell me if there is a addon available for that adds Invoice Numbers?.
I would also like to know whether it is possible to store invoices in the system?.
Can someone let me know if these things are possible?.
Thanks in advance and kind regards,.
I use the order number as the invoice number. It auto-increments, so each one is unique. As long as you don't delete the orders, the invoices are stored in the system. Keep a good backup of your database if you're depending on this...