Subversion Repositories wpShopGermany4

Rev

Rev 5257 | Rev 6683 | 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'))) { ?>
10
 
4833 daniel 11
	<div class="wpsg_form_field ">
12
		<div class="wpsg_form_left">
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
		</div>
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>
17
		</div>
18
		<div class="wpsg_clear"></div>
19
	</div>
20
 
4741 daniel 21
<?php } ?>
4719 daniel 22
 
4741 daniel 23
<?php if (wpsg_isSizedString($this->view['oOrder']->getMeta('wpsg_mod_paypalapi_saleid'))) { ?>
24
 
4995 daniel 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>
31
		</div>
32
		<div class="wpsg_clear"></div>
33
	</div>
5257 daniel 34
 
35
	<?php if ($this->view['oOrder']->getMeta('wpsg_mod_paypalapi_salestate') != 'refunded') { ?>
36
	<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>
38
	<?php } ?>
4995 daniel 39
 
4741 daniel 40
<?php } ?>