Subversion Repositories wpShopGermany4

Rev

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