Subversion Repositories wpShopGermany4

Compare Revisions

Ignore whitespace Rev 7899 → Rev 7900

/mailtemplates/html/order.phtml
1,5 → 1,8
<?php
 
/** @var wpsg_order $oOrder */
$oOrder = $this->view['oOrder'];
 
if ($this->getFrontendTaxView() === WPSG_BRUTTO) $display_brutto_netto = 'brutto';
else $display_brutto_netto = 'netto';
201,6 → 204,30
</tr>
<?php $this->callMods('mail_order_end', [&$this->view['basket']['arCalculation'], true]); ?>
</table>
 
<?php
 
$arCV = $oOrder->getCustomer()->getCustomerVariables();
 
if (wpsg_isSizedArray($arCV)) { ?>
 
<strong><?php echo __('Weitere Kundendaten', 'wpsg'); ?>:</strong><br />
 
<table>
 
<?php foreach ($arCV as $cv) { ?>
<tr>
<th><?php echo $cv['label']; ?></th>
<td><?php echo $cv['value']; ?></td>
</tr>
<?php } ?>
 
</table>
 
<?php }
 
?>
 
</div>
<br />
/mailtemplates/order.phtml
1,5 → 1,8
<?php
 
/** @var wpsg_order $oOrder */
$oOrder = $this->view['oOrder'];
 
if ($this->getFrontendTaxView() === WPSG_BRUTTO) $display_brutto_netto = 'brutto';
else $display_brutto_netto = 'netto';
 
121,4 → 124,15
<?php echo wpsg_pad_left(wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')), 34); ?>
<?php $this->callMods('mail_order_end', [&$this->view['basket']['arCalculation'], false]); ?>
 
<?php $this->callMods('mail_aftercalculation', array(&$this->view['order']['id'])); ?>
<?php $this->callMods('mail_aftercalculation', array(&$this->view['order']['id'])); ?>
<?php
 
$arCV = $oOrder->getCustomer()->getCustomerVariables();
 
if (wpsg_isSizedArray($arCV)) { ?>
<?php echo __('Weitere Kundendaten', 'wpsg'); ?>:
 
<?php foreach ($arCV as $cv) { ?>
<?php echo $cv['label']; ?>: <?php echo $cv['value']."\r\n"; ?>
<?php } ?>
<?php } ?>