Subversion Repositories wpShopGermany4

Rev

Rev 6343 | Rev 7234 | 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;
8
 
1096 daniel 9
	//wpsg_debug($this->view);
10
 
11
?><?php echo wpsg_translate(__('Hallo #1# #2#,', 'wpsg'), $this->view['basket']['checkout']['vname'], $this->view['basket']['checkout']['name']); ?>
12
 
3648 daniel 13
<?php echo __('vielen Dank für Ihre Bestellung.', 'wpsg'); ?>
1242 david 14
 
1328 david 15
<?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 16
 
17
<?php echo __('Rechnungsadresse:', 'wpsg'); ?>
18
 
19
<?php echo wpsg_pad_right(__('Firma', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['firma']; ?>
20
<?php echo wpsg_pad_right(__('Name', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['vname']; ?> <?php echo $this->view['basket']['checkout']['name']; ?>
21
<?php echo wpsg_pad_right(__('Straße', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['strasse']; ?>
22
<?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'])."' "); ?>
23
<?php if (trim($this->view['basket']['checkout']['ustidnr']) != "") { ?>
24
<?php echo wpsg_pad_right(__('USt.IdNr.', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['ustidnr']; ?>
25
<?php } ?>
26
 
27
<?php echo wpsg_pad_right(__('Ort', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['plz']; ?> <?php echo $this->view['basket']['checkout']['ort']; ?>
28
<?php echo wpsg_pad_right(__('Telefon', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['tel']; ?>
29
<?php echo wpsg_pad_right(__('Fax', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['fax']; ?>
30
<?php echo wpsg_pad_right(__('E-Mail Adresse', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['email']; ?>
31
 
32
<?php echo __('Lieferadresse:', 'wpsg'); ?>
33
 
34
<?php echo wpsg_pad_right(__('Firma', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['shipping_firma']; ?>
1618 david 35
<?php echo wpsg_pad_right(__('Name', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['shipping_vname']; ?> <?php echo $this->view['basket']['checkout']['shipping_name']; ?>
1242 david 36
<?php echo wpsg_pad_right(__('Straße', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['shipping_strasse']; ?>
37
<?php echo wpsg_pad_right(__('Ort', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['shipping_plz']; ?> <?php echo $this->view['basket']['checkout']['shipping_ort']; ?>
38
 
39
<?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'])."' "); ?>
40
 
41
<?php } else { ?>
1096 daniel 42
 
6356 hartmut 43
<?php echo __('Rechnungs-/Lieferadresse:', 'wpsg'); ?>
1096 daniel 44
 
45
<?php echo wpsg_pad_right(__('Firma', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['firma']; ?>
46
<?php echo wpsg_pad_right(__('Name', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['vname']; ?> <?php echo $this->view['basket']['checkout']['name']; ?>
47
<?php echo wpsg_pad_right(__('Straße', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['strasse']; ?>
48
<?php if (trim($this->view['basket']['checkout']['ustidnr']) != "") { ?>
49
<?php echo wpsg_pad_right(__('USt.IdNr.', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['ustidnr']; ?>
50
<?php } ?>
51
 
52
<?php echo wpsg_pad_right(__('Ort', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['plz']; ?> <?php echo $this->view['basket']['checkout']['ort']; ?>
3440 roger 53
<?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 54
<?php echo wpsg_pad_right(__('Telefon', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['tel']; ?>
55
<?php echo wpsg_pad_right(__('Fax', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['fax']; ?>
56
<?php echo wpsg_pad_right(__('E-Mail Adresse', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['email']; ?>
57
 
1242 david 58
<?php } ?>
59
 
1096 daniel 60
<?php echo wpsg_pad_right(__('Kundennummer', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['knr']; ?>
61
<?php echo wpsg_pad_right(__('Bestellnummer', 'wpsg').':', 35); ?><?php echo $this->view['basket']['checkout']['onr']; ?>
6343 thomas 62
<?php echo wpsg_pad_right(__('Bestelldatum', 'wpsg').':', 35); ?><?php echo date("d.m.Y H:i:s", $this->view['basket']['checkout']['datum']); ?>
3536 daniel 63
<?php echo wpsg_pad_right(__('Rechnungsbetrag', 'wpsg').':', 35); ?><?php echo wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?>
1880 david 64
<?php if ($this->get_option('wpsg_kleinunternehmer')) { ?>
3024 daniel 65
 
2637 david 66
<?php echo $this->get_option('wpsg_kleinunternehmer_text'); ?>
3024 daniel 67
 
1880 david 68
<?php } else { ?>
1096 daniel 69
<?php echo wpsg_pad_right(__('Steueranteil', 'wpsg').':', 35); ?><?php echo wpsg_ff($this->view['basket']['sum']['mwst'], $this->get_option('wpsg_currency')); ?>
1880 david 70
<?php } ?>
1096 daniel 71
 
1510 daniel 72
<?php echo wpsg_pad_right(__('Versandart', 'wpsg').':', 35); ?><?php echo $this->arShipping[$this->view['basket']['checkout']['shipping']]['name']; ?>
3648 daniel 73
<?php $this->callMods('mail_shipping'); ?>
1096 daniel 74
<?php echo wpsg_pad_right(__('Zahlungsart', 'wpsg').':', 35); ?><?php echo $this->arPayment[$this->view['basket']['checkout']['payment']]['name']; ?>
3648 daniel 75
<?php $this->callMods('mail_payment'); ?>
1096 daniel 76
 
77
<?php echo __('Bestellung', 'wpsg'); ?>:
3757 daniel 78
<?php echo $this->render(WPSG_PATH_VIEW.'/mailtemplates/order.phtml'); ?>
1096 daniel 79
 
1739 david 80
<?php if ($this->view['basket']['checkout']['comment'] != '') { ?>
3778 daniel 81
 
1739 david 82
<?php echo __('Bestellkommentar', 'wpsg') ?>: <?php echo $this->view['basket']['checkout']['comment'] ?>
3778 daniel 83
 
84
<?php } ?>
1739 david 85
 
1096 daniel 86
<?php echo __('Wir bedanken uns fuer Ihre Bestellung.', 'wpsg'); ?>
87
 
88
<?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'); ?>
89
 
90
<?php echo __('Es gelten unsere Allgemeinen Geschaeftsbedingungen (AGB).', 'wpsg'); ?>
91
 
1116 daniel 92
<?php echo $this->getURL(wpsg_ShopController::URL_AGB); ?>
1096 daniel 93
 
1662 daniel 94
<?php $this->CallMods('kundenmail_afteragb', array(&$this->view['basket']['checkout']['o_id'])); ?>
1327 daniel 95
-- <?php echo __("Widerrufsbelehrung", "wpsg"); ?> --
1096 daniel 96
 
1327 daniel 97
<?php if (trim($this->get_option("wpsg_ps_mailwiderruf")) != "") { ?>
98
<?php echo $this->get_option("wpsg_ps_mailwiderruf"); ?>
99
<?php } else { ?>
100
<?php echo __("...hier steht der Text zum Widerrufsrecht...", "wpsg"); ?>
101
<?php } ?>
102
 
103
-- <?php echo __("Ende der Widerrufsbelehrung", "wpsg"); ?> --
1096 daniel 104
 
1327 daniel 105
<?php echo __('Mit freundlichen Grüßen', 'wpsg'); ?>
106
 
3659 daniel 107
<?php echo __($this->get_option('wpsg_shopdata_name'), 'wpsg'); ?> - <?php echo __('Team', 'wpsg'); ?>