CMXX - Language selection
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
//(defined(security_key) or defined('admin')) or exit; ?>
|
||||
|
||||
<?=template_order_email_header()?>
|
||||
<?php include './custom/translations/translations_'.strtoupper(language_code).'.php';?>
|
||||
<?php include './custom/translations/translations_'.strtoupper($_SESSION['country_code']).'.php';?>
|
||||
</tr>
|
||||
<tr><td><br></td></tr>
|
||||
<tr>
|
||||
@@ -16,8 +16,8 @@
|
||||
</tr>
|
||||
<tr><td><br></td></tr>
|
||||
<tr>
|
||||
<td><h2>Invoice: <?=$invoice_cust['invoice']['id']?></h2></td>
|
||||
<td><p>Date: <?php echo date("Y-m-d", strtotime($invoice_cust['invoice']['created']))?></p></td>
|
||||
<td><h2><?=$order_invoice_text ?? 'Invoice'?>: <?=$invoice_cust['invoice']['id']?></h2></td>
|
||||
<td><p><?=$order_date_text ?? 'Date'?>: <?php echo date("Y-m-d", strtotime($invoice_cust['invoice']['created']))?></p></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -29,10 +29,10 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?=$tr_product?></td>
|
||||
<td>Options</td>
|
||||
<td><?=$tr_quantity?></td>
|
||||
<td><?=$tr_price?></td>
|
||||
<td><?=$tr_product ?? 'Product' ?></td>
|
||||
<td><?=$tr_options ?? 'Options' ?></td>
|
||||
<td><?=$tr_quantity ?? 'Quantity'?></td>
|
||||
<td><?=$tr_price ?? 'Price' ?></td>
|
||||
<td style="text-align:right;"><?=$tr_total?></td>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -77,7 +77,7 @@
|
||||
<?php if($invoice_cust['invoice']['payment_status'] === 1){
|
||||
echo '
|
||||
<div class="content-wrapper">
|
||||
<p>Het totaalbedrag van deze factuur is betaald</p>
|
||||
<p>'.($invoice_payment_paid_text ?? 'Het totaalbedrag van deze factuur is betaald').'</p>
|
||||
</div>';
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user