Skip to content
Snippets Groups Projects
Commit a4b93d5a authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Fix shipment stats display (language strings messed up in BE) in BE order view

parent 5ee1091e
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,7 @@ OTSHIPMENT_RULES_SHIPPING_NAME="Shipment Name" ...@@ -39,6 +39,7 @@ OTSHIPMENT_RULES_SHIPPING_NAME="Shipment Name"
OTSHIPMENT_RULES_WEIGHT="Order Weight" OTSHIPMENT_RULES_WEIGHT="Order Weight"
OTSHIPMENT_RULES_ARTICLES="Articles/Products in Order" OTSHIPMENT_RULES_ARTICLES="Articles/Products in Order"
OTSHIPMENT_RULES_COST="Shipment Cost" OTSHIPMENT_RULES_COST="Shipment Cost"
OTSHIPMENT_RULES_TAX="Tax"
OTSHIPMENT_RULES_UNKNOWN_VARIABLE="Unknown variable '%s' in rule '%s'" OTSHIPMENT_RULES_UNKNOWN_VARIABLE="Unknown variable '%s' in rule '%s'"
OTSHIPMENT_RULES_UNKNOWN_OPERATOR="Unknown operator '%s' in shipment rule '%s'" OTSHIPMENT_RULES_UNKNOWN_OPERATOR="Unknown operator '%s' in shipment rule '%s'"
......
...@@ -197,11 +197,11 @@ class plgVmShipmentRules_Shipping_Base extends vmPSPlugin { ...@@ -197,11 +197,11 @@ class plgVmShipmentRules_Shipping_Base extends vmPSPlugin {
$html = '<table class="adminlist">' . "\n"; $html = '<table class="adminlist">' . "\n";
$html .= $this->getHtmlHeaderBE (); $html .= $this->getHtmlHeaderBE ();
$html .= $this->getHtmlRowBE ('RULES_SHIPPING_NAME', $shipinfo->shipment_name); $html .= $this->getHtmlRowBE ('OTSHIPMENT_RULES_SHIPPING_NAME', $shipinfo->shipment_name);
$html .= $this->getHtmlRowBE ('RULES_WEIGHT', $shipinfo->order_weight . ' ' . ShopFunctions::renderWeightUnit ($shipinfo->shipment_weight_unit)); $html .= $this->getHtmlRowBE ('OTSHIPMENT_RULES_WEIGHT', $shipinfo->order_weight . ' ' . ShopFunctions::renderWeightUnit ($shipinfo->shipment_weight_unit));
$html .= $this->getHtmlRowBE ('RULES_ARTICLES', $shipinfo->order_articles . '/' . $shipinfo->order_products); $html .= $this->getHtmlRowBE ('OTSHIPMENT_RULES_ARTICLES', $shipinfo->order_articles . '/' . $shipinfo->order_products);
$html .= $this->getHtmlRowBE ('RULES_COST', $currency->priceDisplay ($shipinfo->shipment_cost)); $html .= $this->getHtmlRowBE ('OTSHIPMENT_RULES_COST', $currency->priceDisplay ($shipinfo->shipment_cost));
$html .= $this->getHtmlRowBE ('RULES_TAX', $taxDisplay); $html .= $this->getHtmlRowBE ('OTSHIPMENT_RULES_TAX', $taxDisplay);
$html .= '</table>' . "\n"; $html .= '</table>' . "\n";
return $html; return $html;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment