Subversion Repositories wpShopGermany4

Rev

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