X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FIR.pm;h=8bd2f5f535626f6136ffdf37dcb12fb27df5664a;hb=fa503e5aa3d09153e630967775ea3d52ecafc7e6;hp=0fecc27a88f501d5ab992b49ee48272bc8d58d61;hpb=f4051b8f98064513e21ea95b881f4aa092a99098;p=kivitendo-erp.git diff --git a/SL/IR.pm b/SL/IR.pm index 0fecc27a8..8bd2f5f53 100644 --- a/SL/IR.pm +++ b/SL/IR.pm @@ -807,8 +807,6 @@ SQL exporttype => DATEV_ET_BUCHUNGEN, format => DATEV_FORMAT_KNE, dbh => $dbh, - from => $transdate, - to => $transdate, trans_id => $form->{id}, ); @@ -1135,7 +1133,7 @@ sub get_vendor { v.email, v.cc, v.bcc, v.language_id, v.payment_id, v.delivery_term_id, v.street, v.zipcode, v.city, v.country, v.taxzone_id, cu.name AS curr, v.direct_debit, $duedate + COALESCE(pt.terms_netto, 0) AS duedate, - b.description AS business + b.discount AS tradediscount, b.description AS business FROM vendor v LEFT JOIN business b ON (b.id = v.business_id) LEFT JOIN payment_terms pt ON (v.payment_id = pt.id)