From 431181fc05f4cf41c7609e3b0950171b3cb0c90d Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Fri, 4 May 2007 15:02:39 +0000 Subject: [PATCH] =?utf8?q?Auswahl=20der=20Rechnungen=20f=C3=BCr=20Mahnunge?= =?utf8?q?n:=20Wenn=20das=20n=C3=A4chste=20Mahnlevel=20als=20Filter=20ausg?= =?utf8?q?ew=C3=A4hlt=20wurde,=20dann=20wurden=20diejenigen=20Rechnungen?= =?utf8?q?=20ausgew=C3=A4hlt,=20die=20aktuell=20dieses=20Mahnlevel=20haben?= =?utf8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DN.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/DN.pm b/SL/DN.pm index 2566cbed7..e4e0d0e93 100644 --- a/SL/DN.pm +++ b/SL/DN.pm @@ -324,7 +324,7 @@ sub get_invoices { my %columns = ( "ordnumber" => "a.ordnumber", "invnumber" => "a.invnumber", - "notes" => "a.notes", + "notes" => "a.notes", ); foreach my $key (keys(%columns)) { next unless ($form->{$key}); @@ -333,7 +333,7 @@ sub get_invoices { } if ($form->{dunning_level}) { - $where .= qq| AND a.dunning_config_id = ?|; + $where .= qq| AND nextcfg.id = ?|; push(@values, conv_i($form->{dunning_level})); } -- 2.20.1