From 141750106d23b13633fad3e828e7565976762abd Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Tue, 19 Dec 2017 10:15:56 +0000 Subject: - AboModul Erweiterung - Optionaler Versand an Admin wenn Abo angehlaten werden soll - Protokoll - Frontendfunktionen / Darstellung der Abos git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6834 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/order/index.phtml | 57 +++++++++++++++++++++++++++++-------------------- 1 file changed, 34 insertions(+), 23 deletions(-) (limited to 'views/order/index.phtml') diff --git a/views/order/index.phtml b/views/order/index.phtml index 7c8f463..aca2971 100644 --- a/views/order/index.phtml +++ b/views/order/index.phtml @@ -171,22 +171,10 @@ hasMod('wpsg_mod_abo')) { ?> - - callMod('wpsg_mod_abo', 'isAboOrder', array($oOrder->id))), array(1))) { ?> - - callMod('wpsg_mod_abo', 'getOrderAboExpiration', array($oOrder->id))); ?> - - - time()) { ?> - - - - - - - - callMod('wpsg_mod_abo', 'isAboOrder', array($oOrder->id)) === 2) { ?> + callMod('wpsg_mod_abo', 'isAboOrder', array($oOrder->id)) === 1) { ?> + + callMod('wpsg_mod_abo', 'isAboOrder', array($oOrder->id)) === 2) { ?> - getOrderProducts(); - foreach ($oOrderProducts as $oOrderProduct) { ?> - #3# für je #4#', 'wpsg'), - $oOrderProduct->getCount(), - WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&action=edit&edit_id='.$oOrderProduct->getProductId(), - $oOrderProduct->getProductName(), - wpsg_ff($oOrderProduct->getOneAmount(), $this->get_option('wpsg_currency')) - ); ?>
+ getOrderProducts(); ?> + + + + #3# für je #4#', 'wpsg'), + $oOrderProduct->getCount(), + WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&action=edit&edit_id='.$oOrderProduct->getProductId(), + $oOrderProduct->getProductName(), + 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()) { ?> + + + + + +
+ + + + + -- cgit v1.2.3