summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/mods/mod_targo/order_view_afterpayment.phtml4
-rw-r--r--views/order/index.phtml2
2 files changed, 4 insertions, 2 deletions
diff --git a/views/mods/mod_targo/order_view_afterpayment.phtml b/views/mods/mod_targo/order_view_afterpayment.phtml
index c2964d8..f403979 100644
--- a/views/mods/mod_targo/order_view_afterpayment.phtml
+++ b/views/mods/mod_targo/order_view_afterpayment.phtml
@@ -6,7 +6,9 @@
?>
-<?php if (wpsg_isSizedString($this->view['oOrder']->getMeta('wpsg_mod_targo_paymentid'))) { ?>
+<?php
+ $temp = $this->view['oOrder']->getMeta('wpsg_mod_targo_paymentid');
+ if (wpsg_isSizedString($temp)) { ?>
<div class="wpsg_form_field ">
<div class="wpsg_form_left">
diff --git a/views/order/index.phtml b/views/order/index.phtml
index fc71a51..2db5227 100644
--- a/views/order/index.phtml
+++ b/views/order/index.phtml
@@ -243,7 +243,7 @@
$oOrderProduct->getCount(),
WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&action=edit&edit_id='.$oOrderProduct->getProductId(),
$oOrderProduct->getProduct()->getProductName(),
- wpsg_ff($oOrderProduct->getAmount(), $this->get_option('wpsg_currency'))
+ wpsg_ff($oOrderProduct->getOneAmount(), $this->get_option('wpsg_currency'))
); ?><br />
<?php } ?>