google-code-export / simpleinvoices

Automatically exported from code.google.com/p/simpleinvoices
1 stars 0 forks source link

Invoices ID mixing #198

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I made new template for simpleinvoices, but I found serious problem for me.
The attribute: $invoice.type_id is in all mean 2
I switch other style for invoice and nothing is change.
For this problem, I cannot change the design for different invoice styles.
Other problem serious for me too.
When I change invoice style from one to other and then back. Invoice hasn't the 
same id but id +1.
Example invoice with id 33. I change style from invoice to qoute, then back and 
invoice for this id is 34. 33 is missing in db.
In this case I create custom field and I use it as invoice ID.
When somebody print the invoice and check the invoice in past from this data 
IDs can be different. (Most of people change invoice type and then take it back)

Forum thread: 
http://www.simpleinvoices.org/forum/discussion/comment/9610/#Comment_9610

Original issue reported on code.google.com by max.samael on 2 Nov 2011 at 9:11

GoogleCodeExporter commented 9 years ago

Original comment by r.luthi...@gmail.com on 12 Jan 2012 at 11:17