diff options
| author | Roger Rehnelt <noreply@maennchen1.de> | 2026-09-26 12:44:41 +0200 |
|---|---|---|
| committer | Roger Rehnelt <noreply@maennchen1.de> | 2026-09-26 12:44:41 +0200 |
| commit | 0ca6ad0ecc0a70b8cc9ba91f632b89f75cf61836 (patch) | |
| tree | 4d23a2fb7f5e9171a70bdaf7fa55f8efa02c091d /views | |
| parent | 503f711c46a77508dfe654b7a22f1a5defd8e2c9 (diff) | |
Rechnungen: Mailversand löschte die Rechnungs-PDF; Stornogebühr falsch berechnet
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'views')
| -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>
|
