Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

AutoIncrementing Invoice


exploited

Recommended Posts

Posted

I need to have autoincrementing invoice numbers, not linked to the order id, which of course works, but if I delete an order for any 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 number does not have to be linked to the order no.

 

In this case, I should 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.

 

Has anybody developed something similar? Thank you

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...