Subversion Repositories wpShopGermany4

Rev

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

Rev Author Line No. Line
8456 daniel 1
<?php
7329 daniel 2
 
8456 daniel 3
	$oCustomer = wpsg_customer::getInstance(intval($this->view['basket']['checkout']['k_id']));
4
 
5
?>
6
 
3648 daniel 7
<?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']))) { ?>
8
<h2><?php echo __('Rechnungsadresse:', 'wpsg'); ?></h2>
9
 
10
<table class="contenttable">
11
	<tr>
3681 daniel 12
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Firma', 'wpsg'); ?>:</td>
13
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['firma']); ?></td>
3648 daniel 14
	</tr>
15
	<tr>
3681 daniel 16
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Name', 'wpsg'); ?>:</td>
17
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['vname'].' '.$this->view['basket']['checkout']['name']); ?></td>
3648 daniel 18
	</tr>
19
	<tr>
3681 daniel 20
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Straße', 'wpsg'); ?>:</td>
7846 daniel 21
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['strasse'].rtrim(' '._($this->view['basket']['checkout']['nr']??''))); ?></td>
3648 daniel 22
	</tr>
23
	<?php if (trim($this->view['basket']['checkout']['ustidnr']) != "") { ?>
24
	<tr>
3681 daniel 25
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('USt.IdNr.', 'wpsg'); ?>:</td>
26
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['ustidnr']); ?></td>
3648 daniel 27
	</tr>
28
	<?php } ?>
29
	<tr>
3681 daniel 30
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Ort', 'wpsg'); ?>:</td>
31
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['plz'].' '.$this->view['basket']['checkout']['ort']); ?></td>
3648 daniel 32
	</tr>
33
	<tr>
6779 thomas 34
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Land', 'wpsg'); ?>:</td>
35
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['land']['name']); ?></td>
36
	</tr>
37
	<tr>
3681 daniel 38
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Telefon', 'wpsg'); ?>:</td>
39
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['tel']); ?></td>
3648 daniel 40
	</tr>
41
	<tr>
3681 daniel 42
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Fax', 'wpsg'); ?>:</td>
43
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['fax']); ?></td>
3648 daniel 44
	</tr>
45
	<tr>
3681 daniel 46
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('E-Mail Adresse', 'wpsg'); ?>:</td>
47
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><a href="mailto:<?php echo wpsg_hspc($this->view['basket']['checkout']['email']); ?>"><?php echo wpsg_hspc($this->view['basket']['checkout']['email']); ?></a></td>
8456 daniel 48
	</tr>
49
	<?php $email_einvoice = $oCustomer->getEMailEInvoice(); if ($email_einvoice !== null) { ?>
50
	<tr>
51
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('E-Mail (eRechnung)', 'wpsg'); ?>:</td>
52
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><a href="mailto:<?php echo htmlspecialchars($email_einvoice); ?>"><?php echo htmlspecialchars($email_einvoice); ?></a></td>
53
	</tr>
54
	<?php } ?>
3648 daniel 55
</table>
56
 
3695 daniel 57
<h2><?php echo __('Lieferadresse', 'wpsg'); ?>:</h2>
3648 daniel 58
 
59
<table class="contenttable">
60
	<tr>
3681 daniel 61
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Firma', 'wpsg'); ?>:</td>
62
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_firma']); ?></td>
3648 daniel 63
	</tr>
64
	<tr>
3681 daniel 65
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Name', 'wpsg'); ?>:</td>
66
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_vname'].' '.$this->view['basket']['checkout']['shipping_name']); ?></td>
3648 daniel 67
	</tr>
68
	<tr>
3681 daniel 69
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Straße', 'wpsg'); ?>:</td>
7846 daniel 70
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_strasse'].' '.$this->view['basket']['checkout']['shipping_nr']); ?></td>
3648 daniel 71
	</tr>
72
	<tr>
3681 daniel 73
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Ort', 'wpsg'); ?>:</td>
74
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['shipping_plz'].' '.$this->view['basket']['checkout']['shipping_ort']); ?></td>
3648 daniel 75
	</tr>
76
	<tr>
3681 daniel 77
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Land', 'wpsg'); ?>:</td>
78
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['shipping_land']['name']); ?></td>
3648 daniel 79
	</tr>
80
</table>
81
<?php } else { ?>
82
 
6356 hartmut 83
<h2><?php echo __('Rechnungs-/Lieferadresse', 'wpsg'); ?>:</h2>
3648 daniel 84
 
85
<table class="contenttable">
86
	<tr>
6356 hartmut 87
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Firma', 'wpsg'); ?>:</td>
3681 daniel 88
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['firma']); ?></td>
3648 daniel 89
	</tr>
90
	<tr>
3681 daniel 91
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Name', 'wpsg'); ?>:</td>
92
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['vname'].' '.$this->view['basket']['checkout']['name']); ?></td>
3648 daniel 93
	</tr>
94
	<tr>
3681 daniel 95
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Straße', 'wpsg'); ?>:</td>
7247 daniel 96
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['strasse'].rtrim(($this->view['basket']['checkout']['nr']))); ?></td>
3648 daniel 97
	</tr>
98
	<?php if (trim($this->view['basket']['checkout']['ustidnr']) != "") { ?>
99
	<tr>
3681 daniel 100
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('USt.IdNr.', 'wpsg'); ?>:</td>
101
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['ustidnr']); ?></td>
3648 daniel 102
	</tr>
103
	<?php } ?>
104
	<tr>
3681 daniel 105
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Ort', 'wpsg'); ?>:</td>
106
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['plz'].' '.$this->view['basket']['checkout']['ort']); ?></td>
3648 daniel 107
	</tr>
108
	<tr>
3681 daniel 109
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Land', 'wpsg'); ?>:</td>
110
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['land']['name']); ?></td>
3648 daniel 111
	</tr>
112
	<tr>
3681 daniel 113
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Telefon', 'wpsg'); ?>:</td>
114
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['tel']); ?></td>
3648 daniel 115
	</tr>
116
	<tr>
3681 daniel 117
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Fax', 'wpsg'); ?>:</td>
118
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['fax']); ?></td>
3648 daniel 119
	</tr>
120
	<tr>
3681 daniel 121
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('E-Mail Adresse', 'wpsg'); ?>:</td>
7679 daniel 122
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><a href="mailto:<?php echo wpsg_hspc($this->view['basket']['checkout']['email']); ?>"><?php echo wpsg_hspc($this->view['basket']['checkout']['email']); ?></a></td>
3648 daniel 123
	</tr>
8456 daniel 124
	<?php $email_einvoice = $oCustomer->getEMailEInvoice(); if ($email_einvoice !== null) { ?>
125
	<tr>
126
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('E-Mail (eRechnung)', 'wpsg'); ?>:</td>
127
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><a href="mailto:<?php echo htmlspecialchars($email_einvoice); ?>"><?php echo htmlspecialchars($email_einvoice); ?></a></td>
128
	</tr>
129
	<?php } ?>
3648 daniel 130
</table>
131
 
132
<?php } ?>
133
 
3679 daniel 134
<h2><?php echo __('Bestelldaten', 'wpsg'); ?>:</h2>
135
 
3648 daniel 136
<table class="contenttable">
137
	<tr>
3681 daniel 138
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Kundennummer', 'wpsg'); ?>:</td>
139
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo $this->view['basket']['checkout']['knr']; ?></td>
3648 daniel 140
	</tr>
141
	<tr>
3681 daniel 142
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Bestellnummer', 'wpsg'); ?>:</td>
143
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo $this->view['basket']['checkout']['onr']; ?></td>
3648 daniel 144
	</tr>
145
	<tr>
3681 daniel 146
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Bestelldatum', 'wpsg'); ?>:</td>
147
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo date("d.m.Y H:i:s", $this->view['basket']['checkout']['datum']); ?></td>
3648 daniel 148
	</tr>
149
	<tr>
3695 daniel 150
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Rechnungsbetrag', 'wpsg'); ?>:</td>
7506 daniel 151
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><strong><?php echo wpsg_ff($this->view['basket']['arCalculation']['sum']['topay_brutto'], $this->get_option('wpsg_currency')); ?></strong></td>
3648 daniel 152
	</tr>
153
	<?php if ($this->get_option('wpsg_kleinunternehmer') != '1') { ?>
154
	<tr>
3695 daniel 155
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Steueranteil', 'wpsg'); ?>:</td>
3681 daniel 156
		<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_ff($this->view['basket']['sum']['mwst'], $this->get_option('wpsg_currency')); ?></td>
3648 daniel 157
	</tr>
158
	<?php } ?>
159
</table>
160
 
161
<?php if ($this->get_option('wpsg_kleinunternehmer') == '1') { ?>
3681 daniel 162
<table class="contenttable">
163
	<tr>
164
		<td style="padding:8px 2px 8px 2px; line-height:100%; vertical-align:middle;">
165
			<?php echo $this->get_option('wpsg_kleinunternehmer_text'); ?>
166
		</td>
167
	</tr>
168
</table>
3648 daniel 169
<?php } ?>
170
 
3679 daniel 171
<h2><?php echo __('Versand- und Lieferart', 'wpsg'); ?>:</h2>
172
 
3648 daniel 173
<table class="contenttable">
174
	<tr>
3681 daniel 175
		<td style="padding:2px; line-height:100%; vertical-align:top;" class="col0"><?php echo __('Versandart', 'wpsg'); ?>:</td>
176
		<td style="padding:2px; line-height:100%; vertical-align:top;" class="col1">
6955 daniel 177
			<?php echo wpsg_hspc($this->arShipping[$this->view['basket']['checkout']['shipping']]['name']); ?>
3648 daniel 178
			<?php $this->callMods('mail_shipping'); ?>
179
		</td>
180
	</tr>
181
	<tr>
6232 hartmut 182
		<td style="padding:2px; line-height:100%; vertical-align:top;" class="col0"><?php echo __('Zahlungsart', 'wpsg'); ?>:
183
<br />
184
 
185
<?php
7335 daniel 186
 
6232 hartmut 187
	require_once WPSG_PATH_LIB.'phpgirocode.class.php';
7335 daniel 188
 
8336 karl 189
	if (isset($this->view['mod_prepayment']['subject']) && ($this->get_option('wpsg_mod_prepayment_qrcode') == true)) {
7335 daniel 190
 
6232 hartmut 191
		if (in_array('kundenmail.phtml', $this->arTemplateStack)) {
8336 karl 192
 
7335 daniel 193
 
8336 karl 194
			if ($this->get_option('wpsg_mod_prepayment_qrcode_country') == '0') {
7335 daniel 195
 
8336 karl 196
				$qrcodes = array();
197
				$qrcodes = $this->callMod('wpsg_mod_prepayment', 'genQRCode', array($this->view['o_id'], $this->view['wpsg_mod_prepayment']['subject'], $this->view['basket']['sum']['preis_gesamt_brutto'], 3, PhpGirocode::OUTPUT_FILE, $this->get_option('wpsg_mod_prepayment_qrcode_country'), $this->view['basket']));
198
 
199
				foreach ($qrcodes as $qr) echo $qr;
200
 
201
			} else if ($this->get_option('wpsg_mod_prepayment_qrcode_country') == '1') {
202
 
203
				echo $this->callMod('wpsg_mod_prepayment', 'genQRCode', array($this->view['o_id'], $this->view['mod_prepayment']['subject'], $this->view['basket']['sum']['preis_gesamt_brutto'], 3, PhpGirocode::OUTPUT_FILE, $this->get_option('wpsg_mod_prepayment_qrcode_country'), $this->view['basket']));
204
 
205
			} else if ($this->get_option('wpsg_mod_prepayment_qrcode_country') == '2') {
206
 
207
				echo $this->callMod('wpsg_mod_prepayment', 'genQRCode', array($this->view['o_id'], $this->view['mod_prepayment']['subject'], $this->view['basket']['sum']['preis_gesamt_brutto'], 3, PhpGirocode::OUTPUT_FILE, $this->get_option('wpsg_mod_prepayment_qrcode_country'), $this->view['basket']));
208
 
209
			}
210
 
6232 hartmut 211
		}
7335 daniel 212
 
6232 hartmut 213
	}
7335 daniel 214
 
6232 hartmut 215
?>
216
 
217
 
218
		</td>
3681 daniel 219
		<td style="padding:2px; line-height:100%; vertical-align:top;" class="col1">
6955 daniel 220
			<?php echo wpsg_hspc($this->arPayment[$this->view['basket']['checkout']['payment']]['name']); ?><br />
3648 daniel 221
			<?php $this->callMods('mail_payment'); ?>
222
		</td>
223
	</tr>
224
</table>