summaryrefslogtreecommitdiff
path: root/views/mailtemplates
diff options
context:
space:
mode:
Diffstat (limited to 'views/mailtemplates')
-rw-r--r--views/mailtemplates/html/status.phtml6
-rw-r--r--views/mailtemplates/status.phtml7
2 files changed, 7 insertions, 6 deletions
diff --git a/views/mailtemplates/html/status.phtml b/views/mailtemplates/html/status.phtml
index f6c412c..7d82730 100644
--- a/views/mailtemplates/html/status.phtml
+++ b/views/mailtemplates/html/status.phtml
@@ -6,11 +6,13 @@
/* Wichtig, da die Module sonst kein HTML zurückgeben */
$this->htmlMail = true;
-
+
+ $oCustomer = wpsg_customer::getInstance($this->view['kunde']['id']);
+
include(WPSG_PATH_VIEW . 'mailtemplates/html/logo.phtml');
?>
-<p><?php echo wpsg_translate(__('Hallo #1# #2#,', 'wpsg'), $this->view['kunde']['vname'], $this->view['kunde']['name']); ?></p>
+<p><?php echo wpsg_translate(__('Hallo #1# #2#,', 'wpsg'), $oCustomer->getTitle(), $oCustomer->getFirstname(), $oCustomer->getName()); ?></p>
<p><?php echo wpsg_translate(
__('Der Status Ihrer Bestellung mit der Bestellnummer #1# hat sich von "#2#" auf "#3#" geändert.', 'wpsg'),
diff --git a/views/mailtemplates/status.phtml b/views/mailtemplates/status.phtml
index 9b04e91..5016b61 100644
--- a/views/mailtemplates/status.phtml
+++ b/views/mailtemplates/status.phtml
@@ -6,10 +6,9 @@
$this->htmlMail = false;
- $arPflicht = $this->loadPflichtFeldDaten();
- $arTitle = explode('|', $arPflicht['anrede_auswahl']);
-
-?><?php echo wpsg_translate(__('Hallo #1# #2# #3#,', 'wpsg'), @$arTitle[$this->view['basket']['checkout']['title']], $this->view['basket']['checkout']['vname'], $this->view['basket']['checkout']['name']); ?>
+ $oCustomer = wpsg_customer::getInstance($this->view['kunde']['id']);
+
+?><?php echo wpsg_translate(__('Hallo #1# #2# #3#,', 'wpsg'), $oCustomer->getTitle(), $oCustomer->getFirstname(), $oCustomer->getName()); ?>
<?php echo wpsg_translate(
__('Der Status Ihrer Bestellung mit der Bestellnummer #1# hat sich von "#2#" auf "#3#" geändert.', 'wpsg'),