Line 5... |
Line 5... |
5 |
*/
|
5 |
*/
|
6 |
|
6 |
|
7 |
?>
|
7 |
?>
|
8 |
|
8 |
|
9 |
<?php if (wpsg_isSizedString($this->view['oOrder']->getMeta('wpsg_mod_paypalapi_paymentid'))) { ?>
|
9 |
<?php if (wpsg_isSizedString($this->view['oOrder']->getMeta('wpsg_mod_paypalapi_paymentid'))) { ?>
|
10 |
|
10 |
|
11 |
<div class="wpsg_form_field ">
|
11 |
<?php echo wpsg_drawForm_Text(
|
12 |
<div class="wpsg_form_left">
|
12 |
wpsg_translate(
|
- |
|
13 |
__('PaymentID [<a href="#1#">Status Aktualisieren</a>]', 'wpsg'),
|
13 |
<label for=""><?php echo __('PaymentID', 'wpsg'); ?>: [<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&noheader=1&mod=wpsg_mod_paypalapi&do=refresh&edit_id=<?php echo $this->view['oOrder']->id; ?>"><?php echo __('Status Aktualisieren', 'wpsg'); ?></a>]</label>
|
14 |
WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&action=ajax&noheader=1&mod=wpsg_mod_paypalapi&do=refresh&edit_id='.$this->view['oOrder']->id
|
14 |
</div>
|
15 |
),
|
15 |
<div class="wpsg_form_right">
|
- |
|
16 |
<p class="" id=""><?php echo wpsg_translate(__('#1# (#2#)', 'wpsg'), $this->view['oOrder']->getMeta('wpsg_mod_paypalapi_paymentid'), $this->view['oOrder']->getMeta('wpsg_mod_paypalapi_paymentstate')); ?></p>
|
16 |
wpsg_translate(__('#1# (#2#)', 'wpsg'), $this->view['oOrder']->getMeta('wpsg_mod_paypalapi_paymentid'), $this->view['oOrder']->getMeta('wpsg_mod_paypalapi_paymentstate'))
|
17 |
</div>
|
- |
|
18 |
<div class="wpsg_clear"></div>
|
- |
|
19 |
</div>
|
17 |
); ?>
|
20 |
|
18 |
|
21 |
<?php } ?>
|
19 |
<?php } ?>
|
22 |
|
20 |
|
23 |
<?php if (wpsg_isSizedString($this->view['oOrder']->getMeta('wpsg_mod_paypalapi_saleid'))) { ?>
|
21 |
<?php if (wpsg_isSizedString($this->view['oOrder']->getMeta('wpsg_mod_paypalapi_saleid'))) { ?>
|
24 |
|
22 |
|
25 |
<div class="wpsg_form_field ">
|
- |
|
26 |
<div class="wpsg_form_left">
|
- |
|
27 |
<label for=""><?php echo __('SaleID', 'wpsg'); ?>:</label>
|
- |
|
28 |
</div>
|
- |
|
29 |
<div class="wpsg_form_right">
|
- |
|
30 |
<p class="" id=""><?php echo wpsg_translate(__('#1# (#2#)', 'wpsg'), $this->view['oOrder']->getMeta('wpsg_mod_paypalapi_saleid'), $this->view['oOrder']->getMeta('wpsg_mod_paypalapi_salestate')); ?></p>
|
23 |
<?php echo wpsg_drawForm_Text(__('SaleID', 'wpsg'), wpsg_translate(__('#1# (#2#)', 'wpsg'), $this->view['oOrder']->getMeta('wpsg_mod_paypalapi_saleid'), $this->view['oOrder']->getMeta('wpsg_mod_paypalapi_salestate'))); ?>
|
31 |
</div>
|
- |
|
32 |
<div class="wpsg_clear"></div>
|
- |
|
33 |
</div>
|
- |
|
34 |
|
24 |
|
35 |
<?php if ($this->view['oOrder']->getMeta('wpsg_mod_paypalapi_salestate') != 'refunded') { ?>
|
25 |
<?php if ($this->view['oOrder']->getMeta('wpsg_mod_paypalapi_salestate') != 'refunded') { ?>
|
36 |
<br />
|
26 |
<br />
|
37 |
<a onclick="return confirm('<?php echo __('Sind Sie sich sicher?', 'wpsg'); ?>');" class="button" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&noheader=1&mod=wpsg_mod_paypalapi&do=refund&edit_id=<?php echo $this->view['data']['id']; ?>"><?php echo __('Zahlung rückerstatten (Refund Call)', 'wpsg'); ?></a>
|
27 |
<a onclick="return confirm('<?php echo __('Sind Sie sich sicher?', 'wpsg'); ?>');" class="button" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&noheader=1&mod=wpsg_mod_paypalapi&do=refund&edit_id=<?php echo $this->view['data']['id']; ?>"><?php echo __('Zahlung rückerstatten', 'wpsg'); ?></a>
|
38 |
<?php } ?>
|
28 |
<?php } ?>
|
39 |
|
29 |
|
40 |
<?php } ?>
|
30 |
<?php } ?>
|