remove json lib. depriciate Tools::json function use php function
This commit is contained in:
@@ -142,8 +142,8 @@ class HTMLTemplateInvoiceCore extends HTMLTemplate
|
||||
*/
|
||||
public function getContent()
|
||||
{
|
||||
$invoiceAddressPatternRules = Tools::jsonDecode(Configuration::get('PS_INVCE_INVOICE_ADDR_RULES'), true);
|
||||
$deliveryAddressPatternRules = Tools::jsonDecode(Configuration::get('PS_INVCE_DELIVERY_ADDR_RULES'), true);
|
||||
$invoiceAddressPatternRules = json_decode(Configuration::get('PS_INVCE_INVOICE_ADDR_RULES'), true);
|
||||
$deliveryAddressPatternRules = json_decode(Configuration::get('PS_INVCE_DELIVERY_ADDR_RULES'), true);
|
||||
|
||||
$invoice_address = new Address((int)$this->order->id_address_invoice);
|
||||
$country = new Country((int)$invoice_address->id_country);
|
||||
|
||||
Reference in New Issue
Block a user