From df193cf0b25d68be3034b623b3de79d16103311d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Thu, 5 Feb 2015 11:39:39 +0100 Subject: [PATCH] =?utf8?q?Steuerzone/Zahlungsbedingungen=20im=20Bericht=20?= =?utf8?q?Einkaufsrechnungen=20aus=20Rechnungen=20=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit … und nicht aus Stammdaten holen. Behebt #36 (redmine). --- SL/AP.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/AP.pm b/SL/AP.pm index 35a8e19b0..2bce62962 100644 --- a/SL/AP.pm +++ b/SL/AP.pm @@ -436,8 +436,8 @@ sub ap_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 project pr ON (a.globalproject_id = pr.id) | . - qq|LEFT JOIN tax_zones tz ON (tz.id = v.taxzone_id)| . - qq|LEFT JOIN payment_terms pt ON (pt.id = v.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)|; my $where = ''; -- 2.20.1