4252 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Template für die Integration der CrefoPay Zahlungsart in die Bestellverwaltung
|
|
|
5 |
*/
|
|
|
6 |
|
|
|
7 |
?>
|
4281 |
daniel |
8 |
|
|
|
9 |
<?php if (wpsg_isSizedInt($this->view['oOrder']->getMeta('wpsg_mod_crefopay_status_time'))) { ?>
|
|
|
10 |
<?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)); ?>
|
|
|
11 |
<br />
|
|
|
12 |
<?php } ?>
|
|
|
13 |
|
4279 |
daniel |
14 |
<div class="wpsg_mod_crefopay_order_sidebar">
|
4294 |
daniel |
15 |
<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>
|
|
|
16 |
<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>
|
4279 |
daniel |
17 |
|
|
|
18 |
<?php if ($this->view['oOrder']->getMeta('wpsg_mod_crefopay_transactionType') == "RETAIL") { ?>
|
4294 |
daniel |
19 |
<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>
|
4279 |
daniel |
20 |
<?php } ?>
|
|
|
21 |
|
4294 |
daniel |
22 |
<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>
|
|
|
23 |
<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>
|
|
|
24 |
|
4279 |
daniel |
25 |
<div class="wpsg_clear"></div>
|
|
|
26 |
</div>
|