X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FIR.pm;h=a64869d455e2942d25bb7f7facb88b1793b9ffc0;hb=a7d906be599d13f0e0477987437540243ce886d3;hp=7e24d4e011564c270c5da7a5f8cd26bb8a067e00;hpb=40c2c37c2db3224e2fa477fd77c34b044a1825d3;p=kivitendo-erp.git 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,