In avactis the 4th step of the checkout process that is
the landing page after payment the vat not displayed.
To solve this issue please, replace the following part of code:
default:
break;
}
foreach ($tax['TaxSubtotalAmountView'] as $taxView)
{
$this->_Tax_Item['Local_TaxName']=prepareHTMLDisplay($taxView['view']);
with this one:
default:
break;
}
$lastPlacedOrderID = modApiFunc('Checkout','getLastPlacedOrderID');
if ($lastPlacedOrderID !== NULL)
{
$oi = modApiFunc('Checkout', 'getOrderInfo', $lastPlacedOrderID,
modApiFunc('Localization',
'whichCurrencyToDisplayOrderIn',
$lastPlacedOrderID));
$tax['TaxSubtotalAmountView'] = array();
foreach($oi['Price']['tax_dops'] as $tax_info)
$tax['TaxSubtotalAmountView'][] = array(
'view' => preg_replace("/:$/", '', $tax_info["name"]),
'value' => $tax_info['value']
);
}
foreach ($tax['TaxSubtotalAmountView'] as $taxView)
{
$this->_Tax_Item['Local_TaxName']=prepareHTMLDisplay($taxView['view']);
in the"avactis-system/modules/checkout/views/checkout-order-cz.php"
file.
This comment has been removed by the author.
ReplyDelete