X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/40c2c37c2db3224e2fa477fd77c34b044a1825d3..2dbb0236bbcc475e01701bd2794eac9f0cbc5ed5:/SL/IR.pm diff --git a/SL/IR.pm b/SL/IR.pm index 7e24d4e01..a64869d45 100644 --- a/SL/IR.pm +++ b/SL/IR.pm @@ -917,7 +917,7 @@ sub get_vendor { my $query = qq|SELECT v.id AS vendor_id, v.name AS vendor, v.discount as vendor_discount, - v.creditlimit, v.terms, v.notes AS intnotes, + v.creditlimit, v.terms, v.notes AS intnotes, v.email, v.cc, v.bcc, v.language_id, v.payment_id, v.street, v.zipcode, v.city, v.country, v.taxzone_id, $duedate + COALESCE(pt.terms_netto, 0) AS duedate,