Subversion Repositories wpShopGermany4

Rev

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

Rev 7398 Rev 7486
Line 96... Line 96...
96
								<?php echo __('(inkl. MwSt.)', 'wpsg'); ?>
96
								<?php echo __('(inkl. MwSt.)', 'wpsg'); ?>
97
							<?php } else { ?>
97
							<?php } else { ?>
98
								<?php echo __('(zzgl. MwSt.)', 'wpsg'); ?>
98
								<?php echo __('(zzgl. MwSt.)', 'wpsg'); ?>
99
							<?php } ?>
99
							<?php } ?>
100
 
100
 
101
							<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Gutschein bearbeiten', 'wpsg'); ?>" onclick="return WPSG_BE_Voucher.editVoucher();"><span class="glyphicon glyphicon-pencil"></span></a>
101
							<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Gutschein bearbeiten', 'wpsg'); ?>" onclick="return WPSG_BE_Voucher.editVoucher(<?php echo $v['order_voucher_id']; ?>);"><span class="glyphicon glyphicon-pencil"></span></a>
102
							<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Gutschein löschen', 'wpsg'); ?>" onclick="return WPSG_BE_Voucher.removeVoucher();"><span class="glyphicon glyphicon-trash"></span></a>
102
							<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Gutschein löschen', 'wpsg'); ?>" onclick="return WPSG_BE_Voucher.removeVoucher(<?php echo $v['order_voucher_id']; ?>);"><span class="glyphicon glyphicon-trash"></span></a>
103
						</div>
103
						</div>
104
						<div>
104
						<div>
105
							Code: <?php echo $v['code']; ?>
105
							Code: <?php echo $v['code']; ?>
106
						</div>
106
						</div>
107
 
107
 
108
					</td>
108
					</td>
109
					<td class="wpsg_cell_preis">
109
					<td class="wpsg_cell_preis">
110
						
110
						
111
						<?php if (strpos($v['set'], '%') === false) { ?>
111
						<?php if (strpos($v['set'], '%') === false) { ?>
112
							<?php echo wpsg_ff($arCalculation['sum']['voucher_'.$display], $this->get_option('wpsg_currency')); ?>
112
							<?php echo wpsg_ff($v[$display], $this->get_option('wpsg_currency')); ?>
113
						<?php } else { ?>
113
						<?php } else { ?>
114
							<?php echo wpsg_ff($v['set'], '%'); ?>
114
							<?php echo wpsg_ff($v['set'], '%'); ?>
115
						<?php } ?>
115
						<?php } ?>
116
						
116
						
117
					</td>
117
					</td>
Line 119... Line 119...
119
						<td class="wpsg_cell_mwst"><?php echo $arTaxShort[$v['tax_key']]; ?></td>
119
						<td class="wpsg_cell_mwst"><?php echo $arTaxShort[$v['tax_key']]; ?></td>
120
					<?php } ?>
120
					<?php } ?>
121
					<td>1</td>
121
					<td>1</td>
122
					<td class="wpsg_cell_mwst_value wpsg_cell_gesamtpreis"><?php 
122
					<td class="wpsg_cell_mwst_value wpsg_cell_gesamtpreis"><?php 
123
							
123
							
124
						echo wpsg_ff($arCalculation['sum']['voucher_'.$display]); ?> <?php echo $this->get_option('wpsg_currency');
124
						echo wpsg_ff($v[$display]); ?> <?php echo $this->get_option('wpsg_currency');
125
						
125
						
126
						if (strpos($arCalculation['voucher'][0]['set'], '%') !== false) { 
126
						if (strpos($v['set'], '%') !== false) { 
127
 
127
 
128
							echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($arCalculation['voucher'][0]['set']), '%').')</span>';
128
							echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($v['set']), '%').')</span>';
129
 
129
 
130
						} 
130
						} 
131
							
131
							
132
					?></td>
132
					?></td>
133
				</tr>
133
				</tr>
Line 312... Line 312...
312
					</td>
312
					</td>
313
				</tr>
313
				</tr>
314
			<?php } } ?>
314
			<?php } } ?>
315
			
315
			
316
		<?php } ?>
316
		<?php } ?>
-
 
317
		
-
 
318
		<?php // Wertgutscheine  ?>
-
 
319
		<?php if (wpsg_isSizedArray($arCalculation['coupon'])) { ?>
-
 
320
			
-
 
321
			<?php foreach ($arCalculation['coupon'] as $c) { ?>
-
 
322
 
-
 
323
				<tr class="wpsg_row_discount wpsg_row_small">
-
 
324
					<td colspan="" class="wpsg_cell_mwst_label">
-
 
325
 
-
 
326
						<div>
-
 
327
							<?php echo __('Wertgutschein', 'wpsg'); ?>
-
 
328
							
-
 
329
							<?php if ($this->getBackendTaxView() === WPSG_BRUTTO) { ?>
-
 
330
								<?php echo __('(inkl. MwSt.)', 'wpsg'); ?>
-
 
331
							<?php } else { ?>
-
 
332
								<?php echo __('(zzgl. MwSt.)', 'wpsg'); ?>
-
 
333
							<?php } ?>
-
 
334
 
-
 
335
							<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Wertgtschein bearbeiten', 'wpsg'); ?>" onclick="return WPSG_BE_Voucher.editVoucher(<?php echo $c['order_voucher_id']; ?>);"><span class="glyphicon glyphicon-pencil"></span></a>
-
 
336
							<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Wertgutschein löschen', 'wpsg'); ?>" onclick="return WPSG_BE_Voucher.removeVoucher(<?php echo $c['order_voucher_id']; ?>);"><span class="glyphicon glyphicon-trash"></span></a>
-
 
337
						</div>
-
 
338
						<div>
-
 
339
							Code: <?php echo $c['code']; ?>
-
 
340
						</div>
-
 
341
 
-
 
342
					</td>
-
 
343
					<td class="wpsg_cell_preis">
-
 
344
						
-
 
345
						<?php if (strpos($c['set'], '%') === false) { ?>
-
 
346
							<?php echo wpsg_ff($c[$display], $this->get_option('wpsg_currency')); ?>
-
 
347
						<?php } else { ?>
-
 
348
							<?php echo wpsg_ff($c['set'], '%'); ?>
-
 
349
						<?php } ?>
-
 
350
 
-
 
351
					</td>
-
 
352
					<?php if (sizeof($arCalculation['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
-
 
353
						<td class="wpsg_cell_mwst"><?php echo $arTaxShort[$c['tax_key']]; ?></td>
-
 
354
					<?php } ?>
-
 
355
					<td>1</td>
-
 
356
					<td class="wpsg_cell_mwst_value wpsg_cell_gesamtpreis"><?php
-
 
357
							
-
 
358
							echo wpsg_ff($c[$display]); ?> <?php echo $this->get_option('wpsg_currency');
-
 
359
							
-
 
360
							if (strpos($c['set'], '%') !== false) {
-
 
361
								
-
 
362
								echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($c['set']), '%').')</span>';
-
 
363
								
-
 
364
							}
-
 
365
						
-
 
366
						?></td>
-
 
367
				</tr>
-
 
368
			
-
 
369
			<?php } ?>
-
 
370
 
-
 
371
			<tr class="wpsg_row_gesamt">
-
 
372
				<td colspan="<?php echo $this->view['colspan']; ?>" class="wpsg_cell_summe_label">
-
 
373
					<strong><?php echo __('Zu zahlen', 'wpsg'); ?></strong>
-
 
374
					<?php if ($this->getBackendTaxView() === WPSG_BRUTTO) { ?>
-
 
375
						<?php echo __('(inkl. MwSt.)', 'wpsg'); ?>
-
 
376
					<?php } else { ?>
-
 
377
						<?php echo __('(zzgl. MwSt.)', 'wpsg'); ?>
-
 
378
					<?php } ?>
-
 
379
				</td>
-
 
380
				<td class="wpsg_cell_gesamt_value wpsg_cell_gesamtpreis">
-
 
381
					<strong><?php echo wpsg_ff($arCalculation['sum']['topay_brutto']); ?> <?php echo $this->get_option('wpsg_currency'); ?></strong>
-
 
382
				</td>
-
 
383
			</tr>
-
 
384
		
-
 
385
		<?php } ?>	
317
	
386
	
318
	</tbody>
387
	</tbody>
319
</table>
388
</table>
320
 
389
 
321
<?php //wpsg_debug($arCalculation);  ?>
390
<?php //wpsg_debug($arCalculation);  ?>