From 4ff7abd50d825caef5acc1a7eaa7966eac112764 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Mon, 23 Nov 2020 08:25:58 +0000 Subject: - K git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7812 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/order/index.phtml | 43 ++++++++++++++++++++++++++----------------- 1 file changed, 26 insertions(+), 17 deletions(-) (limited to 'views/order/index.phtml') diff --git a/views/order/index.phtml b/views/order/index.phtml index ee56a66..afd03b7 100644 --- a/views/order/index.phtml +++ b/views/order/index.phtml @@ -350,7 +350,18 @@ getOrderProducts(); ?> - getProductId(); ?> + getProductId(); + $oAbo = null; + + if ($this->hasMod('wpsg_mod_abo')) { + + try { $oAbo = wpsg_abo::getFromOrderAndOrderProduct($oOrder->getId(), $oOrderProduct->getId()); } catch (\Exception $e) { } + + } + + ?> #3# für je #4#', 'wpsg'), $oOrderProduct->getCount(), @@ -359,23 +370,21 @@ wpsg_ff($oOrderProduct->getOneAmount(), $this->get_option('wpsg_currency')) ); ?>
- hasMod('wpsg_mod_abo')) { ?> - - callMod('wpsg_mod_abo', 'isAboOrder', array($oOrder->id))), array(1))) { ?> - - callMod('wpsg_mod_abo', 'getOrderAboExpiration', array($oOrder->id, $oOrderProduct->getProductKey()))); ?> - - - - time()) { ?> - - - - + + + getState(); + + echo __('Abo Laufzeit:', 'wpsg'); + + ?> -
- - + getStateLabel(); ?> + getStateLabel(); ?> + getStateLabel(); ?> + +
-- cgit v1.2.3