From 5b24a6847a6d94173e245ee48257baf3d175ab1d Mon Sep 17 00:00:00 2001 From: thomas Date: Fri, 5 Jul 2019 05:46:58 +0000 Subject: - Status-Erweiterungen auch in html-Mailtemplate git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7471 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mailtemplates/html/status.phtml | 72 +++++++++++++++++++++++++++++------ 1 file changed, 60 insertions(+), 12 deletions(-) (limited to 'views/mailtemplates/html/status.phtml') diff --git a/views/mailtemplates/html/status.phtml b/views/mailtemplates/html/status.phtml index 7d82730..ddc043d 100644 --- a/views/mailtemplates/html/status.phtml +++ b/views/mailtemplates/html/status.phtml @@ -1,27 +1,75 @@ htmlMail = true; - - $oCustomer = wpsg_customer::getInstance($this->view['kunde']['id']); - - include(WPSG_PATH_VIEW . 'mailtemplates/html/logo.phtml'); +/* 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'); ?> -

getTitle(), $oCustomer->getFirstname(), $oCustomer->getName()); ?>

+

getTitle(), $oCustomer->getFirstname(), $oCustomer->getName()); ?>

view['order']['onr'], __($this->view['status_alt'], 'wpsg'), - __($this->view['status_neu'], 'wpsg')); ?>

+ __($this->view['status_neu'], 'wpsg'), + __($this->view['state_new_id'], 'wpsg')); ?>

callMods('mail_status', array(&$this->view['order'], &$this->view['kunde'])); ?> - + +view['state_new_id'] == '1') { ?> +

+ + +view['state_new_id'] == '2') { ?> +

+ + +view['state_new_id'] == '100') { ?> +

+ + +view['state_new_id'] == '100') { ?> +

+ + +view['state_new_id'] == '250') { ?> +

+ + +view['state_new_id'] == '300') { ?> +

+ + +view['state_new_id'] == '400') { ?> +

+ + +view['state_new_id'] == '500') { ?> +

+ + + +view['state_new_id'] == '600') { ?> +

+ + + +view['state_new_id'] == '610') { ?> +

+ + + +view['state_new_id'] == '620') { ?> +

+ +

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ No newline at end of file -- cgit v1.2.3