Subversion Repositories wpShopGermany4

Rev

Rev 8068 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8068 Rev 8083
Line -... Line 1...
-
 
1
<?php 
-
 
2
 
-
 
3
	/**
-
 
4
	 * Template für die Mail, die beim Schreiben einer Rechnung optional an den Kunden versendet werden kann (HTML)
-
 
5
	 */
-
 
6
 
-
 
7
	include(WPSG_PATH_VIEW . 'mailtemplates/html/logo.phtml');
-
 
8
 
-
 
9
	/* Wichtig, da die Module sonst kein HTML zurückgeben */
-
 
10
	$this->htmlMail = true;
-
 
11
 
-
 
12
	foreach ($this->view['multi_data']['order_data'] as $order_data) { 
-
 
13
		
-
 
14
		$oOrder = $order_data['oOrder'];
-
 
15
		$str['onr'][] = intval($oOrder->getNr()); 
-
 
16
	
-
 
17
	}
-
 
18
 
-
 
19
	//wpsg_debug($this->view);
-
 
20
 
-
 
21
?><p><?php echo __("Hallo", "wpsg"); ?> <?php echo $this->view['kunde']['vname']; ?> <?php echo $this->view['kunde']['name']; ?>,</p>
-
 
22
		
-
 
23
<p><?php echo __("Sie erhalten hiermit die Sammelrechnung in Höhe von", "wpsg"); ?> <?php echo wpsg_ff($this->view['arCalculationSum']['sum']['topay_brutto'], $this->get_option('wpsg_currency')); ?> <?php echo __("für Ihre Bestellungen mit den Bestellnummern:", "wpsg"); ?> <?php echo implode(',', $str['onr']); ?>.</p>
-
 
24
 
-
 
25
<?php $this->callMods('wpsg_mod_rechnungen_mail'); ?>
-
 
26
 
-
 
27
<p><?php echo __("Mit freundlichen Grüßen", "wpsg"); ?></p>
-
 
28
 
-
 
29
<p><?php echo __($this->get_option('wpsg_shopdata_name'), 'wpsg'); ?> - <?php echo __('Team', 'wpsg'); ?></p>
1
30