From: Peter Schulgin Date: Tue, 7 Jan 2014 09:21:49 +0000 (+0100) Subject: Berichte-Rechnungen: Steuerzone/Zahlungsbedingungen aus Rechnung statt aus Stammdaten X-Git-Tag: release-3.1.0beta1~22^2~38^2~1^2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=312edcf844dc5f76d57c3a3d4e57701d7ba3c747;p=kivitendo-erp.git Berichte-Rechnungen: Steuerzone/Zahlungsbedingungen aus Rechnung statt aus Stammdaten Behebt #2224 --- diff --git a/SL/AR.pm b/SL/AR.pm index 80fc8ef7a..c52a00fd5 100644 --- a/SL/AR.pm +++ b/SL/AR.pm @@ -509,8 +509,8 @@ sub ar_transactions { 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 project pr ON (a.globalproject_id = pr.id)| . - qq|LEFT JOIN tax_zones tz ON (tz.id = c.taxzone_id)| . - qq|LEFT JOIN payment_terms pt ON (pt.id = c.payment_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)| . qq|LEFT JOIN business b ON (b.id = c.business_id)| . qq|LEFT JOIN department d ON (d.id = a.department_id)|;