Line 78... |
Line 78... |
78 |
<th class="wpsg_order col_value" data-order="value"><?php echo __("Wert", 'wpsg'); ?></th>
|
78 |
<th class="wpsg_order col_value" data-order="value"><?php echo __("Wert", 'wpsg'); ?></th>
|
79 |
<th class="wpsg_order col_status" data-order="status"><?php echo __("Status", 'wpsg'); ?></th>
|
79 |
<th class="wpsg_order col_status" data-order="status"><?php echo __("Status", 'wpsg'); ?></th>
|
80 |
</tr>
|
80 |
</tr>
|
81 |
</thead>
|
81 |
</thead>
|
82 |
<tbody>
|
82 |
<tbody>
|
- |
|
83 |
<?php /** @var wpsg_voucher $oVoucher */
|
83 |
<?php foreach ($this->view['arData'] as $oVoucher) { ?>
|
84 |
foreach ($this->view['arData'] as $oVoucher) { ?>
|
84 |
<tr>
|
85 |
<tr>
|
85 |
<td class="col_checkbox">
|
86 |
<td class="col_checkbox">
|
86 |
|
87 |
|
87 |
<input class="col_set_checkbox" value="<?php echo $oVoucher->id; ?>" name="wpsg_multido[]" type="checkbox" />
|
88 |
<input class="col_set_checkbox" value="<?php echo $oVoucher->id; ?>" name="wpsg_multido[]" type="checkbox" />
|
88 |
|
89 |
|
Line 105... |
Line 106... |
105 |
</td>
|
106 |
</td>
|
106 |
<td class="col_start"><?php echo wpsg_formatTimestamp($oVoucher->start_date, true); ?></td>
|
107 |
<td class="col_start"><?php echo wpsg_formatTimestamp($oVoucher->start_date, true); ?></td>
|
107 |
<td class="col_end"><?php echo wpsg_formatTimestamp($oVoucher->end_date, true); ?></td>
|
108 |
<td class="col_end"><?php echo wpsg_formatTimestamp($oVoucher->end_date, true); ?></td>
|
108 |
<td class="col_value"><span><?php
|
109 |
<td class="col_value"><span><?php
|
109 |
|
110 |
|
110 |
if ($oVoucher->calc_typ == 'w') echo wpsg_ff($oVoucher->value, $this->get_option('wpsg_currency'));
|
111 |
if ($oVoucher->calc_typ == 'w') echo wpsg_ff($oVoucher->getFreeAmount(), $this->get_option('wpsg_currency'));
|
111 |
else if ($oVoucher->calc_typ == 'p') echo wpsg_ff($oVoucher->value, '%');
|
112 |
else if ($oVoucher->calc_typ == 'p') echo wpsg_ff($oVoucher->value, '%');
|
- |
|
113 |
|
- |
|
114 |
if ($oVoucher->calc_typ == 'w' && $oVoucher->getUsedAmount() > 0) echo ' <span title="'.__('Original Betrag', 'wpsg').'">('.wpsg_ff($oVoucher->value, $this->get_option('wpsg_currency')).')</span>';
|
112 |
|
115 |
|
113 |
?></span><?php
|
116 |
?></span><?php
|
114 |
|
117 |
|
115 |
if ($oVoucher->isCoupon()) {
|
118 |
if ($oVoucher->isCoupon()) {
|
116 |
|
119 |
|