X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fbp.pl;h=78a343852e44cc7888ff56fcc8db5b47e95cfba6;hb=ffd06003d74a7844892fca93905556a1903a31d8;hp=653577f6352b0bb9e17b6c57318cd0d3c17c086b;hpb=9659649d435c0436ce14048e56b03879ac641429;p=kivitendo-erp.git diff --git a/bin/mozilla/bp.pl b/bin/mozilla/bp.pl index 653577f63..78a343852 100644 --- a/bin/mozilla/bp.pl +++ b/bin/mozilla/bp.pl @@ -24,7 +24,8 @@ # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +# MA 02110-1335, USA. #====================================================================== # # Batch printing @@ -32,568 +33,169 @@ #====================================================================== use SL::BP; +use Data::Dumper; +use List::Util qw(first); 1; -# end of main - -sub search { - $lxdebug->enter_sub(); - - # $locale->text('Sales Invoices') - # $locale->text('Packing Lists') - # $locale->text('Sales Orders') - # $locale->text('Purchase Orders') - # $locale->text('Quotations') - # $locale->text('RFQs') - # $locale->text('Checks') - # $locale->text('Receipts') - - # setup customer/vendor selection - BP->get_vc(\%myconfig, \%$form); +require "bin/mozilla/common.pl"; - if (@{ $form->{"all_$form->{vc}"} }) { - map { $name .= "