Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 44da8173

Von Sven Schöling vor mehr als 16 Jahren hinzugefügt

  • ID 44da81735f9d1f9ca2d8c22e230a00b8ef24d17e
  • Vorgänger daec8d7a
  • Nachfolger 0dd879bc

Bugfix: subtotal wurde nicht ans template weitergereicht.

Unterschiede anzeigen:

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