diff options
| author | thomas <noreply@maennchen1.de> | 2019-07-03 11:10:44 +0000 |
|---|---|---|
| committer | thomas <noreply@maennchen1.de> | 2019-07-03 11:10:44 +0000 |
| commit | 5015ac376a9e5568dc9bb5da50d1ddcbb2b1acd1 (patch) | |
| tree | 6e15d2eca9795b78800427c552046a012d194f7d /views | |
| parent | 8737a3c77f4b4312e47b6a13dc796f235ef5d8d4 (diff) | |
- Statustexte
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7467 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views')
| -rw-r--r-- | views/mailtemplates/status.phtml | 103 |
1 files changed, 99 insertions, 4 deletions
diff --git a/views/mailtemplates/status.phtml b/views/mailtemplates/status.phtml index 5016b61..65b7db3 100644 --- a/views/mailtemplates/status.phtml +++ b/views/mailtemplates/status.phtml @@ -2,6 +2,20 @@ /**
* Dieses Template wird für die Mail bei einer Statusänderung verwendet
+ *
+ * Eingeganten = 0,
+ * Auftragakzeptiert = 1
+ * unvollständig = 2
+ * Zahlung akzeptiert = 100
+ * Rechung geschrieben = 110
+ * Zahlung fehlgeschlagen = 200
+ * Ware versendet = 250
+ * zugestellt = 300
+ * zurückgezahlt = 400
+ * storniert = 500
+ * Abo aktiv = 600
+ * offene Abokündigung = 610
+ * Abo gekündigt = 620
*/
$this->htmlMail = false;
@@ -11,11 +25,92 @@ ?><?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'),
+ __('Der Status Ihrer Bestellung mit der Bestellnummer #1# hat sich von "#2#" auf "#3#" "#4#"geändert.', 'wpsg'),
$this->view['order']['onr'],
__($this->view['status_alt'], 'wpsg'),
- __($this->view['status_neu'], 'wpsg')); ?>
-<?php $this->callMods('mail_status', array(&$this->view['order'], &$this->view['kunde'])); ?>
+ __($this->view['status_neu'], 'wpsg'),
+ __($this->view['state_new_id'], 'wpsg')); ?>
+<?php $this->callMods('mail_status', array(&$this->view['order'], &$this->view['kunde'])); ?>
+
+<?php if ($this->view['state_new_id'] == '1')
+ {
+ __('Ihr Auftrag wurde akzeptiert', 'wpsg');
+
+ }
+?>
+
+<?php if ($this->view['state_new_id'] == '2')
+ {
+ __('Ihre Bestellung ist unvollständig. Bitte prüfen Sie die Daten!', 'wpsg');
+
+ }
+?>
+
+<?php if ($this->view['state_new_id'] == '100')
+ {
+ __('Ihre Zahlung wurde akzeptiert. Vielen Dank!', 'wpsg');
+
+ }
+?>
+
+<?php if ($this->view['state_new_id'] == '100')
+ {
+ __('Ihre Zahlung wurde nicht akzeptiert. Bitte prüfen Sie den Zahlungsvorgang.', 'wpsg');
+
+ }
+?>
+
+<?php if ($this->view['state_new_id'] == '250')
+ {
+ __('Ihre Ware wurde versendet!', 'wpsg');
+
+ }
+?>
+
+<?php if ($this->view['state_new_id'] == '300')
+ {
+ __('Ihre Ware wurde zugestellt!', 'wpsg');
+
+ }
+?>
+
+<?php if ($this->view['state_new_id'] == '400')
+ {
+ __('Ihre Zahlung wurde zurückgezahlt!', 'wpsg');
+
+ }
+?>
+
+<?php if ($this->view['state_new_id'] == '500')
+ {
+ __('Ihre Bestellung wurde storniert!', 'wpsg');
+
+ }
+?>
+
+<?php if ($this->view['state_new_id'] == '600')
+ {
+ __('Ihr Abo ist aktiv!', 'wpsg');
+
+ }
+?>
+
+<?php if ($this->view['state_new_id'] == '610')
+ {
+ __('Ihre Abokündigung steht noch offen.', 'wpsg');
+
+ }
+?>
+
+<?php if ($this->view['state_new_id'] == '620')
+ {
+ __('Ihr Abo wurde erfolgreich gekündigt!', 'wpsg');
+
+ }
+?>
+
+
<?php echo __('Mit freundlichen Grüßen', 'wpsg'); ?>
-<?php echo __($this->get_option('wpsg_shopdata_name'), 'wpsg'); ?> - <?php echo __('Team', 'wpsg'); ?>
\ No newline at end of file +<?php echo __($this->get_option('wpsg_shopdata_name'), 'wpsg'); ?> - <?php echo __('Team', 'wpsg'); ?>
+<?php die (); ?>
\ No newline at end of file |
