X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fbp.pl;h=2269ab4f1877e65faa47ca2ac1d38ec27e5c01aa;hb=98662ad2b031a81c88ce6da0babf6f9d0b37059a;hp=93789019ed5fb6c6146ed1dc51889a0f0c55b9e7;hpb=0d9ac875bf41d614388e6cf3864806de4c04c0e9;p=kivitendo-erp.git diff --git a/bin/mozilla/bp.pl b/bin/mozilla/bp.pl index 93789019e..2269ab4f1 100644 --- a/bin/mozilla/bp.pl +++ b/bin/mozilla/bp.pl @@ -32,6 +32,7 @@ #====================================================================== use SL::BP; +use Data::Dumper; 1; @@ -160,14 +161,12 @@ sub search { $button1 = qq| text('button') - . qq|> + . $locale->text('button') . qq|> |; $button2 = qq| text('button') - . qq|> + . $locale->text('button') . qq|> |; #write Trigger @@ -281,7 +280,8 @@ sub remove {

$form->{title}

| - . $locale->text('Are you sure you want to remove the marked entries from the queue?') + . $locale->text( + 'Are you sure you want to remove the marked entries from the queue?') . qq|

{"checked_$_"} } (1 .. $form->{rowcount}); @@ -319,7 +323,7 @@ sub print { for $i (1 .. $form->{rowcount}) { if ($form->{"checked_$i"}) { - $form->{OUT} = "| $myconfig{printer}"; + $form->{OUT} = "| $selected_printer"; $form->info($locale->text('Printing ... ')); if (BP->print_spool(\%myconfig, \%$form, $spool)) { @@ -554,21 +558,29 @@ sub list_spool { {password}> |; - if ($myconfig{printer}) { +# if ($myconfig{printer}) { print qq| +{transdateto}> +{transdatefrom}> +{invnumber}> +{ordnumber}> +{quonumber}> +{customer}> +{vendor}> - + |; - } - if ($form->{menubar}) { - require "$form->{path}/menu.pl"; - &menubar; - } +$form->get_lists(printers=>"ALL_PRINTERS"); +print qq||; + +# } print qq| @@ -577,7 +589,7 @@ sub list_spool { |; - $lxdebug->leave_sub(); + $main::lxdebug->leave_sub(); } sub select_all {