2595 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
3995 |
thomas |
4 |
* Integration einer Abo-Verlängerung in die Bestellansicht im Backend (Abo Produkt)
|
2595 |
daniel |
5 |
*/
|
7916 |
daniel |
6 |
|
2595 |
daniel |
7 |
?>
|
|
|
8 |
<tr class="wpsg_<?php echo (($this->view['i'] == 0)?'odd':'even'); ?>">
|
|
|
9 |
<td ><?php echo __('Abo Verlängerungen', 'wpsg'); ?>:</td>
|
|
|
10 |
<td align="right" colspan="<?php echo ((sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1')?'4':'3'); ?>">
|
|
|
11 |
<?php if (wpsg_isSizedArray($this->view['wpsg_mod_abo']['rebuy'])) { ?>
|
|
|
12 |
<?php foreach ($this->view['wpsg_mod_abo']['rebuy'] as $k => $v) { ?>
|
2821 |
daniel |
13 |
<?php echo wpsg_translate(__('Mit Bestellung <a href="#1#">#2#</a> um #3# Tage verlängert.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&action=view&edit_id='.$v['o_id'], $v['order']['onr'], $v['tage']); ?><br />
|
2595 |
daniel |
14 |
<?php } ?>
|
|
|
15 |
<?php } else { ?>
|
|
|
16 |
<?php echo __('Noch keine Abo Verlängerungen erworben.', 'wpsg'); ?>
|
|
|
17 |
<?php } ?>
|
|
|
18 |
</td>
|
|
|
19 |
</tr>
|