Subversion Repositories wpShopGermany4

Rev

Rev 5261 | Rev 7343 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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