From bd8dfbe188caad43b1a2d40e3befbceec10fa1ef Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 22 Nov 2006 16:35:50 +0000 Subject: [PATCH] Recommit von r1164 von skoehler: 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..266679575 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}>