Revision 44da8173
Von Sven Schöling vor mehr als 16 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
}
|
||
}
|
||
|
||
$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}) {
|
templates/webpages/oe/form_footer_de.html | ||
---|---|---|
<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>
|
templates/webpages/oe/form_footer_master.html | ||
---|---|---|
<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>
|
Auch abrufbar als: Unified diff
Bugfix: subtotal wurde nicht ans template weitergereicht.