Subversion Repositories wpShopGermany4

Rev

Rev 7349 | Rev 7691 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7349 Rev 7486
Line 4... Line 4...
4
	 * Template für die Zusammenfassung der Bestellung
4
	 * Template für die Zusammenfassung der Bestellung
5
	 * Anzeige vor dem Abschluss einer Bestellung
5
	 * Anzeige vor dem Abschluss einer Bestellung
6
	 */
6
	 */
7
 
7
 
8
	//wpsg_debug($this->view['basket']);
8
	//wpsg_debug($this->view['basket']);
-
 
9
	
-
 
10
	if ($this->getFrontendTaxView() === WPSG_BRUTTO) $display_brutto_netto = 'brutto';
-
 
11
	else $display_brutto_netto = 'netto';
9
 
12
 
10
?>
13
?>
11
<div class="wpsg wpsg_overview">
14
<div class="wpsg wpsg_overview">
12
 
15
 
13
	<?php echo $this->writeFrontendMessage(); ?>
16
	<?php echo $this->writeFrontendMessage(); ?>
Line 265... Line 268...
265
			<?php }   // foreach products ?>
268
			<?php }   // foreach products ?>
266
 
269
 
267
		<div class="overview_sum_wrap">
270
		<div class="overview_sum_wrap">
268
 
271
 
269
			<?php $bLine = false; ?>
272
			<?php $bLine = false; ?>
270
			<?php if (isset($this->view['basket']['gs'])) { $bLine = true; ?>
273
			<?php if (wpsg_isSizedArray($this->view['basket']['arCalculation']['voucher'])) { $bLine = true; ?>
-
 
274
			
-
 
275
				<?php foreach ($this->view['basket']['arCalculation']['voucher'] as $gs) { ?>
-
 
276
 
271
				<div class="overview_sum_row">
277
					<div class="overview_sum_row">
272
					<div class="title">
278
						<div class="title">
273
						<?php echo __('Gutschein', 'wpsg'); ?> <?php echo ($this->view['basket']['gs']['code'] != '')? '('.$this->view['basket']['gs']['code'].')':'' ?>
279
							<?php echo __('Gutschein', 'wpsg'); ?> <?php echo ($gs['code'] != '')? '('.$gs['code'].')':'' ?>
274
					</div>
280
						</div>
275
					<div class="value"><?php 
281
						<div class="value"><?php
276
							
282
								
277
						echo '-'.wpsg_ff($this->view['basket']['sum']['gs'], $this->get_option('wpsg_currency'));
283
							echo wpsg_ff($gs[$display_brutto_netto], $this->get_option('wpsg_currency'));
278
							
-
 
279
						if (strpos($this->view['basket']['arCalculation']['voucher'][0]['set'], '%') !== false) {
-
 
280
							
-
 
281
							echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($this->view['basket']['arCalculation']['voucher'][0]['set']), '%').')</span>';
-
 
282
							
284
							
-
 
285
							if (strpos($gs['set'], '%') !== false) {
-
 
286
								
-
 
287
								echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($gs['set']), '%').')</span>';
-
 
288
								
283
						}
289
							}
284
							
290
							
285
					?></div>					
291
						?></div>
286
				</div>
292
					</div>
-
 
293
					
-
 
294
				<?php } ?>
-
 
295
			
287
			<?php } ?>
296
			<?php } ?>
288
 
297
			 
289
			<div class="overview_sum_row">
298
			<div class="overview_sum_row">
290
				<?php if (isset($this->view['basket']['sum']['preis_rabatt']) && wpsg_tf($this->view['basket']['sum']['preis_rabatt']) > 0) { ?>
299
				<?php if (isset($this->view['basket']['sum']['preis_rabatt']) && wpsg_tf($this->view['basket']['sum']['preis_rabatt']) > 0) { ?>
291
					<div class="title">
300
					<div class="title">
292
						<?php echo __("Rabatt", "wpsg"); $bLine = true; ?>:
301
						<?php echo __("Rabatt", "wpsg"); $bLine = true; ?>:
293
					</div>
302
					</div>
Line 458... Line 467...
458
					</div>
467
					</div>
459
				</div>
468
				</div>
460
				<div class="wpsg_spacer"></div>
469
				<div class="wpsg_spacer"></div>
461
			<?php } ?>
470
			<?php } ?>
462
 
471
 
-
 
472
			<?php echo $this->callMod('wpsg_mod_gutschein', 'overview_row_end_coupon'); ?>
-
 
473
			
463
			<?php $this->callMods('overview_row_end', array(&$this->view)); ?>
474
			<?php $this->callMods('overview_row_end', array(&$this->view)); ?>
-
 
475
			
464
			<div class="wpsg_spacer"></div>
476
			<div class="wpsg_spacer"></div>
465
 
477
 
466
			<br />
478
			<br />
467
 
479
 
468
		</div>
480
		</div>