Subversion Repositories wpShopGermany4

Rev

Rev 7506 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1096 daniel 1
<?php
2
 
3
	/**
1699 david 4
	 * Template für die Mail, die bei einer neuen Bestellung an den Kunde geht
1096 daniel 5
	 */
6
 
3707 daniel 7
	$this->htmlMail = false;
7234 daniel 8
 
9
	$arPflicht = $this->loadPflichtFeldDaten();
10
	$arTitle = explode('|', $arPflicht['anrede_auswahl']);
11
 
1096 daniel 12
	//wpsg_debug($this->view);
13
 
7234 daniel 14
?><?php echo wpsg_translate(__('Hallo #1# #2# #3#,', 'wpsg'), @$arTitle[$this->view['basket']['checkout']['title']], $this->view['basket']['checkout']['vname'], $this->view['basket']['checkout']['name']); ?>
1096 daniel 15
 
3648 daniel 16
<?php echo __('vielen Dank für Ihre Bestellung.', 'wpsg'); ?>
1242 david 17
 
1328 david 18
<?php if ($this->hasMod('wpsg_mod_shippingadress') && $this->callMod('wpsg_mod_shippingadress', 'check_different_shippingadress', array('k_id' => $this->view['basket']['checkout']['k_id'], 'o_id' => $this->view['o_id']))) { ?>
1242 david 19
 
20
<?php echo __('Rechnungsadresse:', 'wpsg'); ?>
21
 
22
<?php echo wpsg_pad_right(__('Firma', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['firma']; ?>
23
<?php echo wpsg_pad_right(__('Name', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['vname']; ?> <?php echo $this->view['basket']['checkout']['name']; ?>
7247 daniel 24
<?php echo wpsg_pad_right(__('Straße', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['strasse'].rtrim(' '.$this->view['basket']['checkout']['nr']); ?>
1242 david 25
<?php echo wpsg_pad_right(__('Land', 'wpsg').':', 35); ?><?php echo $this->db->fetchOne("SELECT `name` FROM `".WPSG_TBL_LAND."` WHERE `id` = '".wpsg_q($this->view['basket']['checkout']['land'])."' "); ?>
26
<?php if (trim($this->view['basket']['checkout']['ustidnr']) != "") { ?>
27
<?php echo wpsg_pad_right(__('USt.IdNr.', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['ustidnr']; ?>
28
<?php } ?>
29
 
30
<?php echo wpsg_pad_right(__('Ort', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['plz']; ?> <?php echo $this->view['basket']['checkout']['ort']; ?>
31
<?php echo wpsg_pad_right(__('Telefon', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['tel']; ?>
32
<?php echo wpsg_pad_right(__('Fax', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['fax']; ?>
33
<?php echo wpsg_pad_right(__('E-Mail Adresse', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['email']; ?>
34
 
35
<?php echo __('Lieferadresse:', 'wpsg'); ?>
36
 
37
<?php echo wpsg_pad_right(__('Firma', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['shipping_firma']; ?>
1618 david 38
<?php echo wpsg_pad_right(__('Name', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['shipping_vname']; ?> <?php echo $this->view['basket']['checkout']['shipping_name']; ?>
7846 daniel 39
<?php echo wpsg_pad_right(__('Straße', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['shipping_strasse'].' '.wpsg_getStr($this->view['basket']['checkout']['shipping_nr']); ?>
1242 david 40
<?php echo wpsg_pad_right(__('Ort', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['shipping_plz']; ?> <?php echo $this->view['basket']['checkout']['shipping_ort']; ?>
41
 
42
<?php echo wpsg_pad_right(__('Land', 'wpsg').':', 35); ?><?php echo $this->db->fetchOne("SELECT `name` FROM `".WPSG_TBL_LAND."` WHERE `id` = '".wpsg_q($this->view['basket']['checkout']['shipping_land'])."' "); ?>
43
 
44
<?php } else { ?>
1096 daniel 45
 
6356 hartmut 46
<?php echo __('Rechnungs-/Lieferadresse:', 'wpsg'); ?>
1096 daniel 47
 
48
<?php echo wpsg_pad_right(__('Firma', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['firma']; ?>
49
<?php echo wpsg_pad_right(__('Name', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['vname']; ?> <?php echo $this->view['basket']['checkout']['name']; ?>
7247 daniel 50
<?php echo wpsg_pad_right(__('Straße', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['strasse'].rtrim(' '.$this->view['basket']['checkout']['nr']); ?>
1096 daniel 51
<?php if (trim($this->view['basket']['checkout']['ustidnr']) != "") { ?>
52
<?php echo wpsg_pad_right(__('USt.IdNr.', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['ustidnr']; ?>
53
<?php } ?>
54
 
55
<?php echo wpsg_pad_right(__('Ort', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['plz']; ?> <?php echo $this->view['basket']['checkout']['ort']; ?>
3440 roger 56
<?php echo wpsg_pad_right(__('Land', 'wpsg').':', 35); ?><?php echo $this->db->fetchOne("SELECT `name` FROM `".WPSG_TBL_LAND."` WHERE `id` = '".wpsg_q($this->view['basket']['checkout']['land'])."' "); ?>
1096 daniel 57
<?php echo wpsg_pad_right(__('Telefon', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['tel']; ?>
58
<?php echo wpsg_pad_right(__('Fax', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['fax']; ?>
59
<?php echo wpsg_pad_right(__('E-Mail Adresse', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['email']; ?>
60
 
1242 david 61
<?php } ?>
7445 daniel 62
 
1096 daniel 63
<?php echo wpsg_pad_right(__('Kundennummer', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['knr']; ?>
64
<?php echo wpsg_pad_right(__('Bestellnummer', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['onr']; ?>
6343 thomas 65
<?php echo wpsg_pad_right(__('Bestelldatum', 'wpsg').':', 35); ?><?php echo date("d.m.Y H:i:s", $this->view['basket']['checkout']['datum']); ?>
7506 daniel 66
<?php echo wpsg_pad_right(__('Rechnungsbetrag', 'wpsg').':', 35); ?><?php echo wpsg_ff($this->view['basket']['arCalculation']['sum']['topay_brutto'], $this->get_option('wpsg_currency')); ?>
1880 david 67
<?php if ($this->get_option('wpsg_kleinunternehmer')) { ?>
3024 daniel 68
 
2637 david 69
<?php echo $this->get_option('wpsg_kleinunternehmer_text'); ?>
3024 daniel 70
 
1880 david 71
<?php } else { ?>
1096 daniel 72
<?php echo wpsg_pad_right(__('Steueranteil', 'wpsg').':', 35); ?><?php echo wpsg_ff($this->view['basket']['sum']['mwst'], $this->get_option('wpsg_currency')); ?>
1880 david 73
<?php } ?>
1096 daniel 74
 
1510 daniel 75
<?php echo wpsg_pad_right(__('Versandart', 'wpsg').':', 35); ?><?php echo $this->arShipping[$this->view['basket']['checkout']['shipping']]['name']; ?>
3648 daniel 76
<?php $this->callMods('mail_shipping'); ?>
1096 daniel 77
<?php echo wpsg_pad_right(__('Zahlungsart', 'wpsg').':', 35); ?><?php echo $this->arPayment[$this->view['basket']['checkout']['payment']]['name']; ?>
3648 daniel 78
<?php $this->callMods('mail_payment'); ?>
1096 daniel 79
 
80
<?php echo __('Bestellung', 'wpsg'); ?>:
3757 daniel 81
<?php echo $this->render(WPSG_PATH_VIEW.'/mailtemplates/order.phtml'); ?>
1096 daniel 82
 
1739 david 83
<?php if ($this->view['basket']['checkout']['comment'] != '') { ?>
3778 daniel 84
 
1739 david 85
<?php echo __('Bestellkommentar', 'wpsg') ?>: <?php echo $this->view['basket']['checkout']['comment'] ?>
3778 daniel 86
 
87
<?php } ?>
1739 david 88
 
1096 daniel 89
<?php echo __('Wir bedanken uns fuer Ihre Bestellung.', 'wpsg'); ?>
90
 
91
<?php echo __('Bitte beachten Sie, dass es sich bei dieser E-Mail um eine Bestellbestaetigung und keine bindende Auftragsbestaetigung handelt. Preisirrtuemer sind leider nicht vollstaendig auszuschliessen.', 'wpsg'); ?>
92
 
93
<?php echo __('Es gelten unsere Allgemeinen Geschaeftsbedingungen (AGB).', 'wpsg'); ?>
94
 
1116 daniel 95
<?php echo $this->getURL(wpsg_ShopController::URL_AGB); ?>
1096 daniel 96
 
1662 daniel 97
<?php $this->CallMods('kundenmail_afteragb', array(&$this->view['basket']['checkout']['o_id'])); ?>
1327 daniel 98
-- <?php echo __("Widerrufsbelehrung", "wpsg"); ?> --
1096 daniel 99
 
1327 daniel 100
<?php if (trim($this->get_option("wpsg_ps_mailwiderruf")) != "") { ?>
101
<?php echo $this->get_option("wpsg_ps_mailwiderruf"); ?>
102
<?php } else { ?>
103
<?php echo __("...hier steht der Text zum Widerrufsrecht...", "wpsg"); ?>
104
<?php } ?>
105
 
106
-- <?php echo __("Ende der Widerrufsbelehrung", "wpsg"); ?> --
1096 daniel 107
 
1327 daniel 108
<?php echo __('Mit freundlichen Grüßen', 'wpsg'); ?>
109
 
3659 daniel 110
<?php echo __($this->get_option('wpsg_shopdata_name'), 'wpsg'); ?> - <?php echo __('Team', 'wpsg'); ?>