summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/mods/mod_paypal/order_view_afterpayment.phtml9
1 files changed, 6 insertions, 3 deletions
diff --git a/views/mods/mod_paypal/order_view_afterpayment.phtml b/views/mods/mod_paypal/order_view_afterpayment.phtml
index 147de14..9c56de5 100644
--- a/views/mods/mod_paypal/order_view_afterpayment.phtml
+++ b/views/mods/mod_paypal/order_view_afterpayment.phtml
@@ -3,10 +3,13 @@
/**
* Template für die Integration der PayPal Zahlungsart in die Bestellverwaltung
*/
-
+
+ $wpsg_mod_paypal_paymentid = $this->view['oOrder']->getMeta('wpsg_mod_paypal_paymentid');
+ $wpsg_mod_paypal_saleid = $this->view['oOrder']->getMeta('wpsg_mod_paypal_saleid');
+
?>
-<?php if (wpsg_isSizedString($this->view['oOrder']->getMeta('wpsg_mod_paypal_paymentid'))) { ?>
+<?php if (wpsg_isSizedString($wpsg_mod_paypal_paymentid)) { ?>
<div class="wpsg_form_field ">
<div class="wpsg_form_left">
@@ -20,7 +23,7 @@
<?php } ?>
-<?php if (wpsg_isSizedString($this->view['oOrder']->getMeta('wpsg_mod_paypal_saleid'))) { ?>
+<?php if (wpsg_isSizedString($wpsg_mod_paypal_saleid)) { ?>
<?php echo wpsg_drawForm_Input('', __('SaleID', 'wpsg'), $this->view['oOrder']->getMeta('wpsg_mod_paypal_saleid'), array('text' => true)); ?>