X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1ff9da9f4d0ec4eefdb3c8bb07ca06f862556181..bd86b2e114e0820b709b9c06bf6947c3909f9871:/SL/BP.pm 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}; }