Line 10... |
Line 10... |
10 |
|
10 |
|
11 |
$this->view['colspan'] = 3;
|
11 |
$this->view['colspan'] = 3;
|
12 |
if ($this->get_option('wpsg_showMwstAlways') == '1' || sizeof($arCalculation['tax']) > 1) $this->view['colspan'] ++;
|
12 |
if ($this->get_option('wpsg_showMwstAlways') == '1' || sizeof($arCalculation['tax']) > 1) $this->view['colspan'] ++;
|
13 |
|
13 |
|
14 |
$this->view['arCalculation'] = $arCalculation;
|
14 |
$this->view['arCalculation'] = $arCalculation;
|
15 |
|
15 |
|
16 |
if ($this->getBackendTaxView() === WPSG_NETTO) $display = 'netto';
|
16 |
if ($this->getBackendTaxView() === WPSG_NETTO) $display = 'netto';
|
17 |
else $display = 'brutto';
|
17 |
else $display = 'brutto';
|
18 |
|
18 |
|
19 |
?>
|
19 |
?>
|
20 |
|
20 |
|
Line 27... |
Line 27... |
27 |
</style>
|
27 |
</style>
|
28 |
|
28 |
|
29 |
<?php echo wpsg_drawForm_Select('tax_mode', __('Besteuerung'), [
|
29 |
<?php echo wpsg_drawForm_Select('tax_mode', __('Besteuerung'), [
|
30 |
\wpsg\wpsg_calculation::TAXMODE_SMALLBUSINESS => __('Kleinunternehmerregelung'),
|
30 |
\wpsg\wpsg_calculation::TAXMODE_SMALLBUSINESS => __('Kleinunternehmerregelung'),
|
31 |
\wpsg\wpsg_calculation::TAXMODE_B2C => __('Endkundenbesteuerung'),
|
31 |
\wpsg\wpsg_calculation::TAXMODE_B2C => __('Endkundenbesteuerung'),
|
32 |
\wpsg\wpsg_calculation::TAXMODE_B2B => __('Firmenkundenbesteuerung')
|
32 |
\wpsg\wpsg_calculation::TAXMODE_B2B => __('Firmenkundenbesteuerung (USTIdNr)')
|
33 |
], $this->view['oCalculation']->getTaxMode(), ['onchange' => 'WPSG_BE.updateCalculation();', 'help' => 'tax_mode']); ?>
|
33 |
], $this->view['oCalculation']->getTaxMode(), ['onchange' => 'WPSG_BE.updateCalculation();', 'help' => 'tax_mode']); ?>
|
34 |
|
34 |
|
35 |
<br />
|
35 |
<br />
|
36 |
|
36 |
|
37 |
<table class="wpsg_produkte table">
|
37 |
<table class="wpsg_produkte table">
|
Line 65... |
Line 65... |
65 |
</td>
|
65 |
</td>
|
66 |
</tr>
|
66 |
</tr>
|
67 |
<tr class="wpsg_<?php echo (($i % 2 == 0)?'odd':'even'); ?> wpsg_productrow_add">
|
67 |
<tr class="wpsg_<?php echo (($i % 2 == 0)?'odd':'even'); ?> wpsg_productrow_add">
|
68 |
<td class="wpsg_cell_name"></td>
|
68 |
<td class="wpsg_cell_name"></td>
|
69 |
<td class="wpsg_cell_preis"><?php echo wpsg_ff($product_price); ?> <?php echo $this->get_option('wpsg_currency'); ?></td>
|
69 |
<td class="wpsg_cell_preis"><?php echo wpsg_ff($product_price); ?> <?php echo $this->get_option('wpsg_currency'); ?></td>
|
70 |
<?php if (sizeof($arCalculation['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
70 |
<?php if (sizeof($arCalculation['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
- |
|
71 |
<td class="wpsg_cell_mwst"><?php
|
- |
|
72 |
|
71 |
<td class="wpsg_cell_mwst"><?php echo $arTaxShort[$p['tax_key']]; ?></td>
|
73 |
echo (($p['brutto'] === $p['netto'])?wpsg_ff(0, '%'):$arTaxShort[$p['tax_key']]);
|
- |
|
74 |
|
- |
|
75 |
?></td>
|
72 |
<?php } ?>
|
76 |
<?php } ?>
|
73 |
<td class="wpsg_cell_menge"><?php echo wpsg_hspc($p['amount']); ?></td>
|
77 |
<td class="wpsg_cell_menge"><?php echo wpsg_hspc($p['amount']); ?></td>
|
74 |
<td class="wpsg_cell_gesamtpreis"><?php echo wpsg_ff($p['amount'] * $product_price); ?> <?php echo $this->get_option('wpsg_currency'); ?></td>
|
78 |
<td class="wpsg_cell_gesamtpreis"><?php echo wpsg_ff($p['amount'] * $product_price); ?> <?php echo $this->get_option('wpsg_currency'); ?></td>
|
75 |
</tr>
|
79 |
</tr>
|
76 |
<?php $this->callMods('order_view_row', array(&$p, $i)); ?>
|
80 |
<?php $this->callMods('order_view_row', array(&$p, $i)); ?>
|