View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001804 | OXID eShop (all versions) | 1.02. Price calculations (discounts, coupons, additional costs etc.) | public | 2010-04-29 22:35 | 2012-12-07 15:19 |
Reporter | thomas_oppelt | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.3.1 revision 27257 | ||||
Fixed in Version | 4.3.2 revision 27884 | ||||
Summary | 0001804: No VAT displayed within invoice PDF of existing orders after update to 4.3.x | ||||
Description | After update there is no VAT displayed anymore within invoice PDF for existing (= means: old) orders. 4.3.0 introduced OXARTVAT/1 and OXARTVATPRICE/1 fields which are not set for older orders, but used by oxorder->getProductVats(). | ||||
Tags | VAT | ||||
Attached Files | |||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
This issue occurred because the changes in version 4.3.0: - new fields have been added to the oxorder table for storing VAT of ordered articles. Since then the VAT for order is taken from these fields. These fields for already existing orders have been filled with 0. Up until this change the VAT for invoices were taken from oxarticle table checking each article entry, what is not correct. To support the old orders now we will merge these two logics to one myorder.php. It will work this way: At first the VAT in oxorder table will be checked (as is now). If these VATs are = 0, then the VAT will be taken from article info in oxarticle table (as was previously). As a quick workaround for viewing VATs in the invoices we suggest to use the previous version of myorder.php (i.e. from eShop version 4.2.0 package). |
|
Reminder sent to: thomas_oppelt Hello, fixed myorder.php file (modules/invoicepdf) is now attached to this bug report. best regards, |