Subversion Repositories wpShopGermany4

Rev

Rev 7717 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4719 daniel 1
<?php
2
 
3
	/**
7756 daniel 4
	 * Template für die Integration der Amazon Zahlungsart in die Bestellverwaltung
4719 daniel 5
	 */
7717 daniel 6
 
7756 daniel 7
	/** @var wpsg_order $oOrder */
8
	$oOrder = $this->view['oOrder'];
9
 
10
	$amazon_capture_id = $oOrder->getMeta('amazon_capture_id');
11
	$amazon_refund_id = $oOrder->getMeta('amazon_refund_id');
12
 
4719 daniel 13
?>
14
 
7756 daniel 15
<?php if (wpsg_isSizedString($amazon_refund_id)) { ?>
6683 daniel 16
 
7756 daniel 17
	<?php echo wpsg_drawForm_Input(false, __('Refund ID', 'wpsg'), $amazon_refund_id, ['readonly' => true]); ?>
6683 daniel 18
 
7756 daniel 19
<?php } else if (wpsg_isSizedString($amazon_capture_id)) { ?>
4719 daniel 20
 
7756 daniel 21
	<?php echo wpsg_drawForm_Input(false, __('Capture ID', 'wpsg'), $amazon_capture_id, ['readonly' => true]); ?>
4741 daniel 22
 
7756 daniel 23
<?php }
24