X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FAR.pm;h=2841743965fc432c39f08ec9a3b558ca9fa775ca;hb=ebac0f0e96bdd9f2e967c563db1c9a8917d3d146;hp=2a80dc0a775aca4c82f1ffd170851f79272ee12a;hpb=e24e657067548d45e6a23ff56ee4c3ee69b5687b;p=kivitendo-erp.git diff --git a/SL/AR.pm b/SL/AR.pm index 2a80dc0a7..284174396 100644 --- a/SL/AR.pm +++ b/SL/AR.pm @@ -461,12 +461,13 @@ sub ar_transactions { qq| a.invoice, a.datepaid, a.notes, a.shipvia, | . qq| a.shippingpoint, a.storno, a.storno_id, a.globalproject_id, | . qq| a.marge_total, a.marge_percent, | . - qq| a.transaction_description, | . + qq| a.transaction_description, a.direct_debit, | . qq| pr.projectnumber AS globalprojectnumber, | . qq| c.name, c.customernumber, c.country, c.ustid, b.description as customertype, | . qq| c.id as customer_id, | . qq| e.name AS employee, | . qq| e2.name AS salesman, | . + qq| dc.dunning_description, | . qq| tz.description AS taxzone, | . qq| pt.description AS payment_terms, | . qq{ ( SELECT ch.accno || ' -- ' || ch.description @@ -481,6 +482,7 @@ sub ar_transactions { qq|LEFT JOIN contacts cp ON (a.cp_id = cp.cp_id) | . qq|LEFT JOIN employee e ON (a.employee_id = e.id) | . qq|LEFT JOIN employee e2 ON (a.salesman_id = e2.id) | . + qq|LEFT JOIN dunning_config dc ON (a.dunning_config_id = dc.id) | . qq|LEFT JOIN project pr ON (a.globalproject_id = pr.id)| . qq|LEFT JOIN tax_zones tz ON (tz.id = a.taxzone_id)| . qq|LEFT JOIN payment_terms pt ON (pt.id = a.payment_id)| .