diff options
| -rw-r--r-- | views/mods/mod_rechnungen/accountingmail.phtml | 2 | ||||
| -rw-r--r-- | views/mods/mod_rechnungen/accountingmail_html.phtml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/views/mods/mod_rechnungen/accountingmail.phtml b/views/mods/mod_rechnungen/accountingmail.phtml index dd18ba5..afa04f8 100644 --- a/views/mods/mod_rechnungen/accountingmail.phtml +++ b/views/mods/mod_rechnungen/accountingmail.phtml @@ -11,7 +11,7 @@ <?php echo __("Sie erhalten hiermit die Rechnungskorrektur in Höhe von", "wpsg"); ?> <?php echo wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?> <?php echo __("für Ihre Bestellung mit der Bestellnummer", "wpsg"); ?> <?php echo ((trim($this->view['data']['onr']) != '')?$this->view['data']['onr']:$this->view['data']['o_id']); ?>.
<?php if (wpsg_tf($this->view['storno_fee']) > 0) { ?>
-<?php echo wpsg_translate(__('Darin ist eine Gebühr von #1# #2# enthalten.', 'wpsg'), $this->view['storno_fee'], $this->get_option('wpsg_currency')); ?>
+<?php echo wpsg_translate(__('Darin ist eine Gebühr von #1# #2# enthalten.', 'wpsg'), wpsg_ff($this->view['storno_fee_value'] ?? wpsg_tf($this->view['storno_fee'])), $this->get_option('wpsg_currency')); ?>
<?php } ?>
<?php echo __("Mit freundlichen Grüßen", "wpsg"); ?>
diff --git a/views/mods/mod_rechnungen/accountingmail_html.phtml b/views/mods/mod_rechnungen/accountingmail_html.phtml index 3208f4e..1c84464 100644 --- a/views/mods/mod_rechnungen/accountingmail_html.phtml +++ b/views/mods/mod_rechnungen/accountingmail_html.phtml @@ -13,7 +13,7 @@ <p><?php echo __("Sie erhalten hiermit die Rechnungskorrektur in Höhe von", "wpsg"); ?> <?php echo wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?> <?php echo __("für Ihre Bestellung mit der Bestellnummer", "wpsg"); ?> <?php echo ((trim($this->view['data']['onr']) != '')?$this->view['data']['onr']:$this->view['data']['o_id']); ?>.</p>
<?php if (wpsg_tf($this->view['storno_fee']) > 0) { ?>
-<p><?php echo wpsg_translate(__('Darin ist eine Gebühr von #1# #2# enthalten.', 'wpsg'), $this->view['storno_fee'], $this->get_option('wpsg_currency')); ?></p>
+<p><?php echo wpsg_translate(__('Darin ist eine Gebühr von #1# #2# enthalten.', 'wpsg'), wpsg_ff($this->view['storno_fee_value'] ?? wpsg_tf($this->view['storno_fee'])), $this->get_option('wpsg_currency')); ?></p>
<?php } ?>
<p><?php echo __("Mit freundlichen Grüßen", "wpsg"); ?></p>
|
