在PDF发票上显示包含增值税的运输方式金额

时间:2015-12-17 08:37:53

标签: magento invoice

当我生成PDF发票时,运送方法块显示运输公司和运输金额(成本)。但是此金额不含增值税。

See: Screenshot of the current situation

我该如何更改?

我在配置中将显示运费金额设置为“包含税” - >税 - >订单,发票,...设置

注意:在magento后端,始终显示运费,包括增值税。

我应该更改配置中的内容,还是应该更改abstract.php以显示包含增值税的正确运费?

2 个答案:

答案 0 :(得分:1)

app\code\core\Mage\Sales\Model\Order\Pdf\Abstract.php的本地副本带到app\code\local\Mage\Sales\Model\Order\Pdf\Abstract.php,并在第446行修改功能insertOrder(),将$totalShippingChargesText = "(" . Mage::helper('sales')->__('Total Shipping Charges') . " ". $order->formatPriceTxt($order->getShippingAmount()) . ")";更改为$totalShippingChargesText = "(" . Mage::helper('sales')->__('Total Shipping Charges') . " ". $order->formatPriceTxt($order->getShippingInclTax()) . ")";

答案 1 :(得分:0)

我认为解决方案在不同的字段集中。 查看System-> Configuration-> Sales-> Tax-> Calculation Settings 在该地区,航运价格下降。将其更改为包含税。enter image description here

相关问题