2nd update
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
<?php defined(security_key) or exit; ?>
|
||||
|
||||
<?=template_order_email_header('')?>
|
||||
<?php include './custom/translations/translations_'.strtoupper($_SESSION['country_code']).'.php';?>
|
||||
<?php
|
||||
include './custom/translations/translations_'.strtoupper($_SESSION['country_code']).'.php';
|
||||
include './custom/settings/settings.php';
|
||||
|
||||
//GET USER COUNTRY FROM ID
|
||||
$country = isset($countries_in_scope[$address_country]) ? (${$countries_in_scope[$address_country]} ?? $countries_in_scope[$address_country]) : "";
|
||||
?>
|
||||
</tr>
|
||||
<tr><td><br></td></tr>
|
||||
<tr>
|
||||
@@ -9,7 +15,7 @@
|
||||
<?=$address_name?><br>
|
||||
<?=$address_street?><br>
|
||||
<?=$address_zip?>, <?=$address_city?><br>
|
||||
<?=$address_country?>
|
||||
<?=$country?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
@@ -3,7 +3,15 @@
|
||||
//(defined(security_key) or defined('admin')) or exit; ?>
|
||||
|
||||
<?=template_order_email_header($user_language)?>
|
||||
<?php include './custom/translations/translations_'.strtoupper($user_language).'.php';?>
|
||||
<?php
|
||||
|
||||
include './custom/translations/translations_'.strtoupper($user_language).'.php';
|
||||
include './custom/settings/settings.php';
|
||||
|
||||
//GET USER COUNTRY FROM ID
|
||||
$country = isset($countries_in_scope[$invoice_cust['customer']['country']]) ? (${$countries_in_scope[$invoice_cust['customer']['country']]} ?? $countries_in_scope[$invoice_cust['customer']['country']]) : "";
|
||||
|
||||
?>
|
||||
</tr>
|
||||
<tr><td><br></td></tr>
|
||||
<tr>
|
||||
@@ -11,7 +19,7 @@
|
||||
<?=$invoice_cust['customer']['name']?><br>
|
||||
<?=$invoice_cust['customer']['street']?><br>
|
||||
<?=$invoice_cust['customer']['zip']?>, <?=$invoice_cust['customer']['city']?><br>
|
||||
<?=$invoice_cust['customer']['country']?>
|
||||
<?=$country?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
@@ -1,7 +1,15 @@
|
||||
<?php defined(security_key) or exit; ?>
|
||||
|
||||
<?=template_order_email_header('')?>
|
||||
<?php include './custom/translations/translations_'.strtoupper($_SESSION['country_code']).'.php';?>
|
||||
<?php
|
||||
|
||||
include './custom/translations/translations_'.strtoupper($_SESSION['country_code']).'.php';
|
||||
include './custom/settings/settings.php';
|
||||
|
||||
//GET USER COUNTRY FROM ID
|
||||
$country = isset($countries_in_scope[$address_country]) ? (${$countries_in_scope[$address_country]} ?? $countries_in_scope[$address_country]) : "";
|
||||
|
||||
?>
|
||||
|
||||
</tr>
|
||||
<tr><td><br></td></tr>
|
||||
@@ -10,7 +18,7 @@
|
||||
<?=$address_name?><br>
|
||||
<?=$address_street?><br>
|
||||
<?=$address_zip?>, <?=$address_city?><br>
|
||||
<?=$address_country?>
|
||||
<?=$country?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td><br></td></tr>
|
||||
|
||||
Reference in New Issue
Block a user