Subversion Repositories wpShopGermany4

Rev

Rev 8420 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1067 daniel 1
<?php
2
 
3
	/**
4
	 * Template für die Zusammenfassung der Bestellung
7130 thomas 5
	 * Anzeige vor dem Abschluss einer Bestellung
1067 daniel 6
	 */
7
 
7486 daniel 8
	if ($this->getFrontendTaxView() === WPSG_BRUTTO) $display_brutto_netto = 'brutto';
9
	else $display_brutto_netto = 'netto';
6332 hartmut 10
 
1067 daniel 11
?>
3444 daniel 12
<div class="wpsg wpsg_overview">
1067 daniel 13
 
5201 daniel 14
	<?php echo $this->writeFrontendMessage(); ?>
5013 daniel 15
 
6149 hartmut 16
	<?php if ($this->hasMod('wpsg_mod_onepagecheckout') && ($this->get_option('wpsg_mod_onepagecheckout_basket') == 1)) { ?>
17
	<?php } else {?>
18
		<?php $GLOBALS['step'] = 4; $this->render(WPSG_PATH_VIEW.'/warenkorb/progress.phtml'); ?>
19
	<?php } ?>
5201 daniel 20
 
8420 daniel 21
	<form method="post" action="<?php echo $this->getURL(wpsg_ShopController::URL_BASKET); ?>" id="wpsg_form">
1067 daniel 22
 
3460 daniel 23
		<h2><?php echo __('Zusammenfassung', 'wpsg'); ?></h2>
6332 hartmut 24
 
3460 daniel 25
		<div class="wpsg_spacer"></div>
6332 hartmut 26
 
3657 daniel 27
		<?php if (!$this->hasMod('wpsg_mod_ordercondition')) { ?>
1218 daniel 28
		<div class="wpsg_agb">
29
			<label>
8420 daniel 30
				<input type="checkbox" value="1" name="wpsg[agb]" required />
6332 hartmut 31
				<?php echo wpsg_translate(__('Ich habe die #1# des Anbieters gelesen und erkläre mit dem Absenden der Bestellung mein Einverständnis. Die #2# habe ich zur Kenntnis genommen.', 'wpsg'),
32
					'<a target="_blank" href="'.$this->getURL(wpsg_ShopController::URL_AGB).'">'.__('AGB', 'wpsg').'</a>',
33
					'<a target="_blank" href="'.$this->getURL(wpsg_ShopController::URL_WIDERRUF).'">'.__('Widerrufsbelehrung', 'wpsg').'</a>');
1218 daniel 34
				?>
35
			</label>
6332 hartmut 36
		</div>
3657 daniel 37
		<?php } ?>
6332 hartmut 38
 
1429 daniel 39
		<?php $this->callMods('overview_top', array(&$this->view['basket'])); ?>
6332 hartmut 40
 
1218 daniel 41
		<div class="shippayment">
3444 daniel 42
			<div class="subtitle"><?php echo __('Zahlung/Versand', 'wpsg'); ?>&nbsp;
1587 daniel 43
				<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT2)); ?></span>
1324 daniel 44
			</div>
1720 daniel 45
			<div class="payment"><?php echo wpsg_hspc($this->arPayment[$this->view['basket']['checkout']['payment']]['name']); ?></div>
46
			<div class="shipping"><?php echo wpsg_hspc($this->arShipping[$this->view['basket']['checkout']['shipping']]['name']); ?></div>
1218 daniel 47
		</div>
6332 hartmut 48
 
6149 hartmut 49
		<?php
50
			$arAnrede = explode('|', $this->get_option('wpsg_admin_pflicht')['anrede_auswahl']);
51
		?>
6332 hartmut 52
 
5866 hartmut 53
		<?php if (wpsg_getStr($this->view['basket']['checkout']['diff_shippingadress']) == '1') { ?>
1329 david 54
		<div class="anschrift">
3444 daniel 55
			<div class="subtitle"><?php echo __('Rechnungsanschrift', 'wpsg'); ?>&nbsp;
56
				<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
57
			</div>
7130 thomas 58
			<?php if ($this->view['pflicht']['firma'] != '2') { ?>
59
				<?php if (trim($this->view['basket']['checkout']['firma']) != '') { ?>
60
					<?php echo wpsg_hspc($this->view['basket']['checkout']['firma']); ?><br />
61
				<?php } ?>
1329 david 62
			<?php } ?>
7130 thomas 63
			<?php if ($this->view['pflicht']['anrede'] != '2') { ?>
64
				<?php echo wpsg_hspc(($this->view['basket']['checkout']['title'] != '' && $this->view['basket']['checkout']['title'] != '-1')?$arAnrede[$this->view['basket']['checkout']['title']]:''); ?>
6332 hartmut 65
			<?php } ?>
7130 thomas 66
			<?php if ($this->view['pflicht']['vname'] != '2') { ?>
67
				<?php echo wpsg_hspc($this->view['basket']['checkout']['vname']); ?>
68
			<?php } ?>
69
			<?php if ($this->view['pflicht']['name'] != '2') { ?>
70
				<?php echo wpsg_hspc($this->view['basket']['checkout']['name']); ?><br />
71
			<?php } ?>
72
			<?php if ($this->view['pflicht']['strasse'] != '2') { ?>
7305 daniel 73
				<?php echo wpsg_hspc($this->view['basket']['checkout']['strasse'].rtrim(' '.wpsg_getStr($this->view['basket']['checkout']['nr']))); ?><br />
7130 thomas 74
			<?php } ?>
75
			<?php if ($this->view['pflicht']['plz'] != '2') { ?>
76
				<?php echo wpsg_hspc($this->view['basket']['checkout']['plz']); ?>
77
			<?php } ?>
78
			<?php if ($this->view['pflicht']['ort'] != '2') { ?>
79
				<?php echo wpsg_hspc($this->view['basket']['checkout']['ort']); ?><br />
80
			<?php }?>
81
			<?php if ($this->view['pflicht']['land'] != '2') { ?>
82
				<?php if (wpsg_isSizedArray($this->view['basket']['land'])) { ?>
83
					<?php echo wpsg_hspc($this->view['basket']['land']['name']); ?>
84
				<?php } ?>
85
			<?php } ?>
6332 hartmut 86
		</div>
1329 david 87
		<div class="wpsg_clear"></div><br />
6332 hartmut 88
 
1329 david 89
		<div class="anschrift">
3444 daniel 90
			<div class="subtitle"><?php echo __('Lieferanschrift', 'wpsg'); ?>&nbsp;
91
				<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
92
			</div>
7130 thomas 93
			<?php if ($this->view['pflicht']['firma'] != '2') { ?>
94
				<?php if (trim($this->view['basket']['checkout']['shipping_firma']) != '') { ?>
95
					<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_firma']); ?><br />
96
				<?php } ?>
1329 david 97
			<?php } ?>
7130 thomas 98
			<?php if ($this->view['pflicht']['anrede'] != '2') { ?>
99
				<?php echo (($this->view['basket']['checkout']['shipping_title'] != '' && $this->view['basket']['checkout']['shipping_title'] != '-1')?$arAnrede[$this->view['basket']['checkout']['shipping_title']]:''); ?>
6332 hartmut 100
			<?php } ?>
7130 thomas 101
			<?php if ($this->view['pflicht']['vname'] != '2') { ?>
102
				<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_vname']); ?>
103
			<?php } ?>
104
			<?php if ($this->view['pflicht']['name'] != '2') { ?>
105
				<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_name']); ?><br />
106
			<?php } ?>
107
			<?php if ($this->view['pflicht']['strasse'] != '2') { ?>
7247 daniel 108
				<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_strasse'].rtrim(' '.($this->view['basket']['checkout']['shipping_nr']))); ?><br />
7130 thomas 109
			<?php } ?>
110
			<?php if ($this->view['pflicht']['plz'] != '2') { ?>
111
				<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_plz']); ?>
112
			<?php } ?>
113
			<?php if ($this->view['pflicht']['ort'] != '2') { ?>
114
				<?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_ort']); ?><br />
115
			<?php } ?>
116
			<?php if ($this->view['pflicht']['land'] != '2') { ?>
117
				<?php if (wpsg_isSizedArray($this->view['basket']['shipping_land'])) { ?>
118
					<?php echo wpsg_hspc($this->view['basket']['shipping_land']['name']); ?>
119
				<?php } ?>
120
			<?php } ?>
6332 hartmut 121
		</div>
1329 david 122
		<div class="wpsg_clear"></div><br />
6332 hartmut 123
 
1329 david 124
		<?php } else { ?>
6332 hartmut 125
 
1218 daniel 126
		<div class="anschrift">
3444 daniel 127
			<div class="subtitle"><?php echo __('Liefer- und Rechnungsanschrift', 'wpsg'); ?>&nbsp;
6149 hartmut 128
				<?php if ($this->hasMod('wpsg_mod_onepagecheckout') && ($this->get_option('wpsg_mod_onepagecheckout_basket') == 1)) { ?>
3444 daniel 129
				<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
6149 hartmut 130
				<?php } else { ?>
131
				<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
132
				<?php } ?>
3444 daniel 133
			</div>
7130 thomas 134
			<?php if ($this->view['pflicht']['firma'] != '2') { ?>
135
				<?php if (trim($this->view['basket']['checkout']['firma']) != '') { ?>
136
					<?php echo wpsg_hspc($this->view['basket']['checkout']['firma']); ?><br />
137
				<?php } ?>
1327 daniel 138
			<?php } ?>
7130 thomas 139
			<?php if ($this->view['pflicht']['anrede'] != '2') { ?>
140
				<?php echo wpsg_hspc(($this->view['basket']['checkout']['title'] != '' && $this->view['basket']['checkout']['title'] != '-1')?$arAnrede[$this->view['basket']['checkout']['title']]:''); ?>
141
			<?php } ?>
142
			<?php if ($this->view['pflicht']['vname'] != '2') { ?>
143
				<?php echo $this->view['basket']['checkout']['vname']; ?>
6332 hartmut 144
			<?php } ?>
7130 thomas 145
			<?php if ($this->view['pflicht']['name'] != '2') { ?>
146
				<?php echo $this->view['basket']['checkout']['name']; ?><br />
147
			<?php } ?>
148
			<?php if ($this->view['pflicht']['strasse'] != '2') { ?>
7305 daniel 149
				<?php echo wpsg_hspc($this->view['basket']['checkout']['strasse'].rtrim(' '.wpsg_getStr($this->view['basket']['checkout']['nr']))); ?><br />
7130 thomas 150
			<?php } ?>
151
			<?php if ($this->view['pflicht']['plz'] != '2') { ?>
152
				<?php echo wpsg_hspc($this->view['basket']['checkout']['plz']); ?>
153
			<?php } ?>
154
			<?php if ($this->view['pflicht']['ort'] != '2') { ?>
155
				<?php echo wpsg_hspc($this->view['basket']['checkout']['ort']); ?><br />
156
			<?php } ?>
157
			<?php if ($this->view['pflicht']['land'] != '2') { ?>
158
				<?php if (wpsg_isSizedArray($this->view['basket']['land'])) { ?>
159
					<?php echo wpsg_hspc($this->view['basket']['land']['name']); ?>
160
				<?php } ?>
161
			<?php } ?>
6332 hartmut 162
		</div>
1218 daniel 163
		<div class="wpsg_clear"></div><br />
1329 david 164
		<?php } ?>
6332 hartmut 165
 
4061 daniel 166
		<?php if (wpsg_isSizedString($this->view['basket']['checkout']['ustidnr'])) { ?>
167
		<?php echo __('UStIdNr.', 'wpsg'); ?>: <?php echo wpsg_hspc($this->view['basket']['checkout']['ustidnr']); ?><br /><br />
168
		<?php } ?>
8456 daniel 169
 
170
		<?php if (trim($this->view['basket']['checkout']['email_einvoice']??'') !== '') { ?>
171
		<div class="einvoice_input">
172
			<span><?php echo __('E-Mail für eRechnung:', 'wpsg'); ?></span>
173
			<span><?php echo $this->view['basket']['checkout']['email_einvoice']; ?></span>
174
		</div>
175
		<?php } ?>
6332 hartmut 176
 
1324 daniel 177
		<div class="subtitle">
1587 daniel 178
			<?php echo __('Bestellte Produkte', 'wpsg'); ?>&nbsp;
1324 daniel 179
			<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_BASKET)); ?></span>
180
		</div>
6332 hartmut 181
 
2301 daniel 182
		<div class="wpsg_table_wrap">
6332 hartmut 183
 
184
			<?php $i = 0; foreach ($this->view['basket']['produkte'] as $k => $product_data) { $i ++; ?>
185
 
186
			<div class="overview_product_row">
187
 
188
				<?php $this->view['$bPicture'] = false; ?>
189
 
6454 hartmut 190
				<?php if ($this->get_option('wpsg_imagehandler_basketimage') == '1') {
6332 hartmut 191
 
192
				?>
193
				<div class="productimage">
194
 
195
					<?php
6454 hartmut 196
 
6332 hartmut 197
					if (isset($product_data['product_key'])) {
6454 hartmut 198
						$arAttachmentIDs = $this->imagehandler->getAttachmentIDs($product_data['product_key']);
199
						$attachmentID = $this->imagehandler->getAttachmentID($product_data['product_key']);
200
 
201
						echo wp_get_attachment_image($attachmentID, 'medium');
202
 
6332 hartmut 203
					}
6454 hartmut 204
					if ($attachmentID > 0) $this->view['$bPicture'] = true;
205
 
6332 hartmut 206
					?>
207
 
208
				</div>
209
				<?php } ?>
210
 
211
				<div class="product_content">
212
 
213
					<div class="product_name">
214
						<?php if ($this->getProduktLink($product_data)) { ?>
215
						<a href="<?php echo $this->getProduktLink($product_data); ?>"><?php echo wpsg_hspc((($product_data['detailname'] != '')?$product_data['detailname']:$product_data['name'])); ?></a>
216
						<?php } else { ?>
217
						<?php echo wpsg_hspc((($product_data['detailname'] != '')?$product_data['detailname']:$product_data['name'])); ?>
218
						<?php } ?>
219
 
220
						<?php if (wpsg_isSizedString($product_data['shortdesc'])) { ?>
221
						<div class="product_shortdesc"><?php echo $product_data['shortdesc']; ?></div>
222
						<?php } ?>
223
 
224
					</div>
225
 
226
					<div class="product_action">
227
						<div class="title">
228
							<?php echo __("Anzahl", "wpsg"); ?>
229
						</div>
230
						<div class="amount">
231
							<?php echo wpsg_hspc($product_data['menge']); ?>
232
						</div>
233
					</div>
7704 daniel 234
 
235
                    <?php $this->callMods('overview_row_before', array(&$product_data, $i)); ?>
236
 
6332 hartmut 237
					<div class="product_action">
238
						<div class="title">
239
							<?php echo __("Einzelpreis", "wpsg"); ?>
240
						</div>
241
						<div class="price">
242
							<?php echo wpsg_ff($product_data['preis'], $this->get_option('wpsg_currency')); ?>
243
						</div>
244
					</div>
245
					<div class="product_action">
246
						<div class="title">
247
							<?php echo __("Gesamtpreis", "wpsg"); ?>
248
						</div>
249
						<div class="price_total">
250
							<?php echo wpsg_ff($product_data['menge'] * $product_data['preis'], $this->get_option('wpsg_currency')); ?>
251
						</div>
252
					</div>
253
 
3444 daniel 254
					<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
6332 hartmut 255
					<div class="product_info">
256
						<div
257
						<?php if ($this->view['$bPicture'] == true) { ?>class="titlep"><?php } else { ?>class="title"><?php } ?>
258
							<?php echo __("MwSt.", "wpsg"); ?>
259
						</div>
260
						<div class="valuer">
261
							<?php echo wpsg_ff($product_data['mwst_value'], ' %'); ?>
262
						</div>
263
						<div class="dummyr">
264
							<?php echo __('&nbsp;'); ?>
265
						</div>
266
 
267
					</div>
3444 daniel 268
					<?php } ?>
6332 hartmut 269
 
270
					<?php $strOverviewRow= ''; ob_start(); $this->callMods('overview_row', array(&$product_data, $i)); $strOverviewRow= ob_get_contents(); ob_end_clean(); ?>
271
					<?php echo $strOverviewRow; ?>
272
 
273
				</div>
274
 
275
			</div>
276
			<?php }   // foreach products ?>
277
 
278
		<div class="overview_sum_wrap">
279
 
280
			<?php $bLine = false; ?>
7486 daniel 281
			<?php if (wpsg_isSizedArray($this->view['basket']['arCalculation']['voucher'])) { $bLine = true; ?>
282
 
283
				<?php foreach ($this->view['basket']['arCalculation']['voucher'] as $gs) { ?>
284
 
285
					<div class="overview_sum_row">
286
						<div class="title">
287
							<?php echo __('Gutschein', 'wpsg'); ?> <?php echo ($gs['code'] != '')? '('.$gs['code'].')':'' ?>
288
						</div>
289
						<div class="value"><?php
290
 
291
							echo wpsg_ff($gs[$display_brutto_netto], $this->get_option('wpsg_currency'));
7349 daniel 292
 
7486 daniel 293
							if (strpos($gs['set'], '%') !== false) {
294
 
295
								echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($gs['set']), '%').')</span>';
296
 
297
							}
7349 daniel 298
 
7486 daniel 299
						?></div>
300
					</div>
301
 
302
				<?php } ?>
303
 
6332 hartmut 304
			<?php } ?>
7486 daniel 305
 
6332 hartmut 306
			<div class="overview_sum_row">
3024 daniel 307
				<?php if (isset($this->view['basket']['sum']['preis_rabatt']) && wpsg_tf($this->view['basket']['sum']['preis_rabatt']) > 0) { ?>
6332 hartmut 308
					<div class="title">
309
						<?php echo __("Rabatt", "wpsg"); $bLine = true; ?>:
310
					</div>
3024 daniel 311
					<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
6332 hartmut 312
						<div class="value">
313
							<?php echo __('anteilig', 'wpsg'); ?>
314
						</div>
3024 daniel 315
					<?php } ?>
6332 hartmut 316
						<div class="value">
317
							<?php echo '-'.wpsg_ff($this->view['basket']['sum']['preis_rabatt'], $this->get_option('wpsg_currency')); ?>
318
						</div>
3024 daniel 319
				<?php } ?>
6332 hartmut 320
			</div>
321
 
322
			<?php if ($bLine == true) { ?>
323
				<div class="wpsg_spacer"></div>
324
			<?php } ?>
325
 
326
			<div class="overview_sum_row">
327
				<div class="title2">
328
					<?php if ($this->get_option("wpsg_kleinunternehmer") == "1") { ?>
329
						<?php echo wpsg_translate(__('Summe (zzgl. #1#)', 'wpsg'), '<a href="'.$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'</a>'); ?>:
330
					<?php } else { ?>
331
						<?php if ($this->getFrontendTaxview() == WPSG_NETTO) { ?>
332
						<?php echo wpsg_translate(__('Summe (zzgl. #1#, zzgl. MwSt.)', 'wpsg'), '<a href="'.$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'</a>'); ?>:
333
						<?php } else { ?>
334
						<?php echo wpsg_translate(__('Summe (zzgl. #1#, inkl. MwSt.)', 'wpsg'), '<a href="'.$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'</a>'); ?>:
2301 daniel 335
						<?php } ?>
6332 hartmut 336
					<?php } ?>
337
				</div>
338
				<div class="value">
339
					<?php echo wpsg_ff($this->view['basket']['sum']['preis'], $this->get_option('wpsg_currency')); ?>
340
				</div>
341
			</div>
342
 
343
			<?php if ($this->view['basket']['sum']['preis_shipping'] != 0 || $this->get_option('wpsg_hideemptyshipping') != '1') { ?>
344
			<div class="overview_sum_row">
345
				<div class="title">
2301 daniel 346
						<?php echo wpsg_translate(__('<a href="#1#">Versandkosten</a> (#2#)', 'wpsg'),
347
							$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN),
348
							$this->arShipping[$this->view['basket']['checkout']['shipping']]['name']
6332 hartmut 349
						); ?>:
350
 
351
				</div>
352
				<div class="value">
7347 daniel 353
 
6332 hartmut 354
					<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') {
7347 daniel 355
 
356
						$shipping_tax_key = $this->view['basket']['arCalculation']['shipping'][0]['tax_key'];
357
 
358
						if ($shipping_tax_key === '0') {
359
 
6332 hartmut 360
							echo __('anteilig', 'wpsg');
7347 daniel 361
 
362
						} else {
363
 
364
							echo wpsg_ff($this->view['basket']['arCalculation']['tax'][$shipping_tax_key]['tax_value'], '%');
365
 
6332 hartmut 366
						}
7347 daniel 367
 
368
					} ?>
369
 
370
				</div>
371
				<div class="value">
372
					<?php
373
 
374
						echo wpsg_ff($this->view['basket']['sum']['preis_shipping'], $this->get_option('wpsg_currency'));
375
 
7867 daniel 376
						if (strpos(($this->view['basket']['arCalculation']['shipping'][0]['set']??''), '%') !== false) {
7347 daniel 377
 
378
							echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($this->view['basket']['arCalculation']['shipping'][0]['set']), '%').')</span>';
379
 
6332 hartmut 380
						}
7347 daniel 381
 
6332 hartmut 382
					?>
383
				</div>
384
			</div>
385
			<?php } ?>
386
 
387
			<?php /* Zeile für Zahlungsart BEGIN */ ?>
7691 daniel 388
			<?php if (!$this->hasMod('wpsg_mod_crefopay') && ($this->get_option('wpsg_hideemptypayment') !== '1' || $this->view['basket']['sum']['preis_payment'] > 0)) { ?>
6332 hartmut 389
				<div class="overview_sum_row">
390
					<div class="title">
3024 daniel 391
						<?php echo wpsg_translate(__('Zahlungsart (#1#)', 'wpsg'), $this->arPayment[$this->view['basket']['checkout']['payment']]['name']); ?>:
6332 hartmut 392
					</div>
393
					<div class="value">
7347 daniel 394
 
6332 hartmut 395
						<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') {
7347 daniel 396
 
397
							$payment_tax_key = $this->view['basket']['arCalculation']['payment'][0]['tax_key'];
398
 
399
							if ($payment_tax_key === '0') {
400
 
6332 hartmut 401
								echo __('anteilig', 'wpsg');
7347 daniel 402
 
403
							} else {
404
 
405
								echo wpsg_ff($this->view['basket']['arCalculation']['tax'][$payment_tax_key]['tax_value'], '%');
406
 
6332 hartmut 407
							}
7347 daniel 408
 
409
						} ?>
410
 
6332 hartmut 411
					</div>
412
					<div class="value">
7347 daniel 413
						<?php
414
 
415
							echo wpsg_ff($this->view['basket']['sum']['preis_payment'], $this->get_option('wpsg_currency'));
416
 
7815 daniel 417
							if (strpos(wpsg_getStr($this->view['basket']['arCalculation']['payment'][0]['set']), '%') !== false) {
7347 daniel 418
 
419
								echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($this->view['basket']['arCalculation']['payment'][0]['set']), '%').')</span>';
420
 
421
							}
422
 
423
						?>
6332 hartmut 424
					</div>
425
				</div>
426
			<?php } ?>
427
			<?php /* Zeile für Zahlungsart ENDE */ ?>
428
 
429
			<?php if (get_option("wpsg_kleinunternehmer") == "1") { ?>
430
				<div class="overview_sum_row">
431
					<div class="title2">
432
						<?php echo get_option('wpsg_kleinunternehmer_text'); ?>
433
					</div>
434
					<div class="value">
435
						<?php echo __('&nbsp;'); ?>
436
					</div>
437
				</div>
438
 
439
				<div class="overview_sum_row">
440
					<div class="title2">
3024 daniel 441
						<?php echo __('Gesamtpreis', 'wpsg'); ?>:
6332 hartmut 442
					</div>
443
					<div class="sum">
444
						<?php echo wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?>
445
					</div>
446
				</div>
447
			<?php } else { ?>
448
 
449
				<div class="overview_sum_row">
450
					<div class="title2">
3024 daniel 451
						<?php echo __('Gesamtpreis (Netto)', 'wpsg'); ?>:
6332 hartmut 452
					</div>
453
					<div class="sum">
454
						<?php echo wpsg_ff($this->view['basket']['sum']['preis_gesamt_netto'], $this->get_option('wpsg_currency')); ?>
455
					</div>
456
				</div>
457
 
458
				<?php foreach ($this->view['basket']['mwst'] as $mwst) { ?>
459
					<div class="overview_sum_row">
460
						<div class="title2">
461
							<?php echo wpsg_translate(__('zuzüglich MwSt. (#1#)', 'wpsg'), __($mwst['name'], 'wpsg')); ?>:
462
						</div>
463
						<div class="value">
464
							<?php echo wpsg_ff($mwst['sum']); ?> <?php echo $this->get_option('wpsg_currency'); ?>
465
						</div>
466
					</div>
467
				<?php } ?>
468
				<div class="wpsg_spacer"></div>
469
				<div class="overview_sum_row">
470
					<div class="title2">
3024 daniel 471
						<?php echo __('Gesamtpreis (Brutto)', 'wpsg'); ?>:
6332 hartmut 472
					</div>
473
					<div class="sum">
3024 daniel 474
						<?php echo wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?>
6332 hartmut 475
					</div>
476
				</div>
477
				<div class="wpsg_spacer"></div>
478
			<?php } ?>
479
 
7486 daniel 480
			<?php echo $this->callMod('wpsg_mod_gutschein', 'overview_row_end_coupon'); ?>
481
 
6332 hartmut 482
			<?php $this->callMods('overview_row_end', array(&$this->view)); ?>
7486 daniel 483
 
6332 hartmut 484
			<div class="wpsg_spacer"></div>
485
 
486
			<br />
487
 
488
		</div>
489
 
2301 daniel 490
			<div class="wpsg_versandhinweis"><?php echo __('Sofern die Lieferung in das Nicht-EU-Ausland erfolgt, können weitere Zölle, Steuern oder Gebühren vom Kunden zu zahlen sein, jedoch nicht an den Anbieter, sondern an die dort zuständigen Zoll- bzw. Steuerbehörden. Dem Kunden wird empfohlen, die Einzelheiten vor der Bestellung bei den Zoll- bzw. Steuerbehörden zu erfragen.', 'wpsg'); ?></div>
491
		</div>
6332 hartmut 492
 
2308 daniel 493
		<br />
6332 hartmut 494
 
1739 david 495
		<?php if ($this->view['basket']['checkout']['comment'] != '') { ?>
2301 daniel 496
			<div class="subtitle">
497
				<?php echo __('Bestellkommentar', 'wpsg'); ?>&nbsp;
498
				<span class="sublink"><?php echo wpsg_translate(__('[<a href="#1#">Ändern</a>]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?></span>
499
			</div>
500
			<div class="wpsg_ordercomment">
501
				<?php echo $this->view['basket']['checkout']['comment'] ?>
502
			</div>
6332 hartmut 503
		<?php }?>
504
 
505
 
1401 daniel 506
		<?php $this->callMods('overview_inner_prebutton', array(&$this->view)); ?>
6332 hartmut 507
 
508
		<div class="wpsg_spacer"></div>
3454 daniel 509
		<div class="wpsg_clear"></div>
6332 hartmut 510
 
511
		<input type="submit" class="wpsg_checkoutbutton" value="<?php echo __('zurück', 'wpsg'); ?>" name="wpsg_redirect_checkout" />
7781 daniel 512
 
513
        <?php if ($this->callMods('handle_order')) { ?>
6332 hartmut 514
		<input type="submit" class="wpsg_orderbutton" value="<?php echo __('zahlungspflichtig bestellen', 'wpsg'); ?>" name="wpsg_order" />
7781 daniel 515
        <?php } ?>
6332 hartmut 516
 
1067 daniel 517
		<div class="wpsg_clear"></div>
1068 daniel 518
 
6332 hartmut 519
	</form>
520
 
1067 daniel 521
</div>