Rev 4279 | Rev 4294 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php
/**
* Template für die Integration der CrefoPay Zahlungsart in die Bestellverwaltung
*/
?>
<?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 __('Zahlung aktualisieren', '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', '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)', 'wpsg'); ?></a>
<?php } ?>
<div class="wpsg_clear"></div>
</div>