Line -... |
Line 1... |
- |
|
1 |
<?php
|
- |
|
2 |
|
- |
|
3 |
if ($this->getFrontendTaxView() === WPSG_BRUTTO) $display_brutto_netto = 'brutto';
|
- |
|
4 |
else $display_brutto_netto = 'netto';
|
- |
|
5 |
|
1 |
<div class="baskettable_wrap">
|
6 |
?><div class="baskettable_wrap">
|
2 |
<table class="baskettable" cellpadding="2" cellspacing="0" style="cell-padding:4px;">
|
7 |
<table class="baskettable" cellpadding="2" cellspacing="0" style="cell-padding:4px;">
|
3 |
<tr class="head">
|
8 |
<tr class="head">
|
4 |
<th valign="middle" style="cell-padding:4px; padding:4px; line-height:100%; vertical-align:middle;" class="col_pos"><?php echo __('Pos', 'wpsg'); ?></th>
|
9 |
<th valign="middle" style="cell-padding:4px; padding:4px; line-height:100%; vertical-align:middle;" class="col_pos"><?php echo __('Pos', 'wpsg'); ?></th>
|
5 |
<th valign="middle" style="cell-padding:4px; padding:4px; line-height:100%; vertical-align:middle;" class="col_name"><?php echo __('Produkt', 'wpsg'); ?></th>
|
10 |
<th valign="middle" style="cell-padding:4px; padding:4px; line-height:100%; vertical-align:middle;" class="col_name"><?php echo __('Produkt', 'wpsg'); ?></th>
|
6 |
<th valign="middle" style="cell-padding:4px; padding:4px; line-height:100%; vertical-align:middle;" class="col_price"><?php echo __('Stückpreis', 'wpsg'); ?></th>
|
11 |
<th valign="middle" style="cell-padding:4px; padding:4px; line-height:100%; vertical-align:middle;" class="col_price"><?php echo __('Stückpreis', 'wpsg'); ?></th>
|
Line 67... |
Line 72... |
67 |
<?php } ?>
|
72 |
<?php } ?>
|
68 |
</td>
|
73 |
</td>
|
69 |
</tr>
|
74 |
</tr>
|
70 |
<?php } ?>
|
75 |
<?php } ?>
|
71 |
<?php } ?>
|
76 |
<?php } ?>
|
- |
|
77 |
<?php if (wpsg_isSizedArray($this->view['basket']['arCalculation']['voucher'])) { $bLine = true; ?>
|
72 |
<?php if (isset($this->view['basket']['gs'])) { ?>
|
78 |
<?php foreach ($this->view['basket']['arCalculation']['voucher'] as $gs) { ?>
|
73 |
<tr class="voucherrow">
|
79 |
<tr class="voucherrow">
|
74 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_pos"><?php echo $i + 1; ?>.</td>
|
80 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_pos"> <?php print_r($gs); ?></td>
|
75 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name"><?php echo wpsg_translate(__('Gutschein (#1#)', 'wpsg'), $this->view['basket']['gs']['code']); ?></td>
|
81 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_name"><?php echo wpsg_translate(__('Gutschein (#1#)', 'wpsg'), $gs['code']); ?></td>
|
76 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_price"><?php echo wpsg_ff($this->view['basket']['gs']['value'], (($this->view['basket']['gs']['calc'] == 'w')?$this->get_option('wpsg_currency'):'%')); ?></td>
|
82 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_price"><?php echo wpsg_ff($gs['set'], ((strpos($gs['set'], '%') !== false)?'%':$this->get_option('wpsg_currency'))); ?></td>
|
77 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
83 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
78 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_mwst"><?php echo __('anteilig', 'wpsg'); ?></td>
|
84 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_mwst"><?php echo __('Anteilig', 'wpsg'); ?></td>
|
- |
|
85 |
<?php } ?>
|
- |
|
86 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount">1</td>
|
- |
|
87 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_sum"><?php echo wpsg_ff($gs[$display_brutto_netto], $this->get_option('wpsg_currency')); ?></td>
|
- |
|
88 |
</tr>
|
79 |
<?php } ?>
|
89 |
<?php } ?>
|
80 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount">1</td>
|
- |
|
81 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_sum"><?php echo '-'.wpsg_ff($this->view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?></td>
|
- |
|
82 |
</tr>
|
- |
|
83 |
<?php } ?>
|
90 |
<?php } ?>
|
84 |
<tr class="spacer">
|
91 |
<tr class="spacer">
|
85 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="td_bt" colspan="<?php echo ((sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1')?'6':'5'); ?>"> </td>
|
92 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="td_bt" colspan="<?php echo ((sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1')?'6':'5'); ?>"> </td>
|
86 |
</tr>
|
93 |
</tr>
|
87 |
<?php if (isset($this->view['basket']['sum']['preis_rabatt']) && $this->view['basket']['sum']['preis_rabatt'] > 0) { ?>
|
94 |
<?php if (isset($this->view['basket']['sum']['preis_rabatt']) && $this->view['basket']['sum']['preis_rabatt'] > 0) { ?>
|
88 |
<tr class="discountrow">
|
95 |
<tr class="discountrow">
|
Line 186... |
Line 193... |
186 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_mwst"></td>
|
193 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_mwst"></td>
|
187 |
<?php } ?>
|
194 |
<?php } ?>
|
188 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount"> </td>
|
195 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_amount"> </td>
|
189 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_sum"><strong><?php echo wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?></strong></td>
|
196 |
<td style="padding:4px; line-height:100%; vertical-align:middle;" class="col_sum"><strong><?php echo wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?></strong></td>
|
190 |
</tr>
|
197 |
</tr>
|
- |
|
198 |
<?php $this->callMods('mail_order_end', [$this->view['basket']['arCalculation'], true]); ?>
|
191 |
</table>
|
199 |
</table>
|
192 |
</div>
|
200 |
</div>
|
193 |
|
201 |
|
194 |
<br />
|
202 |
<br />
|
195 |
|
203 |
|