X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FIR.pm;h=72a36ae5710732a6f660e2cb13f029f119da68f9;hb=b2c8e6aad4973545057c6529445c0f5f6f2a1cbe;hp=936cc98fedea0c3eaed86ceca0fb8aeaf292bdd6;hpb=247a26dc4b5b0d73c03fc6f05fb17daace0835d9;p=kivitendo-erp.git diff --git a/SL/IR.pm b/SL/IR.pm index 936cc98fe..72a36ae57 100644 --- a/SL/IR.pm +++ b/SL/IR.pm @@ -866,7 +866,7 @@ sub get_vendor { } my $query = qq|SELECT - v.name AS vendor, v.creditlimit, v.terms, v.notes AS intnotes, + v.id AS vendor_id, v.name AS vendor, 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,