summaryrefslogtreecommitdiff
path: root/views/order/view_shippay.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/order/view_shippay.phtml')
-rw-r--r--views/order/view_shippay.phtml16
1 files changed, 16 insertions, 0 deletions
diff --git a/views/order/view_shippay.phtml b/views/order/view_shippay.phtml
index 38a1afc..00122b5 100644
--- a/views/order/view_shippay.phtml
+++ b/views/order/view_shippay.phtml
@@ -27,5 +27,21 @@
<?php echo wpsg_drawForm_TextEnd(__('Zahlungsart', 'wpsg')); ?>
<?php $this->callMods('order_view_afterpayment', array(&$this->view['data']['id'])); ?>
+
+ <?php /* Retourenlabel DHL */ ?>
+ <?php echo wpsg_drawForm_TextStart();?>
+ <a href="https://amsel.dpwn.net/abholportal/gw/lp/portal/[portalname]/customer/RpOrder.action?onInit=
+ &delivery=RetourenLager01&SHIPMENT_REFERENCE=<?php echo $this->view['data']['onr']; ?>
+ &ADDR_SEND_STREET_ADD=<?php echo $this->view['data']['onr']; ?>
+ &ADDR_SEND_FIRST_NAME=<?php echo rawurlencode(utf8_decode($this->view['oOrder']->getInvoiceFirstname())); ?>
+ &ADDR_SEND_LAST_NAME=<?php echo rawurlencode(utf8_decode($this->view['oOrder']->getInvoiceName())); ?>
+ &ADDR_SEND_NAME_ADD=<?php echo rawurlencode(utf8_decode($company)); ?>
+ &ADDR_SEND_EMAIL=<?php echo $this->view['data']['email']; ?>
+ &ADDR_SEND_STREET=<?php echo rawurlencode(utf8_decode($this->view['oOrder']->getInvoiceStreet())); ?>
+ &ADDR_SEND_ZIP=<?php echo $this->view['oOrder']->getInvoiceZip(); ?>
+ &ADDR_SEND_CITY=<?php echo rawurlencode(utf8_decode($this->view['oOrder']->getInvoiceCity())); ?>
+ " target="_blank"><?php echo __('Retourenlabel anfordern', 'wpsg'); ?></a>
+
+ <?php echo wpsg_drawForm_TextEnd(__('Retourenlabel', 'wpsg')); ?>
<?php echo wpsg_drawForm_AdminboxEnd(); ?> \ No newline at end of file