7329 |
daniel |
1 |
|
3648 |
daniel |
2 |
<?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']))) { ?>
|
|
|
3 |
<h2><?php echo __('Rechnungsadresse:', 'wpsg'); ?></h2>
|
|
|
4 |
|
|
|
5 |
<table class="contenttable">
|
|
|
6 |
<tr>
|
3681 |
daniel |
7 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Firma', 'wpsg'); ?>:</td>
|
|
|
8 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['firma']); ?></td>
|
3648 |
daniel |
9 |
</tr>
|
|
|
10 |
<tr>
|
3681 |
daniel |
11 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Name', 'wpsg'); ?>:</td>
|
|
|
12 |
<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 |
13 |
</tr>
|
|
|
14 |
<tr>
|
3681 |
daniel |
15 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Straße', 'wpsg'); ?>:</td>
|
7846 |
daniel |
16 |
<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 |
17 |
</tr>
|
|
|
18 |
<?php if (trim($this->view['basket']['checkout']['ustidnr']) != "") { ?>
|
|
|
19 |
<tr>
|
3681 |
daniel |
20 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('USt.IdNr.', 'wpsg'); ?>:</td>
|
|
|
21 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['ustidnr']); ?></td>
|
3648 |
daniel |
22 |
</tr>
|
|
|
23 |
<?php } ?>
|
|
|
24 |
<tr>
|
3681 |
daniel |
25 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Ort', 'wpsg'); ?>:</td>
|
|
|
26 |
<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 |
27 |
</tr>
|
|
|
28 |
<tr>
|
6779 |
thomas |
29 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Land', 'wpsg'); ?>:</td>
|
|
|
30 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['land']['name']); ?></td>
|
|
|
31 |
</tr>
|
|
|
32 |
<tr>
|
3681 |
daniel |
33 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Telefon', 'wpsg'); ?>:</td>
|
|
|
34 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['tel']); ?></td>
|
3648 |
daniel |
35 |
</tr>
|
|
|
36 |
<tr>
|
3681 |
daniel |
37 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Fax', 'wpsg'); ?>:</td>
|
|
|
38 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['fax']); ?></td>
|
3648 |
daniel |
39 |
</tr>
|
|
|
40 |
<tr>
|
3681 |
daniel |
41 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('E-Mail Adresse', 'wpsg'); ?>:</td>
|
|
|
42 |
<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 |
43 |
</tr>
|
|
|
44 |
</table>
|
|
|
45 |
|
3695 |
daniel |
46 |
<h2><?php echo __('Lieferadresse', 'wpsg'); ?>:</h2>
|
3648 |
daniel |
47 |
|
|
|
48 |
<table class="contenttable">
|
|
|
49 |
<tr>
|
3681 |
daniel |
50 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Firma', 'wpsg'); ?>:</td>
|
|
|
51 |
<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 |
52 |
</tr>
|
|
|
53 |
<tr>
|
3681 |
daniel |
54 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Name', 'wpsg'); ?>:</td>
|
|
|
55 |
<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 |
56 |
</tr>
|
|
|
57 |
<tr>
|
3681 |
daniel |
58 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Straße', 'wpsg'); ?>:</td>
|
7846 |
daniel |
59 |
<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 |
60 |
</tr>
|
|
|
61 |
<tr>
|
3681 |
daniel |
62 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Ort', 'wpsg'); ?>:</td>
|
|
|
63 |
<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 |
64 |
</tr>
|
|
|
65 |
<tr>
|
3681 |
daniel |
66 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Land', 'wpsg'); ?>:</td>
|
|
|
67 |
<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 |
68 |
</tr>
|
|
|
69 |
</table>
|
|
|
70 |
<?php } else { ?>
|
|
|
71 |
|
6356 |
hartmut |
72 |
<h2><?php echo __('Rechnungs-/Lieferadresse', 'wpsg'); ?>:</h2>
|
3648 |
daniel |
73 |
|
|
|
74 |
<table class="contenttable">
|
|
|
75 |
<tr>
|
6356 |
hartmut |
76 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Firma', 'wpsg'); ?>:</td>
|
3681 |
daniel |
77 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['firma']); ?></td>
|
3648 |
daniel |
78 |
</tr>
|
|
|
79 |
<tr>
|
3681 |
daniel |
80 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Name', 'wpsg'); ?>:</td>
|
|
|
81 |
<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 |
82 |
</tr>
|
|
|
83 |
<tr>
|
3681 |
daniel |
84 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Straße', 'wpsg'); ?>:</td>
|
7247 |
daniel |
85 |
<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 |
86 |
</tr>
|
|
|
87 |
<?php if (trim($this->view['basket']['checkout']['ustidnr']) != "") { ?>
|
|
|
88 |
<tr>
|
3681 |
daniel |
89 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('USt.IdNr.', 'wpsg'); ?>:</td>
|
|
|
90 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['ustidnr']); ?></td>
|
3648 |
daniel |
91 |
</tr>
|
|
|
92 |
<?php } ?>
|
|
|
93 |
<tr>
|
3681 |
daniel |
94 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Ort', 'wpsg'); ?>:</td>
|
|
|
95 |
<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 |
96 |
</tr>
|
|
|
97 |
<tr>
|
3681 |
daniel |
98 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Land', 'wpsg'); ?>:</td>
|
|
|
99 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['land']['name']); ?></td>
|
3648 |
daniel |
100 |
</tr>
|
|
|
101 |
<tr>
|
3681 |
daniel |
102 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Telefon', 'wpsg'); ?>:</td>
|
|
|
103 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['tel']); ?></td>
|
3648 |
daniel |
104 |
</tr>
|
|
|
105 |
<tr>
|
3681 |
daniel |
106 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Fax', 'wpsg'); ?>:</td>
|
|
|
107 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo wpsg_hspc($this->view['basket']['checkout']['fax']); ?></td>
|
3648 |
daniel |
108 |
</tr>
|
|
|
109 |
<tr>
|
3681 |
daniel |
110 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('E-Mail Adresse', 'wpsg'); ?>:</td>
|
7679 |
daniel |
111 |
<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 |
112 |
</tr>
|
|
|
113 |
</table>
|
|
|
114 |
|
|
|
115 |
<?php } ?>
|
|
|
116 |
|
3679 |
daniel |
117 |
<h2><?php echo __('Bestelldaten', 'wpsg'); ?>:</h2>
|
|
|
118 |
|
3648 |
daniel |
119 |
<table class="contenttable">
|
|
|
120 |
<tr>
|
3681 |
daniel |
121 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Kundennummer', 'wpsg'); ?>:</td>
|
|
|
122 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo $this->view['basket']['checkout']['knr']; ?></td>
|
3648 |
daniel |
123 |
</tr>
|
|
|
124 |
<tr>
|
3681 |
daniel |
125 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Bestellnummer', 'wpsg'); ?>:</td>
|
|
|
126 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1"><?php echo $this->view['basket']['checkout']['onr']; ?></td>
|
3648 |
daniel |
127 |
</tr>
|
|
|
128 |
<tr>
|
3681 |
daniel |
129 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Bestelldatum', 'wpsg'); ?>:</td>
|
|
|
130 |
<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 |
131 |
</tr>
|
|
|
132 |
<tr>
|
3695 |
daniel |
133 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Rechnungsbetrag', 'wpsg'); ?>:</td>
|
7506 |
daniel |
134 |
<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 |
135 |
</tr>
|
|
|
136 |
<?php if ($this->get_option('wpsg_kleinunternehmer') != '1') { ?>
|
|
|
137 |
<tr>
|
3695 |
daniel |
138 |
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __('Steueranteil', 'wpsg'); ?>:</td>
|
3681 |
daniel |
139 |
<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 |
140 |
</tr>
|
|
|
141 |
<?php } ?>
|
|
|
142 |
</table>
|
|
|
143 |
|
|
|
144 |
<?php if ($this->get_option('wpsg_kleinunternehmer') == '1') { ?>
|
3681 |
daniel |
145 |
<table class="contenttable">
|
|
|
146 |
<tr>
|
|
|
147 |
<td style="padding:8px 2px 8px 2px; line-height:100%; vertical-align:middle;">
|
|
|
148 |
<?php echo $this->get_option('wpsg_kleinunternehmer_text'); ?>
|
|
|
149 |
</td>
|
|
|
150 |
</tr>
|
|
|
151 |
</table>
|
3648 |
daniel |
152 |
<?php } ?>
|
|
|
153 |
|
3679 |
daniel |
154 |
<h2><?php echo __('Versand- und Lieferart', 'wpsg'); ?>:</h2>
|
|
|
155 |
|
3648 |
daniel |
156 |
<table class="contenttable">
|
|
|
157 |
<tr>
|
3681 |
daniel |
158 |
<td style="padding:2px; line-height:100%; vertical-align:top;" class="col0"><?php echo __('Versandart', 'wpsg'); ?>:</td>
|
|
|
159 |
<td style="padding:2px; line-height:100%; vertical-align:top;" class="col1">
|
6955 |
daniel |
160 |
<?php echo wpsg_hspc($this->arShipping[$this->view['basket']['checkout']['shipping']]['name']); ?>
|
3648 |
daniel |
161 |
<?php $this->callMods('mail_shipping'); ?>
|
|
|
162 |
</td>
|
|
|
163 |
</tr>
|
|
|
164 |
<tr>
|
6232 |
hartmut |
165 |
<td style="padding:2px; line-height:100%; vertical-align:top;" class="col0"><?php echo __('Zahlungsart', 'wpsg'); ?>:
|
|
|
166 |
<br />
|
|
|
167 |
|
|
|
168 |
<?php
|
7335 |
daniel |
169 |
|
6232 |
hartmut |
170 |
require_once WPSG_PATH_LIB.'phpgirocode.class.php';
|
7335 |
daniel |
171 |
|
|
|
172 |
if (isset($this->view['mod_prepayment']['subject'])) {
|
|
|
173 |
|
6232 |
hartmut |
174 |
if (in_array('kundenmail.phtml', $this->arTemplateStack)) {
|
7335 |
daniel |
175 |
|
|
|
176 |
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));
|
|
|
177 |
|
6232 |
hartmut |
178 |
}
|
7335 |
daniel |
179 |
|
6232 |
hartmut |
180 |
}
|
7335 |
daniel |
181 |
|
6232 |
hartmut |
182 |
?>
|
|
|
183 |
|
|
|
184 |
|
|
|
185 |
</td>
|
3681 |
daniel |
186 |
<td style="padding:2px; line-height:100%; vertical-align:top;" class="col1">
|
6955 |
daniel |
187 |
<?php echo wpsg_hspc($this->arPayment[$this->view['basket']['checkout']['payment']]['name']); ?><br />
|
3648 |
daniel |
188 |
<?php $this->callMods('mail_payment'); ?>
|
|
|
189 |
</td>
|
|
|
190 |
</tr>
|
|
|
191 |
</table>
|