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/mods/mod_abo/index.phtml | 2 +- views/mods/mod_abo/order_view.phtml | 18 ++++++++-------- views/mods/mod_abo/page_abo.phtml | 2 +- views/order/index.phtml | 43 ++++++++++++++++++++++--------------- views/order/view_orderlog.phtml | 14 +++++++++++- 5 files changed, 50 insertions(+), 29 deletions(-) diff --git a/views/mods/mod_abo/index.phtml b/views/mods/mod_abo/index.phtml index d188f46..7a4ea06 100644 --- a/views/mods/mod_abo/index.phtml +++ b/views/mods/mod_abo/index.phtml @@ -250,7 +250,7 @@ callMod('wpsg_mod_abo', 'isAboOrder', array($oOrder->id))), array(1))) { ?> - callMod('wpsg_mod_abo', 'getOrderAboExpiration', array($oOrder->id, $oOrderProduct->getProductKey()))); ?> + callMod('wpsg_mod_abo', 'getOrderAboExpiration', array($oOrder->id, $oOrderProduct->getId()))); ?> time()) { ?> diff --git a/views/mods/mod_abo/order_view.phtml b/views/mods/mod_abo/order_view.phtml index 0dca512..c329a0b 100644 --- a/views/mods/mod_abo/order_view.phtml +++ b/views/mods/mod_abo/order_view.phtml @@ -12,7 +12,7 @@ try { - $oAbo = wpsg_abo::getFromOrderAndProduct($view['oOrder']->getId(), $oOrderProduct->getId()); + $oAbo = wpsg_abo::getFromOrderAndOrderProduct($view['oOrder']->getId(), $oOrderProduct->getId()); ?> @@ -22,14 +22,14 @@ '' ); ?> - callMod('wpsg_mod_abo', 'getOrderAboExpiration', Array($_REQUEST['edit_id'], $oOrderProduct->getProductKey()))); ?> - 'wpsg_abo_state wpsg_abo_state_class_'.$oAbo->getState())); ?> + callMod('wpsg_mod_abo', 'getOrderAboExpiration', Array($_REQUEST['edit_id'], $oOrderProduct->getId()))); ?> + getProductIndex(), Array('class_content_wrap' => 'wpsg_abo_state wpsg_abo_state_class_'.$oAbo->getState())); ?>