From 05fce3a92d3f4efbf13c110f17296d2aa38a1290 Mon Sep 17 00:00:00 2001 From: "wulf@coulmann.de" Date: Mon, 3 Jan 2011 19:19:21 +0100 Subject: [PATCH] Macht Name der Zahlart in Templates Verfuegbar --- SL/Form.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/Form.pm b/SL/Form.pm index cef5995ab..b2d6645e2 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -1873,12 +1873,12 @@ sub set_payment_options { my $dbh = $self->get_standard_dbh($myconfig); my $query = - qq|SELECT p.terms_netto, p.terms_skonto, p.percent_skonto, p.description_long | . + qq|SELECT p.terms_netto, p.terms_skonto, p.percent_skonto, p.description_long , p.description | . qq|FROM payment_terms p | . qq|WHERE p.id = ?|; ($self->{terms_netto}, $self->{terms_skonto}, $self->{percent_skonto}, - $self->{payment_terms}) = + $self->{payment_terms}, $self->{payment_description}) = selectrow_query($self, $dbh, $query, $self->{payment_id}); if ($transdate eq "") { -- 2.20.1