View Issue Details

IDProjectCategoryView StatusLast Update
0001804OXID eShop (all versions)1.02. Price calculations (discounts, coupons, additional costs etc.)public2012-12-07 15:19
Reporterthomas_oppelt Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.3.1 revision 27257 
Fixed in Version4.3.2 revision 27884 
Summary0001804: No VAT displayed within invoice PDF of existing orders after update to 4.3.x
DescriptionAfter 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().
TagsVAT
Attached Files
myorder.zip (7,523 bytes)
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

dainius.bigelis

2010-04-30 13:43

reporter   ~0002613

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).

birute_meilutyte

2010-04-30 17:01

reporter   ~0002615

Reminder sent to: thomas_oppelt

Hello,

fixed myorder.php file (modules/invoicepdf) is now attached to this bug report.

best regards,