summaryrefslogtreecommitdiff
path: root/views/mods/mod_prepayment/order_done.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/mods/mod_prepayment/order_done.phtml')
-rw-r--r--views/mods/mod_prepayment/order_done.phtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/mods/mod_prepayment/order_done.phtml b/views/mods/mod_prepayment/order_done.phtml
index 6850634..4e0bc03 100644
--- a/views/mods/mod_prepayment/order_done.phtml
+++ b/views/mods/mod_prepayment/order_done.phtml
@@ -38,6 +38,7 @@
<div class="wpsg_mod_prepayment_info" style="display: flex; gap: 20px; border: 1px solid #000; padding: 20px;">
<div class="wpsg_mod_prepayment_info_left" style="display: flex; flex-direction: column;">
<h4 style="margin: 0;"><?php echo wpsg_translate(__($i['title'], $wpsg)); ?></h4>
+ <?php if (isset($i['filepath'])) { ?><a title="Downloadlink für die QR-Rechnung" style="box-shadow:none; font-size:smaller; font-style:italic; text-decoration:underline;" target="_blank" href="<?php echo $this->callMod('wpsg_mod_prepayment', 'getFrontendLink', [$i['order_id']]); ?>">Download</a><?php } ?>
<br />
<?php echo '<img style="width: 240px; height:240px;" src="data:image/png;base64,'.$i['hash'].'" />'; ?>
<br />
@@ -139,6 +140,7 @@
<div class="wpsg_mod_prepayment_qrrechnung" style="display: flex; gap: 20px; border: 1px solid #000; padding: 20px;">
<div class="wpsg_mod_prepayment_qrrechnung_left" style="display: flex; flex-direction: column;">
<h4 style="margin: 0;"><?php echo wpsg_translate(__($img['title'], $wpsg)); ?></h4>
+ <?php if (isset($i['filepath'])) { ?><a title="Downloadlink für die QR-Rechnung" style="box-shadow:none; font-size:smaller; font-style:italic; text-decoration:underline;" target="_blank" href="<?php echo $this->callMod('wpsg_mod_prepayment', 'getFrontendLink', [$i['order_id']]); ?>">Download</a><?php } ?>
<br />
<?php echo '<img style="width: 240px; height:240px;" src="data:image/png;base64,'.$img['hash'].'" />'; ?>
<br>