Subversion Repositories wpShopGermany4

Rev

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

Rev Author Line No. Line
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
 
7590 daniel 60
					<a href="<?php
61
 
62
						echo wp_nonce_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&action=edit&edit_id='.$p['product_id'], 'wpsg-product-edit-'.wpsg_getInt($p['product_id']));
63
 
64
					?>" title="<?php echo __('Zum Produkt', 'wpsg'); ?>">
7197 daniel 65
						<?php echo wpsg_hspc($this->getProductName($p['product_id'])); ?>
66
					</a>
67
					<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 68
					<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 69
				</td>
7210 daniel 70
			</tr>
71
			<tr class="wpsg_<?php echo (($i % 2 == 0)?'odd':'even'); ?> wpsg_productrow_add">
72
				<td class="wpsg_cell_name"></td>
7197 daniel 73
				<td class="wpsg_cell_preis"><?php echo wpsg_ff($product_price); ?> <?php echo $this->get_option('wpsg_currency'); ?></td>
7243 daniel 74
				<?php if (sizeof($arCalculation['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
75
					<td class="wpsg_cell_mwst"><?php
76
 
77
						echo (($p['brutto'] === $p['netto'])?wpsg_ff(0, '%'):$arTaxShort[$p['tax_key']]);
78
 
79
					?></td>
7197 daniel 80
				<?php } ?>
81
				<td class="wpsg_cell_menge"><?php echo wpsg_hspc($p['amount']); ?></td>
82
				<td class="wpsg_cell_gesamtpreis"><?php echo wpsg_ff($p['amount'] * $product_price); ?> <?php echo $this->get_option('wpsg_currency'); ?></td>
83
			</tr>
84
			<?php $this->callMods('order_view_row', array(&$p, $i)); ?>
85
			<tr><td colspan="<?php echo $this->view['colspan'] + 1; ?>" style="line-height:2px; height:2px; background-color:#999999; padding:0px;"></td></tr>
86
		<?php } ?>
87
 
88
		<?php // Gutscheine  ?>
89
		<?php if (wpsg_isSizedArray($arCalculation['voucher'])) { ?>
90
 
91
			<?php foreach ($arCalculation['voucher'] as $v) { ?>
7179 daniel 92
 
7197 daniel 93
				<tr class="wpsg_row_discount wpsg_row_small">
94
					<td colspan="" class="wpsg_cell_mwst_label">
95
 
96
						<div>
97
							<?php echo __('Gutschein', 'wpsg'); ?>
98
 
99
							<?php if ($this->getBackendTaxView() === WPSG_BRUTTO) { ?>
100
								<?php echo __('(inkl. MwSt.)', 'wpsg'); ?>
101
							<?php } else { ?>
102
								<?php echo __('(zzgl. MwSt.)', 'wpsg'); ?>
103
							<?php } ?>
104
 
7486 daniel 105
							<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Gutschein bearbeiten', 'wpsg'); ?>" onclick="return WPSG_BE_Voucher.editVoucher(<?php echo $v['order_voucher_id']; ?>);"><span class="glyphicon glyphicon-pencil"></span></a>
106
							<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Gutschein löschen', 'wpsg'); ?>" onclick="return WPSG_BE_Voucher.removeVoucher(<?php echo $v['order_voucher_id']; ?>);"><span class="glyphicon glyphicon-trash"></span></a>
7197 daniel 107
						</div>
108
						<div>
109
							Code: <?php echo $v['code']; ?>
110
						</div>
111
 
112
					</td>
113
					<td class="wpsg_cell_preis">
114
 
115
						<?php if (strpos($v['set'], '%') === false) { ?>
7486 daniel 116
							<?php echo wpsg_ff($v[$display], $this->get_option('wpsg_currency')); ?>
7197 daniel 117
						<?php } else { ?>
118
							<?php echo wpsg_ff($v['set'], '%'); ?>
119
						<?php } ?>
120
 
121
					</td>
122
					<?php if (sizeof($arCalculation['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
123
						<td class="wpsg_cell_mwst"><?php echo $arTaxShort[$v['tax_key']]; ?></td>
124
					<?php } ?>
125
					<td>1</td>
7349 daniel 126
					<td class="wpsg_cell_mwst_value wpsg_cell_gesamtpreis"><?php
127
 
7486 daniel 128
						echo wpsg_ff($v[$display]); ?> <?php echo $this->get_option('wpsg_currency');
7349 daniel 129
 
7486 daniel 130
						if (strpos($v['set'], '%') !== false) {
7349 daniel 131
 
7486 daniel 132
							echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($v['set']), '%').')</span>';
7349 daniel 133
 
134
						}
135
 
136
					?></td>
7197 daniel 137
				</tr>
138
 
139
			<?php } ?>
140
			<tr><td colspan="<?php echo $this->view['colspan'] + 1; ?>" style="line-height:2px; height:2px; background-color:#999999; padding:0px;"></td></tr>
141
 
142
		<?php } ?>
143
 
144
		<tr class="wpsg_row_summe">
145
			<td colspan="<?php echo $this->view['colspan']; ?>" class="wpsg_cell_summe_label">
146
 
147
				<?php if ($this->get_option('wpsg_kleinunternehmer') == '1') { ?>
7179 daniel 148
 
7197 daniel 149
					<?php echo wpsg_translate(__('Summe (zzgl. #1#)', 'wpsg'), '<a href="'.$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'" target="_blank">'.__('Versandkosten', 'wpsg').'</a>'); ?>
150
 
151
				<?php } else { ?>
152
 
153
					<?php if ($this->get_option('wpsg_preisangaben') == WPSG_NETTO) { ?>
154
						<?php echo wpsg_translate(__('Summe (zzgl. #1#, zzgl. MwSt.)', 'wpsg'), '<a href="'.$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'" target="_blank">'.__('Versandkosten', 'wpsg').'</a>'); ?>
155
					<?php } else { ?>
156
						<?php echo wpsg_translate(__('Summe (zzgl. #1#, inkl. MwSt.)', 'wpsg'), '<a href="'.$this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'" target="_blank">'.__('Versandkosten', 'wpsg').'</a>'); ?>
157
					<?php } ?>
158
 
159
				<?php } ?>
160
 
161
			</td>
162
			<td class="wpsg_cell_summe_value wpsg_cell_gesamtpreis">
163
 
164
				<?php echo wpsg_ff($arCalculation['sum']['productsum_'.$display]); ?> <?php echo $this->get_option('wpsg_currency'); ?>
165
 
166
			</td>
167
		</tr>
168
 
169
		<?php // Versandkosten  ?>
170
		<?php $price_shipping = $arCalculation['sum']['shipping_'.$display]; ?>
171
		<?php if ($price_shipping != 0 || $this->get_option('wpsg_hideemptyshipping') != '1') { ?>
172
			<tr class="wpsg_row_shipping">
173
				<td class="wpsg_cell_shipping_label" colspan="2">
174
					<?php echo __('Versandkosten', 'wpsg'); ?>
175
					<?php echo __('  ('.$this->arShipping[$arCalculation['shipping'][0]['shipping_key']]['name'].')', 'wpsg'); ?>
176
					<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>
177
				</td>
178
				<?php if (sizeof($arCalculation['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
179
				<td><?php echo $arTaxShort[$arCalculation['shipping'][0]['tax_key']]; ?></td>
180
				<?php } ?>
181
				<td class="wpsg_cell_shipping_value wpsg_cell_gesamtpreis" colspan="2">
182
					<span id="wpsg_cell_shipping_value"><?php echo wpsg_ff($price_shipping); ?> </span>
183
					<?php echo $this->get_option('wpsg_currency'); ?>
7347 daniel 184
 
185
					<?php if (strpos($arCalculation['shipping'][0]['set'], '%') !== false) {
186
 
187
						echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($arCalculation['shipping'][0]['set']), '%').')</span>';
188
 
189
					} ?>
190
 
7197 daniel 191
				</td>
192
			</tr>
193
		<?php } ?>
194
 
195
		<?php // Zahlungskosten  ?>
196
		<?php $price_payment = $arCalculation['sum']['payment_'.$display]; ?>
197
		<?php if ($price_payment != 0 || $this->get_option('wpsg_hideemptypayment') != '1') { ?>
198
			<tr class="wpsg_row_payment">
199
				<td colspan="2" class="wpsg_cell_payment_label">
200
					<?php echo __('Zahlungsart', 'wpsg'); ?>
201
					<?php echo __('  ('.$this->arPayment[$arCalculation['payment'][0]['payment_key']]['name'].')', 'wpsg'); ?>
202
					<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>
203
				</td>
204
				<?php if (sizeof($arCalculation['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
205
					<td><?php echo $arTaxShort[$arCalculation['payment'][0]['tax_key']]; ?></td>
206
				<?php } ?>
207
				<td class="wpsg_cell_payment_value wpsg_cell_gesamtpreis" colspan="2">
208
					<span id="wpsg_cell_payment_value"><?php echo wpsg_ff($price_payment); ?> </span>
209
					<?php echo $this->get_option('wpsg_currency'); ?>
7347 daniel 210
 
211
					<?php if (strpos($arCalculation['payment'][0]['set'], '%') !== false) {
212
 
213
						echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($arCalculation['payment'][0]['set']), '%').')</span>';
214
 
215
					} ?>
216
 
7197 daniel 217
				</td>
218
			</tr>
219
		<?php } ?>
220
 
221
		<?php // Rabatte  ?>
222
		<?php if (wpsg_isSizedArray($arCalculation['discount'])) { ?>
223
			<?php foreach ($arCalculation['discount'] as $d) { ?>
224
				<tr class="wpsg_row_discount wpsg_row_small">
225
					<td colspan="" class="wpsg_cell_mwst_label">
7179 daniel 226
 
7197 daniel 227
						<?php echo __('Rabatt', 'wpsg'); ?>
228
 
7179 daniel 229
						<?php if ($this->getBackendTaxView() === WPSG_BRUTTO) { ?>
230
							<?php echo __('(inkl. MwSt.)', 'wpsg'); ?>
231
						<?php } else { ?>
232
							<?php echo __('(zzgl. MwSt.)', 'wpsg'); ?>
233
						<?php } ?>
234
 
7197 daniel 235
						<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>
236
						<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>
237
 
238
					</td>
239
					<td class="wpsg_cell_preis">
240
 
7198 daniel 241
						<?php if (strpos($d['set'], '%') === false) { ?>
242
							<?php echo wpsg_ff($arCalculation['sum']['discount_'.$display], $this->get_option('wpsg_currency')); ?>
7197 daniel 243
						<?php } else { ?>
7198 daniel 244
							<?php echo wpsg_ff($d['set'], '%'); ?>
7197 daniel 245
						<?php } ?>
246
 
247
					</td>
248
					<?php if (sizeof($arCalculation['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
249
						<td class="wpsg_cell_mwst"><?php echo $arTaxShort[$d['tax_key']]; ?></td>
250
					<?php } ?>
251
					<td></td>
252
					<td class="wpsg_cell_mwst_value wpsg_cell_gesamtpreis">
253
						<?php echo wpsg_ff($arCalculation['sum']['discount_'.$display]); ?> <?php echo $this->get_option('wpsg_currency'); ?>
254
					</td>
255
				</tr>
256
			<?php } ?>
257
		<?php } ?>
258
 
259
		<?php if ($this->getBackendTaxView() === WPSG_NETTO) { ?>
260
 
261
			<tr class="wpsg_row_gesamt">
262
				<td colspan="<?php echo $this->view['colspan']; ?>" class="wpsg_cell_summe_label">
263
					<?php echo __('Summe', 'wpsg'); ?>
264
					<?php echo __('(zzgl. MwSt.)', 'wpsg'); ?>
7179 daniel 265
				</td>
7197 daniel 266
				<td class="wpsg_cell_gesamt_value wpsg_cell_gesamtpreis">
267
					<?php echo wpsg_ff($arCalculation['sum'][$display]); ?> <?php echo $this->get_option('wpsg_currency'); ?>
7179 daniel 268
				</td>
7197 daniel 269
			</tr>
270
			<?php foreach ($arCalculation['tax'] as $tax) { if ($tax['sum'] > 0 && $tax['key'] != '0') { ?>
271
				<tr class="wpsg_row_mwst wpsg_row_small">
272
					<td colspan="<?php echo $this->view['colspan']; ?>" class="wpsg_cell_mwst_label">
273
						<?php echo wpsg_translate(__('zuzüglich MwSt. (#1#)', 'wpsg'), $arTax[$tax['key']]); ?>
274
					</td>
275
					<td class="wpsg_cell_mwst_value wpsg_cell_gesamtpreis">
276
						<?php echo wpsg_ff($tax['sum']); ?> <?php echo $this->get_option('wpsg_currency'); ?>
277
					</td>
278
				</tr>
279
			<?php } } ?>
280
			<tr class="wpsg_row_gesamt">
281
				<td colspan="<?php echo $this->view['colspan']; ?>" class="wpsg_cell_summe_label">
282
					<strong><?php echo __('Gesamtsumme', 'wpsg'); ?></strong>
283
					<?php echo __('(inkl. MwSt.)', 'wpsg'); ?>
7179 daniel 284
				</td>
7197 daniel 285
				<td class="wpsg_cell_gesamt_value wpsg_cell_gesamtpreis">
286
					<strong><?php echo wpsg_ff($arCalculation['sum']['brutto']); ?> <?php echo $this->get_option('wpsg_currency'); ?></strong>
287
				</td>
7179 daniel 288
			</tr>
289
 
7197 daniel 290
		<?php } else { ?>
7173 daniel 291
 
7197 daniel 292
			<tr class="wpsg_row_gesamt">
293
				<td colspan="<?php echo $this->view['colspan']; ?>" class="wpsg_cell_summe_label">
294
					<strong><?php echo __('Gesamtsumme', 'wpsg'); ?></strong>
295
					<?php if ($this->getBackendTaxView() === WPSG_BRUTTO) { ?>
296
						<?php echo __('(inkl. MwSt.)', 'wpsg'); ?>
297
					<?php } else { ?>
298
						<?php echo __('(zzgl. MwSt.)', 'wpsg'); ?>
7179 daniel 299
					<?php } ?>
7197 daniel 300
				</td>
301
				<td class="wpsg_cell_gesamt_value wpsg_cell_gesamtpreis">
302
					<strong><?php echo wpsg_ff($arCalculation['sum']['brutto']); ?> <?php echo $this->get_option('wpsg_currency'); ?></strong>
303
				</td>
304
			</tr>
305
			<?php foreach ($arCalculation['tax'] as $tax) { if ($tax['sum'] > 0 && $tax['key'] != '0') { ?>
306
				<tr class="wpsg_row_mwst wpsg_row_small">
307
					<td colspan="<?php echo $this->view['colspan']; ?>" class="wpsg_cell_mwst_label">
308
						<?php if ($this->get_option('wpsg_kleinunternehmer') == '1') { ?>
309
							<?php echo $this->get_option('wpsg_kleinunternehmer_text'); ?>
310
						<?php } else { ?>
311
							<?php echo wpsg_translate(__('darin enthaltene MwSt. (#1#)', 'wpsg'), $arTax[$tax['key']]); ?>
312
						<?php } ?>
313
					</td>
314
					<td class="wpsg_cell_mwst_value wpsg_cell_gesamtpreis">
315
						<?php echo wpsg_ff($tax['sum']); ?> <?php echo $this->get_option('wpsg_currency'); ?>
316
					</td>
317
				</tr>
318
			<?php } } ?>
319
 
320
		<?php } ?>
7486 daniel 321
 
322
		<?php // Wertgutscheine  ?>
323
		<?php if (wpsg_isSizedArray($arCalculation['coupon'])) { ?>
324
 
325
			<?php foreach ($arCalculation['coupon'] as $c) { ?>
326
 
327
				<tr class="wpsg_row_discount wpsg_row_small">
328
					<td colspan="" class="wpsg_cell_mwst_label">
329
 
330
						<div>
331
							<?php echo __('Wertgutschein', 'wpsg'); ?>
332
 
333
							<?php if ($this->getBackendTaxView() === WPSG_BRUTTO) { ?>
334
								<?php echo __('(inkl. MwSt.)', 'wpsg'); ?>
335
							<?php } else { ?>
336
								<?php echo __('(zzgl. MwSt.)', 'wpsg'); ?>
337
							<?php } ?>
338
 
339
							<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Wertgtschein bearbeiten', 'wpsg'); ?>" onclick="return WPSG_BE_Voucher.editVoucher(<?php echo $c['order_voucher_id']; ?>);"><span class="glyphicon glyphicon-pencil"></span></a>
340
							<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Wertgutschein löschen', 'wpsg'); ?>" onclick="return WPSG_BE_Voucher.removeVoucher(<?php echo $c['order_voucher_id']; ?>);"><span class="glyphicon glyphicon-trash"></span></a>
341
						</div>
342
						<div>
343
							Code: <?php echo $c['code']; ?>
344
						</div>
345
 
346
					</td>
347
					<td class="wpsg_cell_preis">
348
 
349
						<?php if (strpos($c['set'], '%') === false) { ?>
350
							<?php echo wpsg_ff($c[$display], $this->get_option('wpsg_currency')); ?>
351
						<?php } else { ?>
352
							<?php echo wpsg_ff($c['set'], '%'); ?>
353
						<?php } ?>
354
 
355
					</td>
356
					<?php if (sizeof($arCalculation['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
357
						<td class="wpsg_cell_mwst"><?php echo $arTaxShort[$c['tax_key']]; ?></td>
358
					<?php } ?>
359
					<td>1</td>
360
					<td class="wpsg_cell_mwst_value wpsg_cell_gesamtpreis"><?php
361
 
362
							echo wpsg_ff($c[$display]); ?> <?php echo $this->get_option('wpsg_currency');
363
 
364
							if (strpos($c['set'], '%') !== false) {
365
 
366
								echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($c['set']), '%').')</span>';
367
 
368
							}
369
 
370
						?></td>
371
				</tr>
372
 
373
			<?php } ?>
374
 
375
			<tr class="wpsg_row_gesamt">
376
				<td colspan="<?php echo $this->view['colspan']; ?>" class="wpsg_cell_summe_label">
377
					<strong><?php echo __('Zu zahlen', 'wpsg'); ?></strong>
378
					<?php if ($this->getBackendTaxView() === WPSG_BRUTTO) { ?>
379
						<?php echo __('(inkl. MwSt.)', 'wpsg'); ?>
380
					<?php } else { ?>
381
						<?php echo __('(zzgl. MwSt.)', 'wpsg'); ?>
382
					<?php } ?>
383
				</td>
384
				<td class="wpsg_cell_gesamt_value wpsg_cell_gesamtpreis">
385
					<strong><?php echo wpsg_ff($arCalculation['sum']['topay_brutto']); ?> <?php echo $this->get_option('wpsg_currency'); ?></strong>
386
				</td>
387
			</tr>
388
 
389
		<?php } ?>
7197 daniel 390
 
391
	</tbody>
392
</table>
7216 daniel 393
 
7490 daniel 394
<?php // wpsg_debug($arCalculation);  ?>
7210 daniel 395