From 0271bef3d4c28fae86f299b3441f6ca90a49d46d Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Sun, 17 Jul 2016 14:26:40 +0000 Subject: - Export in neues Layout integriert git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5683 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/order/index.phtml | 376 +++++++++++++++++++++++++++--------------------- 1 file changed, 210 insertions(+), 166 deletions(-) (limited to 'views/order/index.phtml') diff --git a/views/order/index.phtml b/views/order/index.phtml index ac3efe8..7130de6 100644 --- a/views/order/index.phtml +++ b/views/order/index.phtml @@ -15,15 +15,27 @@ -
+ + view['tabs'] as $tab_positions) { ?> + $tab) { ?> + + + + +
@@ -115,181 +127,174 @@ writeBackendMessage(); ?> - callMods('produkt_index_head'); ?> - callMods('produkt_index_aftersearch'); ?> -
view['arData']) && sizeof($this->view['arData']) > 0) { ?> - - - - - - - - - - - - - - - - - view['arData'] as $oOrder) { ?> - - - + + + + + + +
- - - - - - getNr(); ?> cdate), false); ?>
- - + + + + + + + + + + + + + + + view['arData'] as $oOrder) { ?> + + + + ?> + callMod('wpsg_mod_abo', 'getOrderAboExpiration', array($origin_order_data['id'])) ?>
+ #2#', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&action=view&edit_id='.$origin_order_id, $origin_order_data['onr']); ?> - - + + + - - - - - - - - -
+ + + + + + getNr(); ?> cdate), false); ?>
+ + - admincomment) != "") { ?> - admincomment); ?>" onclick="return false;" class="glyphicon glyphicon-info-sign admincomment" href="#"> - + admincomment) != "") { ?> + admincomment); ?>" onclick="return false;" class="glyphicon glyphicon-info-sign admincomment" href="#"> + - comment) != "") { ?> - comment); ?>" onclick="return false;" class="glyphicon glyphicon-info-sign customercomment" href="#"> - + comment) != "") { ?> + comment); ?>" onclick="return false;" class="glyphicon glyphicon-info-sign customercomment" href="#"> + - hasShippingAdress()) { ?> - " onclick="return false;" class="glyphicon glyphicon-map-marker shippingadress" href="#"> - + hasShippingAdress()) { ?> + " onclick="return false;" class="glyphicon glyphicon-map-marker shippingadress" href="#"> + - hasMod('wpsg_mod_abo')) { ?> - callMod('wpsg_mod_abo', 'isAboOrder', array($oOrder->id)) === 1) { ?> - callMod('wpsg_mod_abo', 'getOrderAboExpiration', array($oOrder->id)) ?> - callMod('wpsg_mod_abo', 'isAboOrder', array($oOrder->id)) === 2) { ?> - hasMod('wpsg_mod_abo')) { ?> + callMod('wpsg_mod_abo', 'isAboOrder', array($oOrder->id)) === 1) { ?> + callMod('wpsg_mod_abo', 'getOrderAboExpiration', array($oOrder->id)) ?> + callMod('wpsg_mod_abo', 'isAboOrder', array($oOrder->id)) === 2) { ?> + callMod('wpsg_mod_abo', 'getOriginOrder', array($oOrder->id)); - $origin_order_data = $this->cache->loadOrder($origin_order_id); + $origin_order_id = $this->callMod('wpsg_mod_abo', 'getOriginOrder', array($oOrder->id)); + $origin_order_data = $this->cache->loadOrder($origin_order_id); - ?> - callMod('wpsg_mod_abo', 'getOrderAboExpiration', array($origin_order_data['id'])) ?>
- #2#', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&action=view&edit_id='.$origin_order_id, $origin_order_data['onr']); ?> - -
- getCustomer()->firma; if (wpsg_isSizedString($firma)) { ?> -
- - getInvoiceTitle(); ?> getCustomer()->vname; ?> getCustomer()->name; ?> + + +
+ getCustomer()->firma; if (wpsg_isSizedString($firma)) { ?> +
+ + getInvoiceTitle(); ?> getCustomer()->vname; ?> getCustomer()->name; ?> +
+ getCustomer()->strasse; ?>
+ getCustomer()->plz.' '.$oOrder->getCustomer()->ort); ?> getCustomer()->getCountryKuerzel(); ?> +
+
+ + + getPaymentID() == 4000 && $this->hasMod('wpsg_mod_crefopay')) { ?> + callMod('wpsg_mod_crefopay', 'getOrderPaymentName', array($oOrder->id))); ?> + + getPaymentLabel(); ?> + + + getPaymentAmount() > 0) { ?> +  - getPaymentAmount(), $this->get_option('wpsg_currency')); ?> + + + + + getShippingLabel(); ?> + + getShippingAmount() > 0) { ?> +  - getShippingAmount(), $this->get_option('wpsg_currency')); ?> + + + hasShippingAdress()) { ?>
- getCustomer()->strasse; ?>
- getCustomer()->plz.' '.$oOrder->getCustomer()->ort); ?> getCustomer()->getCountryKuerzel(); ?> -
-
- - - getPaymentID() == 4000 && $this->hasMod('wpsg_mod_crefopay')) { ?> - callMod('wpsg_mod_crefopay', 'getOrderPaymentName', array($oOrder->id))); ?> - - getPaymentLabel(); ?> - - - getPaymentAmount() > 0) { ?> -  - getPaymentAmount(), $this->get_option('wpsg_currency')); ?> - - - - - getShippingLabel(); ?> - - getShippingAmount() > 0) { ?> -  - getShippingAmount(), $this->get_option('wpsg_currency')); ?> - - - hasShippingAdress()) { ?> -
- getShippingTitle(); ?>getShippingFirstName(); ?> getShippingName(); ?>
- - getShippingStreet(); ?> - getShippingZip(); ?> getShippingCity(); ?> getShippingCountryKuerzel(); ?>
-
- -
- - getOrderProducts() 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->getProduct()->getProductName(), - wpsg_ff($oOrderProduct->getAmount(), $this->get_option('wpsg_currency')) - ); ?>
- - -
- getAmount(), $this->get_option('wpsg_currency')); ?> - - getStateLabel(); ?> -
- -
- - - - - -
- - view['pages'] > 1) { ?> - - - -
- - callMod('wpsg_mod_export', 'produkt_index_foot'); ?> - - + getShippingTitle(); ?>getShippingFirstName(); ?> getShippingName(); ?>
+ + getShippingStreet(); ?> + getShippingZip(); ?> getShippingCity(); ?> getShippingCountryKuerzel(); ?>
+
+ +
+ + getOrderProducts() 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->getProduct()->getProductName(), + wpsg_ff($oOrderProduct->getAmount(), $this->get_option('wpsg_currency')) + ); ?>
+ + +
+ getAmount(), $this->get_option('wpsg_currency')); ?> + + getStateLabel(); ?> +
+ +
+ + + + + +
+ + view['pages'] > 1) { ?> + + + +
+ + callMod('wpsg_mod_export', 'produkt_index_foot'); ?>

@@ -334,4 +339,43 @@ } // function goPage(page) + jQuery(document).ready(function() { + + jQuery('.wpsg-order-tab-a').bind('click', function() { + + jQuery('.wpsg-order-tab-a').removeClass('active'); + jQuery(this).addClass('active'); + + if (jQuery('.' + jQuery(this).attr("id")).length <= 0) + { + + jQuery('.wpsg-order-tab').slideUp(250); + + } + else + { + + if (jQuery('.wpsg-order-tab:visible').length > 0) + { + + jQuery('.wpsg-order-tab').hide(0); + jQuery('.' + jQuery(this).attr("id")).show(0); + + } + else + { + + jQuery('.wpsg-order-tab').hide(0); + jQuery('.' + jQuery(this).attr("id")).slideDown(250); + + } + + } + + return false; + + } ); + + } ); + /* \ No newline at end of file -- cgit v1.2.3