From: Moritz Bunkus Date: Tue, 2 Jan 2007 15:21:38 +0000 (+0000) Subject: Bei den Zahlungsbedingungen einige weitere Variablen zur Verfügung stellen. Patch... X-Git-Tag: release-2.4.1~1^2~105 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=cb3f5922707cd737c275c00635410becf76eb4a3;p=kivitendo-erp.git Bei den Zahlungsbedingungen einige weitere Variablen zur Verfügung stellen. Patch von Frank Belau "frank () belau ! de". --- diff --git a/SL/Form.pm b/SL/Form.pm index c812b404d..a2e55b0ce 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -1145,6 +1145,13 @@ sub set_payment_options { $self->{payment_terms} =~ s/<%netto_date%>/$self->{netto_date}/g; $self->{payment_terms} =~ s/<%skonto_date%>/$self->{skonto_date}/g; $self->{payment_terms} =~ s/<%skonto_amount%>/$self->{skonto_amount}/g; + $self->{payment_terms} =~ s/<%total%>/$self->{total}/g; + $self->{payment_terms} =~ s/<%invtotal%>/$self->{invtotal}/g; + $self->{payment_terms} =~ s/<%currency%>/$self->{currency}/g; + $self->{payment_terms} =~ s/<%terms_netto%>/$self->{terms_netto}/g; + $self->{payment_terms} =~ s/<%account_number%>/$self->{account_number}/g; + $self->{payment_terms} =~ s/<%bank%>/$self->{bank}/g; + $self->{payment_terms} =~ s/<%bank_code%>/$self->{bank_code}/g; $dbh->disconnect; }