View Issue Details

IDProjectCategoryView StatusLast Update
0000499OXID eShop (all versions)2.6. Administer orderspublic2012-12-10 13:17
Reportermarco_steinhaeuser Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.0.0.2 revision 14967 
Fixed in Version4.1.0 revision 17976 
Summary0000499: Manually set invoice number is not shown in PDF invoice
DescriptionIn admin panel, go to Orders -> Main and change the Invoice No. field. Afterwards, go to Overview -> Create PDF.

The manually given invoice number is not shown in your PDF invoice.
TagsPDF Invoice
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Activities

marco_steinhaeuser

2009-01-14 12:20

reporter   ~0000368

Have a look at this one:
http://www.oxid-esales.com/de/bugtrack/task/2159

Both, order number and invoice number are different numbers in a commercial manner and shall be handled separately. AFAIK, there are different fields in OXORDER table, similiar to "oxodernr" and "oxinvoicenr" that shall be stuffed by admin entries. When generating the PDF, both numbers shall be leached from database and inserted within myorder.php.

marco_steinhaeuser

2009-01-27 11:10

reporter   ~0000402

There are two values with the same meaning:
- OXBILLNR is manipulated from admin panel and stored in DB
- OXINVOICENR is not editable in admin but handled in myorder.

To quickly resolve this bug simply replace oxorder::oxinvoicenr by oxorder::oxbillnr.

As there must be a reason for two fields with the same meaning (I don't believe in an accident here), it shall be helpful to
1. check if oxinvoicenr is used somewhere else in the shop
2. ask a PM for any external reason (ERP-software or similar)
before deleting the field completely.

marco_steinhaeuser

2009-01-27 11:18

reporter   ~0000403

I simply replaced "oxinvoicenr" by "oxbillnr" in the complete /modules/myorder.php and it worked pretty well. Actually, the value beyond tax ID information on the right hand side of the invoice footer is meant.

sarunas_valaskevicius

2009-04-07 10:05

reporter   ~0000732

replaced oxorder::oxinvoicenr by oxorder::oxbillnr
+ added oxorder::getNextBillNum() for getting next possible billnr if none entered.