From 9659649d435c0436ce14048e56b03879ac641429 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stephan=20K=C3=B6hler?= Date: Thu, 6 Jul 2006 10:48:56 +0000 Subject: [PATCH] Nachtrag Bug 366 & R1156 Druck, Datumsselektion fuer Einkaufsseite und Bugfix Auswahl "Alle auswaehlen" vergass Sucheinschraenkung --- SL/BP.pm | 2 +- bin/mozilla/bp.pl | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/SL/BP.pm b/SL/BP.pm index e1e0b82e9..683edd44d 100644 --- a/SL/BP.pm +++ b/SL/BP.pm @@ -180,7 +180,7 @@ sub get_spoolfiles { $query .= " AND lower(a.quonumber) LIKE '$quonumber'"; } - if ($form->{type} =~ /(invoice|sales_order|sales_quotation)$/) { + if ($form->{type} =~ /(invoice|sales_order|sales_quotation|packing_list|puchase_order|request_quotation)$/) { $query .= " AND a.transdate >= '$form->{transdatefrom}'" if $form->{transdatefrom}; $query .= " AND a.transdate <= '$form->{transdateto}'" if $form->{transdateto}; } diff --git a/bin/mozilla/bp.pl b/bin/mozilla/bp.pl index a39cdd1b1..653577f63 100644 --- a/bin/mozilla/bp.pl +++ b/bin/mozilla/bp.pl @@ -555,6 +555,13 @@ sub list_spool { if ($myconfig{printer}) { print qq| +{transdateto}> +{transdatefrom}> +{invnumber}> +{ordnumber}> +{quonumber}> +{customer}> +{vendor}>