}
}
- $form->{invsubtotal} = $form->format_amount(\%myconfig, $form->{invsubtotal}, 2, 0);
+# $form->{invsubtotal} = $form->format_amount(\%myconfig, $form->{invsubtotal}, 2, 0); # template does this
} else {
foreach $item (split / /, $form->{taxaccounts}) {
<input name="taxincluded" class="checkbox" type="checkbox" value="1"[% IF taxincluded %] checked[% END %]><b>Steuer im Preis inbegriffen</b><br><br>
[%- END %]
<table>
- [% subtotal %]
+[%- IF NOT taxincluded %]
+ <tr>
+ <th align='right'>Zwischensumme</th>
+ <td align='right'>[% LxERP.format_amount(invsubtotal, 2) %]</td>
+ </tr>
+[%- END %]
[% tax %]
<tr>
<th align="right">Summe</th>
<input name="taxincluded" class="checkbox" type="checkbox" value="1"[% IF taxincluded %] checked[% END %]><b><translate>Tax Included</translate></b><br><br>
[%- END %]
<table>
- [% subtotal %]
+[%- IF NOT taxincluded %]
+ <tr>
+ <th align='right'><translate>Subtotal</translate></th>
+ <td align='right'>[% LxERP.format_amount(invsubtotal, 2) %]</td>
+ </tr>
+[%- END %]
[% tax %]
<tr>
<th align="right"><translate>Total</translate></th>