summaryrefslogtreecommitdiff
path: root/views/mods/mod_crefopay/order_view_afterpayment.phtml
blob: 65f1fc338fb3d0fe6143f09f3de55bf5bc3809e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php

	/**
	 * Template für die Integration der CrefoPay Zahlungsart in die Bestellverwaltung
	 * @version 4.6.1
	 */

?>

<?php if (wpsg_isSizedInt($this->view['oOrder']->getMeta('wpsg_mod_crefopay_status_time'))) { ?>
	<?php echo wpsg_drawForm_Input('', __('Zahlungsstatus', 'wpsg'),$this->view['oOrder']->getMeta('wpsg_mod_crefopay_status').' ('.wpsg_formatTimestamp($this->view['oOrder']->getMeta('wpsg_mod_crefopay_status_time')).')', array('text' => true)); ?>
	<br />
<?php } ?>
	
<div class="wpsg_mod_crefopay_order_sidebar">
	<a class="button" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&noheader=1&mod=wpsg_mod_crefopay&do=status&edit_id=<?php echo $this->view['data']['id']; ?>"><?php echo __('Zahlungsstatus aktualisieren (GetStatus Call)', 'wpsg'); ?></a>
	<a class="button" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&noheader=1&mod=wpsg_mod_crefopay&do=cancel&edit_id=<?php echo $this->view['data']['id']; ?>"><?php echo __('Zahlung abbrechen (Cancellation Call)', 'wpsg'); ?></a>
	
	<?php if ($this->view['oOrder']->getMeta('wpsg_mod_crefopay_transactionType') == "RETAIL") { ?>
	<a class="button" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&noheader=1&mod=wpsg_mod_crefopay&do=capture&edit_id=<?php echo $this->view['data']['id']; ?>"><?php echo __('Zahlung einziehen (Capture Call)', 'wpsg'); ?></a>
	<?php } ?>
	
	<a class="button" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&noheader=1&mod=wpsg_mod_crefopay&do=refund&edit_id=<?php echo $this->view['data']['id']; ?>"><?php echo __('Zahlung rückerstatten (Refund Call)', 'wpsg'); ?></a>
	<a class="button" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&noheader=1&mod=wpsg_mod_crefopay&do=finish&edit_id=<?php echo $this->view['data']['id']; ?>"><?php echo __('Zahlung abschließen (Finish Transaction Call)', 'wpsg'); ?></a>
	
	<div class="wpsg_clear"></div>
</div>