From 7ea9c7548f71c5e3b54527e2f8807caf9c243c22 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Thu, 7 Mar 2019 07:17:22 +0000 Subject: - Bestellung anlegen, damit die Platzhalter an PayPal ersetzt werden können / Gutscheine MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7349 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/css/frontend.css | 2 +- views/mods/mod_kundenkontakt/order_view.phtml | 128 +++++++++++++------------- views/order/product_table.phtml | 14 ++- views/warenkorb/basket.phtml | 41 ++++----- views/warenkorb/overview.phtml | 28 +++--- 5 files changed, 108 insertions(+), 105 deletions(-) (limited to 'views') diff --git a/views/css/frontend.css b/views/css/frontend.css index bd0c414..66b5d7f 100644 --- a/views/css/frontend.css +++ b/views/css/frontend.css @@ -69,7 +69,7 @@ input.wpsg_error { border-color:red !important; } .basket_sum_wrap .wpsg_mod_basketteaser_row .valuer { width: 20%; display:inline-block; font-weight:normal; text-align:right; } .basket_sum_wrap .wpsg_mod_basketteaser_row .valuel { width: 20%; display:inline-block; font-weight:normal; text-align:left; } .basket_sum_wrap .wpsg_gutschein_add {padding:0.75em 1em;} -.procent_payship { font-size:0.75em; line-height:0.75em; color:#666666; displaY:block; } +.procent_payship { font-size:0.75em; line-height:0.75em; color:#666666; displaY:block; margin-bottom:10px; } /* .glyphicon {width:20px !important; text-decoration:none; position:relative; display:inline-block; font-family:'Glyphicons Halflings'; line-height:1rem;} */ .wpsg_basket .wpsg_checkoutbutton { float:right; padding:0.75em 1em; } diff --git a/views/mods/mod_kundenkontakt/order_view.phtml b/views/mods/mod_kundenkontakt/order_view.phtml index f1695f6..21902ee 100644 --- a/views/mods/mod_kundenkontakt/order_view.phtml +++ b/views/mods/mod_kundenkontakt/order_view.phtml @@ -175,80 +175,82 @@ - - -
-
- -
+get_option('wpsg_mod_kundenkontakt_smsflatrate_active') === '1') { ?> + - - -

Mit diesem Formular kann eine SMS an den Kunden versendet werden.

- -
- -
- view['valid'] === true) { ?> +
+
+ + + + -
- view['phone']); ?> -
+

Mit diesem Formular kann eine SMS an den Kunden versendet werden.

+ +
+ +
+ view['valid'] === true) { ?> - +
+ view['phone']); ?> +
+ + + +
+ view['phone']); ?> +
+ + +
-
- view['phone']); ?> -
+
- -
- -
- - view['phone']); ?> - -
+ view['phone']); ?> + +
+ + + + view['valid'] === true)?'':'disabled="disabled"'); ?> value="" class="button" style="float:right; margin-top:15px;" /> + + - - - - + + +
-
- - \ No newline at end of file + + + diff --git a/views/order/product_table.phtml b/views/order/product_table.phtml index abadd4a..88763c6 100644 --- a/views/order/product_table.phtml +++ b/views/order/product_table.phtml @@ -119,9 +119,17 @@ 1 - - get_option('wpsg_currency'); ?> - + get_option('wpsg_currency'); + + if (strpos($arCalculation['voucher'][0]['set'], '%') !== false) { + + echo '('.wpsg_ff(wpsg_tf($arCalculation['voucher'][0]['set']), '%').')'; + + } + + ?> diff --git a/views/warenkorb/basket.phtml b/views/warenkorb/basket.phtml index 0f2c471..0d79675 100644 --- a/views/warenkorb/basket.phtml +++ b/views/warenkorb/basket.phtml @@ -141,32 +141,29 @@ view['basket']['gs'])) { $bLine = true; ?> +
-
+
+ view['basket']['gs']['code'] != '')? '('.$this->view['basket']['gs']['code'].')':'' ?>
- + view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> +
+ +
view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); + + if (strpos($this->view['basket']['arCalculation']['voucher'][0]['set'], '%') !== false) { + + echo '('.wpsg_ff(wpsg_tf($this->view['basket']['arCalculation']['voucher'][0]['set']), '%').')'; + + } + + ?>
+
-
-
 
-
1
-
- view['basket']['gs']['calc'] == 'p') { ?> - view['basket']['gs']['value'], '%'); ?> - - view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?> - -
- view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> -
- -
view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?>
-
+
diff --git a/views/warenkorb/overview.phtml b/views/warenkorb/overview.phtml index a691164..4e5453c 100644 --- a/views/warenkorb/overview.phtml +++ b/views/warenkorb/overview.phtml @@ -269,25 +269,21 @@ view['basket']['gs'])) { $bLine = true; ?>
-
+
view['basket']['gs']['code'] != '')? '('.$this->view['basket']['gs']['code'].')':'' ?>
+
view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); + + if (strpos($this->view['basket']['arCalculation']['voucher'][0]['set'], '%') !== false) { + + echo '('.wpsg_ff(wpsg_tf($this->view['basket']['arCalculation']['voucher'][0]['set']), '%').')'; + + } + + ?>
-
-
 
-
1
-
- view['basket']['gs']['calc'] == 'p') { ?> - view['basket']['gs']['value'], '%'); ?> - - view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?> - -
- view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> -
- -
view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?>
-
-- cgit v1.2.3