summaryrefslogtreecommitdiff
path: root/views/mods/mod_revocation/mail_row.phtml
blob: 3a5361af5493e9da49c7adaf9a21b4d1dcf9141b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

	/**
	 * Template für die Integration des Widerruflinks in die Kunden- und Adminmail
	 */

	$order_id = intval($this->view['wpsg_mod_revocation']['order_id']);
	$order_nr = $this->view['wpsg_mod_revocation']['order_nr'];
	$product_nr = $this->view['wpsg_mod_revocation']['product_nr'];
	$amount = $this->view['wpsg_mod_revocation']['amount'];
	$order_product_id = intval($this->view['wpsg_mod_revocation']['order_product_id']);

	$revo_url = home_url('/').'?wpsg_revo_order='.urlencode($order_nr).'&wpsg_revo_product='.urlencode($product_nr).'&wpsg_revo_amount='.urlencode($amount);

?><?php echo "\n"; ?>
<?php echo wpsg_pad_left(__('Vertrag widerrufen:', 'wpsg').' ', 15); ?> <?php echo $revo_url; ?>
<?php echo "\n"; ?> <?php echo wpsg_pad_left(__("--------------------", 'wpsg'), 15) ?>
<?php echo "\n"; ?>