7173 |
daniel |
1 |
<?php
|
7179 |
daniel |
2 |
|
7173 |
daniel |
3 |
/**
|
|
|
4 |
* Template für die Produkttabelle im Backend der Bestellverwaltung
|
|
|
5 |
*/
|
7210 |
daniel |
6 |
|
7197 |
daniel |
7 |
$arCalculation = $this->view['oCalculation']->getCalculationArray(true);
|
|
|
8 |
$arTax = $this->view['oCalculation']->getTaxLabelArray();
|
|
|
9 |
$arTaxShort = $this->view['oCalculation']->getTaxLabelArray(true);
|
|
|
10 |
|
7173 |
daniel |
11 |
$this->view['colspan'] = 3;
|
|
|
12 |
if ($this->get_option('wpsg_showMwstAlways') == '1' || sizeof($arCalculation['tax']) > 1) $this->view['colspan'] ++;
|
|
|
13 |
|
|
|
14 |
$this->view['arCalculation'] = $arCalculation;
|
7243 |
daniel |
15 |
|
7197 |
daniel |
16 |
if ($this->getBackendTaxView() === WPSG_NETTO) $display = 'netto';
|
|
|
17 |
else $display = 'brutto';
|
7210 |
daniel |
18 |
|
7173 |
daniel |
19 |
?>
|
|
|
20 |
|
|
|
21 |
<style>
|
|
|
22 |
|
7197 |
daniel |
23 |
.wpsg_row_small td { font-size:0.8em; }
|
7179 |
daniel |
24 |
#wpsg-bs .wpsg_row_small .wpsg-glyphlink-td > span { margin-top:0px; }
|
7210 |
daniel |
25 |
/*.wpsg_productrow_add td { border-top:0px !important; }*/
|
7197 |
daniel |
26 |
|
7173 |
daniel |
27 |
</style>
|
|
|
28 |
|
7210 |
daniel |
29 |
<?php echo wpsg_drawForm_Select('tax_mode', __('Besteuerung'), [
|
|
|
30 |
\wpsg\wpsg_calculation::TAXMODE_SMALLBUSINESS => __('Kleinunternehmerregelung'),
|
|
|
31 |
\wpsg\wpsg_calculation::TAXMODE_B2C => __('Endkundenbesteuerung'),
|
7243 |
daniel |
32 |
\wpsg\wpsg_calculation::TAXMODE_B2B => __('Firmenkundenbesteuerung (USTIdNr)')
|
7220 |
daniel |
33 |
], $this->view['oCalculation']->getTaxMode(), ['onchange' => 'WPSG_BE.updateCalculation();', 'help' => 'tax_mode']); ?>
|
7197 |
daniel |
34 |
|
7210 |
daniel |
35 |
<br />
|
|
|
36 |
|
7173 |
daniel |
37 |
<table class="wpsg_produkte table">
|
7197 |
daniel |
38 |
<thead>
|
|
|
39 |
<tr class="wpsg_kopf">
|
|
|
40 |
<th class="wpsg_cell_name"><?php echo __('Produktname', 'wpsg'); ?></th>
|
|
|
41 |
<th class="wpsg_cell_preis"><?php echo __('Einzelpreis', 'wpsg'); ?></th>
|
|
|
42 |
<?php if (sizeof($arCalculation['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
|
|
43 |
<th class="wpsg_cell_mwst"><?php echo __("MwSt.", "wpsg"); ?></th>
|
|
|
44 |
<?php } ?>
|
|
|
45 |
<th class="wpsg_cell_menge"><?php echo __("Anzahl", "wpsg"); ?></th>
|
|
|
46 |
<th class="wpsg_cell_gesamtpreis"><?php echo __("Gesamtpreis", "wpsg"); ?></th>
|
|
|
47 |
</tr>
|
|
|
48 |
</thead>
|
|
|
49 |
<tbody>
|
7173 |
daniel |
50 |
|
7197 |
daniel |
51 |
<tr><td colspan="<?php echo $this->view['colspan'] + 1; ?>" style="line-height:2px; height:2px; background-color:#999999; padding:0px;"></td></tr>
|
7250 |
daniel |
52 |
<?php $i = 0; foreach ($arCalculation['product'] as $p) { $i ++; $product_price = $p[$display.'_single']; ?>
|
7197 |
daniel |
53 |
<tr class="wpsg_<?php echo (($i % 2 == 0)?'odd':'even'); ?>">
|
7210 |
daniel |
54 |
<td colspan="<?php echo $this->view['colspan'] + 1; ?>">
|
|
|
55 |
|
|
|
56 |
<?php if (wpsg_isTrue($p['eu'])) { ?>
|
|
|
57 |
<img src="<?php echo WPSG_URL; ?>views/gfx/eu.png" alt="<?php echo __('Produkt unterliegt der EU-Leistungsortregel', 'wpsg'); ?>" title="<?php echo __('Produkt unterliegt der EU-Leistungsortregel', 'wpsg'); ?>" height="14" />
|
|
|
58 |
<?php } ?>
|
|
|
59 |
|
7197 |
daniel |
60 |
<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&action=edit&edit_id=<?php echo $p['product_id']; ?>" title="<?php echo __('Zum Produkt', 'wpsg'); ?>">
|
|
|
61 |
<?php echo wpsg_hspc($this->getProductName($p['product_id'])); ?>
|
|
|
62 |
</a>
|
|
|
63 |
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Produkt bearbeiten', 'wpsg'); ?>" onclick="return WPSG_BE_Product.editProduct(<?php echo $p['order_product_id']; ?>);"><span class="glyphicon glyphicon-pencil"></span></a>
|
7210 |
daniel |
64 |
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Produkt löschen', 'wpsg'); ?>" onclick="return WPSG_BE_Product.removeProduct(<?php echo $p['order_product_id']; ?>);"><span class="glyphicon glyphicon-trash"></span></a>
|
7197 |
daniel |
65 |
</td>
|
7210 |
daniel |
66 |
</tr>
|
|
|
67 |
<tr class="wpsg_<?php echo (($i % 2 == 0)?'odd':'even'); ?> wpsg_productrow_add">
|
|
|
68 |
<td class="wpsg_cell_name"></td>
|
7197 |
daniel |
69 |
<td class="wpsg_cell_preis"><?php echo wpsg_ff($product_price); ?> <?php echo $this->get_option('wpsg_currency'); ?></td>
|
7243 |
daniel |
70 |
<?php if (sizeof($arCalculation['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
|
|
71 |
<td class="wpsg_cell_mwst"><?php
|
|
|
72 |
|
|
|
73 |
echo (($p['brutto'] === $p['netto'])?wpsg_ff(0, '%'):$arTaxShort[$p['tax_key']]);
|
|
|
74 |
|
|
|
75 |
?></td>
|
7197 |
daniel |
76 |
<?php } ?>
|
|
|
77 |
<td class="wpsg_cell_menge"><?php echo wpsg_hspc($p['amount']); ?></td>
|
|
|
78 |
<td class="wpsg_cell_gesamtpreis"><?php echo wpsg_ff($p['amount'] * $product_price); ?> <?php echo $this->get_option('wpsg_currency'); ?></td>
|
|
|
79 |
</tr>
|
|
|
80 |
<?php $this->callMods('order_view_row', array(&$p, $i)); ?>
|
|
|
81 |
<tr><td colspan="<?php echo $this->view['colspan'] + 1; ?>" style="line-height:2px; height:2px; background-color:#999999; padding:0px;"></td></tr>
|
|
|
82 |
<?php } ?>
|
|
|
83 |
|
|
|
84 |
<?php // Gutscheine ?>
|
|
|
85 |
<?php if (wpsg_isSizedArray($arCalculation['voucher'])) { ?>
|
|
|
86 |
|
|
|
87 |
<?php foreach ($arCalculation['voucher'] as $v) { ?>
|
7179 |
daniel |
88 |
|
7197 |
daniel |
89 |
<tr class="wpsg_row_discount wpsg_row_small">
|
|
|
90 |
<td colspan="" class="wpsg_cell_mwst_label">
|
|
|
91 |
|
|
|
92 |
<div>
|
|
|
93 |
<?php echo __('Gutschein', 'wpsg'); ?>
|
|
|
94 |
|
|
|
95 |
<?php if ($this->getBackendTaxView() === WPSG_BRUTTO) { ?>
|
|
|
96 |
<?php echo __('(inkl. MwSt.)', 'wpsg'); ?>
|
|
|
97 |
<?php } else { ?>
|
|
|
98 |
<?php echo __('(zzgl. MwSt.)', 'wpsg'); ?>
|
|
|
99 |
<?php } ?>
|
|
|
100 |
|
|
|
101 |
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Gutschein bearbeiten', 'wpsg'); ?>" onclick="return WPSG_BE_Voucher.editVoucher();"><span class="glyphicon glyphicon-pencil"></span></a>
|
|
|
102 |
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Gutschein löschen', 'wpsg'); ?>" onclick="return WPSG_BE_Voucher.removeVoucher();"><span class="glyphicon glyphicon-trash"></span></a>
|
|
|
103 |
</div>
|
|
|
104 |
<div>
|
|
|
105 |
Code: <?php echo $v['code']; ?>
|
|
|
106 |
</div>
|
|
|
107 |
|
|
|
108 |
</td>
|
|
|
109 |
<td class="wpsg_cell_preis">
|
|
|
110 |
|
|
|
111 |
<?php if (strpos($v['set'], '%') === false) { ?>
|
|
|
112 |
<?php echo wpsg_ff($arCalculation['sum']['voucher_'.$display], $this->get_option('wpsg_currency')); ?>
|
|
|
113 |
<?php } else { ?>
|
|
|
114 |
<?php echo wpsg_ff($v['set'], '%'); ?>
|
|
|
115 |
<?php } ?>
|
|
|
116 |
|
|
|
117 |
</td>
|
|
|
118 |
<?php if (sizeof($arCalculation['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
|
|
119 |
<td class="wpsg_cell_mwst"><?php echo $arTaxShort[$v['tax_key']]; ?></td>
|
|
|
120 |
<?php } ?>
|
|
|
121 |
<td>1</td>
|
7349 |
daniel |
122 |
<td class="wpsg_cell_mwst_value wpsg_cell_gesamtpreis"><?php
|
|
|
123 |
|
|
|
124 |
echo wpsg_ff($arCalculation['sum']['voucher_'.$display]); ?> <?php echo $this->get_option('wpsg_currency');
|
|
|
125 |
|
|
|
126 |
if (strpos($arCalculation['voucher'][0]['set'], '%') !== false) {
|
|
|
127 |
|
|
|
128 |
echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($arCalculation['voucher'][0]['set']), '%').')</span>';
|
|
|
129 |
|
|
|
130 |
}
|
|
|
131 |
|
|
|
132 |
?></td>
|
7197 |
daniel |
133 |
</tr>
|
|
|
134 |
|
|
|
135 |
<?php } ?>
|
|
|
136 |
<tr><td colspan="<?php echo $this->view['colspan'] + 1; ?>" style="line-height:2px; height:2px; background-color:#999999; padding:0px;"></td></tr>
|
|
|
137 |
|
|
|
138 |
<?php } ?>
|
|
|
139 |
|
|
|
140 |
<tr class="wpsg_row_summe">
|
|
|
141 |
<td colspan="<?php echo $this->view['colspan']; ?>" class="wpsg_cell_summe_label">
|
|
|
142 |
|
|
|
143 |
<?php if ($this->get_option('wpsg_kleinunternehmer') == '1') { ?>
|
7179 |
daniel |
144 |
|
7197 |
daniel |
145 |
<?php echo wpsg_translate(__('Summe (zzgl. #1#)', 'wpsg'), '<a href="'.$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'" target="_blank">'.__('Versandkosten', 'wpsg').'</a>'); ?>
|
|
|
146 |
|
|
|
147 |
<?php } else { ?>
|
|
|
148 |
|
|
|
149 |
<?php if ($this->get_option('wpsg_preisangaben') == WPSG_NETTO) { ?>
|
|
|
150 |
<?php echo wpsg_translate(__('Summe (zzgl. #1#, zzgl. MwSt.)', 'wpsg'), '<a href="'.$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'" target="_blank">'.__('Versandkosten', 'wpsg').'</a>'); ?>
|
|
|
151 |
<?php } else { ?>
|
|
|
152 |
<?php echo wpsg_translate(__('Summe (zzgl. #1#, inkl. MwSt.)', 'wpsg'), '<a href="'.$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'" target="_blank">'.__('Versandkosten', 'wpsg').'</a>'); ?>
|
|
|
153 |
<?php } ?>
|
|
|
154 |
|
|
|
155 |
<?php } ?>
|
|
|
156 |
|
|
|
157 |
</td>
|
|
|
158 |
<td class="wpsg_cell_summe_value wpsg_cell_gesamtpreis">
|
|
|
159 |
|
|
|
160 |
<?php echo wpsg_ff($arCalculation['sum']['productsum_'.$display]); ?> <?php echo $this->get_option('wpsg_currency'); ?>
|
|
|
161 |
|
|
|
162 |
</td>
|
|
|
163 |
</tr>
|
|
|
164 |
|
|
|
165 |
<?php // Versandkosten ?>
|
|
|
166 |
<?php $price_shipping = $arCalculation['sum']['shipping_'.$display]; ?>
|
|
|
167 |
<?php if ($price_shipping != 0 || $this->get_option('wpsg_hideemptyshipping') != '1') { ?>
|
|
|
168 |
<tr class="wpsg_row_shipping">
|
|
|
169 |
<td class="wpsg_cell_shipping_label" colspan="2">
|
|
|
170 |
<?php echo __('Versandkosten', 'wpsg'); ?>
|
|
|
171 |
<?php echo __(' ('.$this->arShipping[$arCalculation['shipping'][0]['shipping_key']]['name'].')', 'wpsg'); ?>
|
|
|
172 |
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Versandart ändern', 'wpsg'); ?>" onclick="return WPSG_BE_Pay_Ship.changeShippingPayment();"><span class="glyphicon glyphicon-pencil"></span></a>
|
|
|
173 |
</td>
|
|
|
174 |
<?php if (sizeof($arCalculation['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
|
|
175 |
<td><?php echo $arTaxShort[$arCalculation['shipping'][0]['tax_key']]; ?></td>
|
|
|
176 |
<?php } ?>
|
|
|
177 |
<td class="wpsg_cell_shipping_value wpsg_cell_gesamtpreis" colspan="2">
|
|
|
178 |
<span id="wpsg_cell_shipping_value"><?php echo wpsg_ff($price_shipping); ?> </span>
|
|
|
179 |
<?php echo $this->get_option('wpsg_currency'); ?>
|
7347 |
daniel |
180 |
|
|
|
181 |
<?php if (strpos($arCalculation['shipping'][0]['set'], '%') !== false) {
|
|
|
182 |
|
|
|
183 |
echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($arCalculation['shipping'][0]['set']), '%').')</span>';
|
|
|
184 |
|
|
|
185 |
} ?>
|
|
|
186 |
|
7197 |
daniel |
187 |
</td>
|
|
|
188 |
</tr>
|
|
|
189 |
<?php } ?>
|
|
|
190 |
|
|
|
191 |
<?php // Zahlungskosten ?>
|
|
|
192 |
<?php $price_payment = $arCalculation['sum']['payment_'.$display]; ?>
|
|
|
193 |
<?php if ($price_payment != 0 || $this->get_option('wpsg_hideemptypayment') != '1') { ?>
|
|
|
194 |
<tr class="wpsg_row_payment">
|
|
|
195 |
<td colspan="2" class="wpsg_cell_payment_label">
|
|
|
196 |
<?php echo __('Zahlungsart', 'wpsg'); ?>
|
|
|
197 |
<?php echo __(' ('.$this->arPayment[$arCalculation['payment'][0]['payment_key']]['name'].')', 'wpsg'); ?>
|
|
|
198 |
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Zahlungsart ändern', 'wpsg'); ?>" onclick="return WPSG_BE_Pay_Ship.changeShippingPayment();"><span class="glyphicon glyphicon-pencil"></span></a>
|
|
|
199 |
</td>
|
|
|
200 |
<?php if (sizeof($arCalculation['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
|
|
201 |
<td><?php echo $arTaxShort[$arCalculation['payment'][0]['tax_key']]; ?></td>
|
|
|
202 |
<?php } ?>
|
|
|
203 |
<td class="wpsg_cell_payment_value wpsg_cell_gesamtpreis" colspan="2">
|
|
|
204 |
<span id="wpsg_cell_payment_value"><?php echo wpsg_ff($price_payment); ?> </span>
|
|
|
205 |
<?php echo $this->get_option('wpsg_currency'); ?>
|
7347 |
daniel |
206 |
|
|
|
207 |
<?php if (strpos($arCalculation['payment'][0]['set'], '%') !== false) {
|
|
|
208 |
|
|
|
209 |
echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($arCalculation['payment'][0]['set']), '%').')</span>';
|
|
|
210 |
|
|
|
211 |
} ?>
|
|
|
212 |
|
7197 |
daniel |
213 |
</td>
|
|
|
214 |
</tr>
|
|
|
215 |
<?php } ?>
|
|
|
216 |
|
|
|
217 |
<?php // Rabatte ?>
|
|
|
218 |
<?php if (wpsg_isSizedArray($arCalculation['discount'])) { ?>
|
|
|
219 |
<?php foreach ($arCalculation['discount'] as $d) { ?>
|
|
|
220 |
<tr class="wpsg_row_discount wpsg_row_small">
|
|
|
221 |
<td colspan="" class="wpsg_cell_mwst_label">
|
7179 |
daniel |
222 |
|
7197 |
daniel |
223 |
<?php echo __('Rabatt', 'wpsg'); ?>
|
|
|
224 |
|
7179 |
daniel |
225 |
<?php if ($this->getBackendTaxView() === WPSG_BRUTTO) { ?>
|
|
|
226 |
<?php echo __('(inkl. MwSt.)', 'wpsg'); ?>
|
|
|
227 |
<?php } else { ?>
|
|
|
228 |
<?php echo __('(zzgl. MwSt.)', 'wpsg'); ?>
|
|
|
229 |
<?php } ?>
|
|
|
230 |
|
7197 |
daniel |
231 |
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Rabatt bearbeiten', 'wpsg'); ?>" onclick="return WPSG_BE_Discount.editDiscount();"><span class="glyphicon glyphicon-pencil"></span></a>
|
|
|
232 |
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Rabatt löschen', 'wpsg'); ?>" onclick="return WPSG_BE_Discount.removeDiscount();"><span class="glyphicon glyphicon-trash"></span></a>
|
|
|
233 |
|
|
|
234 |
</td>
|
|
|
235 |
<td class="wpsg_cell_preis">
|
|
|
236 |
|
7198 |
daniel |
237 |
<?php if (strpos($d['set'], '%') === false) { ?>
|
|
|
238 |
<?php echo wpsg_ff($arCalculation['sum']['discount_'.$display], $this->get_option('wpsg_currency')); ?>
|
7197 |
daniel |
239 |
<?php } else { ?>
|
7198 |
daniel |
240 |
<?php echo wpsg_ff($d['set'], '%'); ?>
|
7197 |
daniel |
241 |
<?php } ?>
|
|
|
242 |
|
|
|
243 |
</td>
|
|
|
244 |
<?php if (sizeof($arCalculation['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
|
|
245 |
<td class="wpsg_cell_mwst"><?php echo $arTaxShort[$d['tax_key']]; ?></td>
|
|
|
246 |
<?php } ?>
|
|
|
247 |
<td></td>
|
|
|
248 |
<td class="wpsg_cell_mwst_value wpsg_cell_gesamtpreis">
|
|
|
249 |
<?php echo wpsg_ff($arCalculation['sum']['discount_'.$display]); ?> <?php echo $this->get_option('wpsg_currency'); ?>
|
|
|
250 |
</td>
|
|
|
251 |
</tr>
|
|
|
252 |
<?php } ?>
|
|
|
253 |
<?php } ?>
|
|
|
254 |
|
|
|
255 |
<?php if ($this->getBackendTaxView() === WPSG_NETTO) { ?>
|
|
|
256 |
|
|
|
257 |
<tr class="wpsg_row_gesamt">
|
|
|
258 |
<td colspan="<?php echo $this->view['colspan']; ?>" class="wpsg_cell_summe_label">
|
|
|
259 |
<?php echo __('Summe', 'wpsg'); ?>
|
|
|
260 |
<?php echo __('(zzgl. MwSt.)', 'wpsg'); ?>
|
7179 |
daniel |
261 |
</td>
|
7197 |
daniel |
262 |
<td class="wpsg_cell_gesamt_value wpsg_cell_gesamtpreis">
|
|
|
263 |
<?php echo wpsg_ff($arCalculation['sum'][$display]); ?> <?php echo $this->get_option('wpsg_currency'); ?>
|
7179 |
daniel |
264 |
</td>
|
7197 |
daniel |
265 |
</tr>
|
|
|
266 |
<?php foreach ($arCalculation['tax'] as $tax) { if ($tax['sum'] > 0 && $tax['key'] != '0') { ?>
|
|
|
267 |
<tr class="wpsg_row_mwst wpsg_row_small">
|
|
|
268 |
<td colspan="<?php echo $this->view['colspan']; ?>" class="wpsg_cell_mwst_label">
|
|
|
269 |
<?php echo wpsg_translate(__('zuzüglich MwSt. (#1#)', 'wpsg'), $arTax[$tax['key']]); ?>
|
|
|
270 |
</td>
|
|
|
271 |
<td class="wpsg_cell_mwst_value wpsg_cell_gesamtpreis">
|
|
|
272 |
<?php echo wpsg_ff($tax['sum']); ?> <?php echo $this->get_option('wpsg_currency'); ?>
|
|
|
273 |
</td>
|
|
|
274 |
</tr>
|
|
|
275 |
<?php } } ?>
|
|
|
276 |
<tr class="wpsg_row_gesamt">
|
|
|
277 |
<td colspan="<?php echo $this->view['colspan']; ?>" class="wpsg_cell_summe_label">
|
|
|
278 |
<strong><?php echo __('Gesamtsumme', 'wpsg'); ?></strong>
|
|
|
279 |
<?php echo __('(inkl. MwSt.)', 'wpsg'); ?>
|
7179 |
daniel |
280 |
</td>
|
7197 |
daniel |
281 |
<td class="wpsg_cell_gesamt_value wpsg_cell_gesamtpreis">
|
|
|
282 |
<strong><?php echo wpsg_ff($arCalculation['sum']['brutto']); ?> <?php echo $this->get_option('wpsg_currency'); ?></strong>
|
|
|
283 |
</td>
|
7179 |
daniel |
284 |
</tr>
|
|
|
285 |
|
7197 |
daniel |
286 |
<?php } else { ?>
|
7173 |
daniel |
287 |
|
7197 |
daniel |
288 |
<tr class="wpsg_row_gesamt">
|
|
|
289 |
<td colspan="<?php echo $this->view['colspan']; ?>" class="wpsg_cell_summe_label">
|
|
|
290 |
<strong><?php echo __('Gesamtsumme', 'wpsg'); ?></strong>
|
|
|
291 |
<?php if ($this->getBackendTaxView() === WPSG_BRUTTO) { ?>
|
|
|
292 |
<?php echo __('(inkl. MwSt.)', 'wpsg'); ?>
|
|
|
293 |
<?php } else { ?>
|
|
|
294 |
<?php echo __('(zzgl. MwSt.)', 'wpsg'); ?>
|
7179 |
daniel |
295 |
<?php } ?>
|
7197 |
daniel |
296 |
</td>
|
|
|
297 |
<td class="wpsg_cell_gesamt_value wpsg_cell_gesamtpreis">
|
|
|
298 |
<strong><?php echo wpsg_ff($arCalculation['sum']['brutto']); ?> <?php echo $this->get_option('wpsg_currency'); ?></strong>
|
|
|
299 |
</td>
|
|
|
300 |
</tr>
|
|
|
301 |
<?php foreach ($arCalculation['tax'] as $tax) { if ($tax['sum'] > 0 && $tax['key'] != '0') { ?>
|
|
|
302 |
<tr class="wpsg_row_mwst wpsg_row_small">
|
|
|
303 |
<td colspan="<?php echo $this->view['colspan']; ?>" class="wpsg_cell_mwst_label">
|
|
|
304 |
<?php if ($this->get_option('wpsg_kleinunternehmer') == '1') { ?>
|
|
|
305 |
<?php echo $this->get_option('wpsg_kleinunternehmer_text'); ?>
|
|
|
306 |
<?php } else { ?>
|
|
|
307 |
<?php echo wpsg_translate(__('darin enthaltene MwSt. (#1#)', 'wpsg'), $arTax[$tax['key']]); ?>
|
|
|
308 |
<?php } ?>
|
|
|
309 |
</td>
|
|
|
310 |
<td class="wpsg_cell_mwst_value wpsg_cell_gesamtpreis">
|
|
|
311 |
<?php echo wpsg_ff($tax['sum']); ?> <?php echo $this->get_option('wpsg_currency'); ?>
|
|
|
312 |
</td>
|
|
|
313 |
</tr>
|
|
|
314 |
<?php } } ?>
|
|
|
315 |
|
|
|
316 |
<?php } ?>
|
|
|
317 |
|
|
|
318 |
</tbody>
|
|
|
319 |
</table>
|
7216 |
daniel |
320 |
|
|
|
321 |
<?php wpsg_debug($arCalculation); ?>
|
7210 |
daniel |
322 |
|