View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005757 | OXID eShop (all versions) | 2.6. Administer orders | public | 2014-05-09 16:50 | 2024-11-13 11:16 |
Reporter | FibreFoX | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Summary | 0005757: when set blShowVATForDelivery there is no brutto shown for delivery | ||||
Description | I think there is a curly brace misplaced. When having the option "blShowVATForDelivery" active, i don't have the brutto-sum shown in my generated pdf-file. Compared with some old myorder.php-file there was added something. http://docu.oxid-esales.com/CE/sourcecodedocumentation/4.8.5.6fd00216aba774e84700d892fe7c037753ecb0e3/class_pdf_article_summary.html#a222396031574ee933ca5189f3326c93f | ||||
Steps To Reproduce | * Set blShowVATForDelivery to true * generate PDF for order | ||||
Additional Information | I'm using OXID CE 4.8.5 My code to have the price appear again (by swapping the line of the closing bracket): else{ // if canceled order, reset value if( $this->_oData->oxorder__oxstorno->value ){ $this->_oData->oxorder__oxdelcost->setValue(0); } } $sDelCost = $oLang->formatCurrency($this->_oData->oxorder__oxdelcost->value, $this->_oData->getCurrency()) . ' ' . $this->_oData->getCurrency()->name; $this->text(45, $iStartPos, $this->_oData->translate('ORDER_OVERVIEW_PDF_SHIPCOST') . $sAddString); $this->text(195 - $this->_oPdf->getStringWidth($sDelCost), $iStartPos, $sDelCost); } | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Theme | Azure | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
related to | 0003757 | resolved | vilma_liorensaityte | VAT should always be included in Price and should change only VAT displaying. |
|
The variable doesn't state what it does. "blShowVATForDelivery" for just reading that name it suggests that i get that VAT additionally to the normal brutto-price. I know, reading the label for "SHOP_CONFIG_CALCULATEVATFORDELIVERY" it is stated "(instead of gross)", but i think there should be both possible. (this may turn into a feature instead of a bug, but i can't clearly see this on one side only) |
|
Reminder sent to: FibreFoX Hi, What the behavior is not correct? I upload the picture as example and all dates are provided and seems are correct. If the option blShowVATForDelivery is on then shipping costs is display as net price and VAT. Best regards, Jurate |
|
suggestions by the names: "blShowVATForDelivery" -> show it ADDITIONALLY "SHOP_CONFIG_CALCULATEVATFORDELIVERY" -> calculate it ADDITIONALLY It seems that the "instead"-logic came after creating that names, it has changed (in version CE 4.4.x the brutto-price were still displayed). In administration it states that "instead"-logic within the label-translations ... but im stuck in the situation i want to display BOTH. thats why i dont know if its a clear bug or clear feature-request (because it behaviour changed). |
|
IMHO clearly a feature request, as the functionality works as described and intended, but doesn't cover the use-case described by the reporter in https://bugs.oxid-esales.com/view.php?id=5757#c9904 . |
|
What about the changed behaviour since 4.4.x? Was that a bug? |
|
There were some changes while fixing https://bugs.oxid-esales.com/view.php?id=3757 . (Also see Release Notes of 4.6.0: http://wiki.oxidforge.org/Downloads/4.6.0#Important_information_for_developers) |