X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=SL%2FBP.pm;h=266679575cdf3f0e6a52f18437a9b3cad314dab5;hb=a43c94fd42214048fc61bcd4404f2800e92c49de;hp=e1e0b82e9a45d5adfdf52fedffeb037259d6448c;hpb=b2d558c6112d8752db47a2d8e1bae4030da9a7bf;p=kivitendo-erp.git 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}; }