Line 1... |
Line 1... |
1 |
<?php
|
1 |
<?php
|
2 |
|
2 |
|
3 |
/**
|
3 |
/**
|
4 |
* Template für die Integration der PayPal Zahlungsart in die Bestellverwaltung
|
4 |
* Template für die Integration der PayPal Zahlungsart in die Bestellverwaltung
|
5 |
*/
|
5 |
*/
|
6 |
|
6 |
|
- |
|
7 |
$wpsg_mod_paypalapi_paymentid = $this->view['oOrder']->getMeta('wpsg_mod_paypalapi_paymentid');
|
- |
|
8 |
$wpsg_mod_paypalapi_saleid = $this->view['oOrder']->getMeta('wpsg_mod_paypalapi_saleid')
|
- |
|
9 |
|
7 |
?>
|
10 |
?>
|
8 |
|
11 |
|
9 |
<?php if (wpsg_isSizedString($this->view['oOrder']->getMeta('wpsg_mod_paypalapi_paymentid'))) { ?>
|
12 |
<?php if (wpsg_isSizedString($wpsg_mod_paypalapi_paymentid)) { ?>
|
10 |
|
13 |
|
11 |
<?php echo wpsg_drawForm_Text(
|
14 |
<?php echo wpsg_drawForm_Text(
|
12 |
wpsg_translate(
|
15 |
wpsg_translate(
|
13 |
__('PaymentID [<a href="#1#">Status Aktualisieren</a>]', 'wpsg'),
|
16 |
__('PaymentID [<a href="#1#">Status Aktualisieren</a>]', 'wpsg'),
|
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
|
17 |
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
|
Line 16... |
Line 19... |
16 |
wpsg_translate(__('#1# (#2#)', 'wpsg'), $this->view['oOrder']->getMeta('wpsg_mod_paypalapi_paymentid'), $this->view['oOrder']->getMeta('wpsg_mod_paypalapi_paymentstate'))
|
19 |
wpsg_translate(__('#1# (#2#)', 'wpsg'), $this->view['oOrder']->getMeta('wpsg_mod_paypalapi_paymentid'), $this->view['oOrder']->getMeta('wpsg_mod_paypalapi_paymentstate'))
|
17 |
); ?>
|
20 |
); ?>
|
18 |
|
21 |
|
19 |
<?php } ?>
|
22 |
<?php } ?>
|
20 |
|
23 |
|
21 |
<?php if (wpsg_isSizedString($this->view['oOrder']->getMeta('wpsg_mod_paypalapi_saleid'))) { ?>
|
24 |
<?php if (wpsg_isSizedString($wpsg_mod_paypalapi_saleid)) { ?>
|
22 |
|
25 |
|
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'))); ?>
|
26 |
<?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'))); ?>
|
24 |
|
27 |
|
25 |
<?php if ($this->view['oOrder']->getMeta('wpsg_mod_paypalapi_salestate') != 'refunded') { ?>
|
28 |
<?php if ($this->view['oOrder']->getMeta('wpsg_mod_paypalapi_salestate') != 'refunded') { ?>
|
26 |
<br />
|
29 |
<br />
|