From 6b87451f5f6d97ce2a3bfcddbca7f715ed9a1333 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 19 Mar 2007 16:10:47 +0000 Subject: [PATCH] =?utf8?q?Kreditorenrechnungen:=20Beim=20initialen=20Aufru?= =?utf8?q?f=20den=20richtigen=20Steuerschl=C3=BCssel=20ausw=C3=A4hlen,=20w?= =?utf8?q?enn=20f=C3=BCr=20den=20Lieferanten=20das=20zuletzt=20benutzte=20?= =?utf8?q?Konto=20ausgew=C3=A4hlt=20wird.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/IR.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/IR.pm b/SL/IR.pm index 5ea2404ed..5f33d102e 100644 --- a/SL/IR.pm +++ b/SL/IR.pm @@ -1071,7 +1071,7 @@ sub get_vendor { if (!$form->{id} && $form->{type} !~ /_(order|quotation)/) { # setup last accounts used - $query = qq|SELECT c.accno, c.description, c.link, c.category + $query = qq|SELECT c.id, c.accno, c.description, c.link, c.category FROM chart c JOIN acc_trans ac ON (ac.chart_id = c.id) JOIN ap a ON (a.id = ac.trans_id) -- 2.20.1