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']);
|
8456 |
daniel |
11 |
|
|
|
12 |
$oCustomer = wpsg_customer::getInstance(intval($this->view['basket']['checkout']['k_id']));
|
|
|
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']; ?>
|
8456 |
daniel |
33 |
<?php echo wpsg_pad_right(__('E-Mail Adresse', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['email']; ?>
|
|
|
34 |
<?php $email_einvoice = $oCustomer->getEMailEInvoice(); if ($email_einvoice !== null) { ?>
|
|
|
35 |
<?php echo wpsg_pad_right(__('E-Mail (eRechnung)', 'wpsg').':', 35); ?><?php echo $email_einvoice; ?>
|
|
|
36 |
<?php } ?>
|
1242 |
david |
37 |
<?php echo __('Lieferadresse:', 'wpsg'); ?>
|
|
|
38 |
|
|
|
39 |
<?php echo wpsg_pad_right(__('Firma', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['shipping_firma']; ?>
|
1618 |
david |
40 |
<?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 |
41 |
<?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 |
42 |
<?php echo wpsg_pad_right(__('Ort', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['shipping_plz']; ?> <?php echo $this->view['basket']['checkout']['shipping_ort']; ?>
|
|
|
43 |
|
|
|
44 |
<?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'])."' "); ?>
|
|
|
45 |
|
|
|
46 |
<?php } else { ?>
|
1096 |
daniel |
47 |
|
6356 |
hartmut |
48 |
<?php echo __('Rechnungs-/Lieferadresse:', 'wpsg'); ?>
|
1096 |
daniel |
49 |
|
|
|
50 |
<?php echo wpsg_pad_right(__('Firma', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['firma']; ?>
|
|
|
51 |
<?php echo wpsg_pad_right(__('Name', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['vname']; ?> <?php echo $this->view['basket']['checkout']['name']; ?>
|
7247 |
daniel |
52 |
<?php echo wpsg_pad_right(__('Straße', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['strasse'].rtrim(' '.$this->view['basket']['checkout']['nr']); ?>
|
1096 |
daniel |
53 |
<?php if (trim($this->view['basket']['checkout']['ustidnr']) != "") { ?>
|
|
|
54 |
<?php echo wpsg_pad_right(__('USt.IdNr.', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['ustidnr']; ?>
|
|
|
55 |
<?php } ?>
|
|
|
56 |
|
|
|
57 |
<?php echo wpsg_pad_right(__('Ort', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['plz']; ?> <?php echo $this->view['basket']['checkout']['ort']; ?>
|
3440 |
roger |
58 |
<?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 |
59 |
<?php echo wpsg_pad_right(__('Telefon', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['tel']; ?>
|
|
|
60 |
<?php echo wpsg_pad_right(__('Fax', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['fax']; ?>
|
8456 |
daniel |
61 |
<?php echo wpsg_pad_right(__('E-Mail Adresse', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['email']; ?>
|
|
|
62 |
<?php $email_einvoice = $oCustomer->getEMailEInvoice(); if ($email_einvoice !== null) { ?>
|
|
|
63 |
<?php echo wpsg_pad_right(__('E-Mail (eRechnung)', 'wpsg').':', 35); ?><?php echo $email_einvoice; ?>
|
|
|
64 |
<?php } ?>
|
1096 |
daniel |
65 |
|
1242 |
david |
66 |
<?php } ?>
|
7445 |
daniel |
67 |
|
1096 |
daniel |
68 |
<?php echo wpsg_pad_right(__('Kundennummer', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['knr']; ?>
|
|
|
69 |
<?php echo wpsg_pad_right(__('Bestellnummer', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['onr']; ?>
|
6343 |
thomas |
70 |
<?php echo wpsg_pad_right(__('Bestelldatum', 'wpsg').':', 35); ?><?php echo date("d.m.Y H:i:s", $this->view['basket']['checkout']['datum']); ?>
|
7506 |
daniel |
71 |
<?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 |
72 |
<?php if ($this->get_option('wpsg_kleinunternehmer')) { ?>
|
3024 |
daniel |
73 |
|
2637 |
david |
74 |
<?php echo $this->get_option('wpsg_kleinunternehmer_text'); ?>
|
3024 |
daniel |
75 |
|
1880 |
david |
76 |
<?php } else { ?>
|
1096 |
daniel |
77 |
<?php echo wpsg_pad_right(__('Steueranteil', 'wpsg').':', 35); ?><?php echo wpsg_ff($this->view['basket']['sum']['mwst'], $this->get_option('wpsg_currency')); ?>
|
1880 |
david |
78 |
<?php } ?>
|
1096 |
daniel |
79 |
|
1510 |
daniel |
80 |
<?php echo wpsg_pad_right(__('Versandart', 'wpsg').':', 35); ?><?php echo $this->arShipping[$this->view['basket']['checkout']['shipping']]['name']; ?>
|
3648 |
daniel |
81 |
<?php $this->callMods('mail_shipping'); ?>
|
1096 |
daniel |
82 |
<?php echo wpsg_pad_right(__('Zahlungsart', 'wpsg').':', 35); ?><?php echo $this->arPayment[$this->view['basket']['checkout']['payment']]['name']; ?>
|
3648 |
daniel |
83 |
<?php $this->callMods('mail_payment'); ?>
|
1096 |
daniel |
84 |
|
|
|
85 |
<?php echo __('Bestellung', 'wpsg'); ?>:
|
3757 |
daniel |
86 |
<?php echo $this->render(WPSG_PATH_VIEW.'/mailtemplates/order.phtml'); ?>
|
1096 |
daniel |
87 |
|
1739 |
david |
88 |
<?php if ($this->view['basket']['checkout']['comment'] != '') { ?>
|
3778 |
daniel |
89 |
|
1739 |
david |
90 |
<?php echo __('Bestellkommentar', 'wpsg') ?>: <?php echo $this->view['basket']['checkout']['comment'] ?>
|
3778 |
daniel |
91 |
|
|
|
92 |
<?php } ?>
|
1739 |
david |
93 |
|
1096 |
daniel |
94 |
<?php echo __('Wir bedanken uns fuer Ihre Bestellung.', 'wpsg'); ?>
|
|
|
95 |
|
|
|
96 |
<?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'); ?>
|
|
|
97 |
|
|
|
98 |
<?php echo __('Es gelten unsere Allgemeinen Geschaeftsbedingungen (AGB).', 'wpsg'); ?>
|
|
|
99 |
|
1116 |
daniel |
100 |
<?php echo $this->getURL(wpsg_ShopController::URL_AGB); ?>
|
1096 |
daniel |
101 |
|
1662 |
daniel |
102 |
<?php $this->CallMods('kundenmail_afteragb', array(&$this->view['basket']['checkout']['o_id'])); ?>
|
1327 |
daniel |
103 |
-- <?php echo __("Widerrufsbelehrung", "wpsg"); ?> --
|
1096 |
daniel |
104 |
|
1327 |
daniel |
105 |
<?php if (trim($this->get_option("wpsg_ps_mailwiderruf")) != "") { ?>
|
|
|
106 |
<?php echo $this->get_option("wpsg_ps_mailwiderruf"); ?>
|
|
|
107 |
<?php } else { ?>
|
|
|
108 |
<?php echo __("...hier steht der Text zum Widerrufsrecht...", "wpsg"); ?>
|
|
|
109 |
<?php } ?>
|
|
|
110 |
|
|
|
111 |
-- <?php echo __("Ende der Widerrufsbelehrung", "wpsg"); ?> --
|
1096 |
daniel |
112 |
|
1327 |
daniel |
113 |
<?php echo __('Mit freundlichen Grüßen', 'wpsg'); ?>
|
|
|
114 |
|
3659 |
daniel |
115 |
<?php echo __($this->get_option('wpsg_shopdata_name'), 'wpsg'); ?> - <?php echo __('Team', 'wpsg'); ?>
|