From: Werner Hahn Date: Tue, 11 Sep 2018 14:43:34 +0000 (+0200) Subject: Bericht Lieferscheine (do.pl) check_all bzw. hier multi_all gefixt X-Git-Tag: release-3.5.4~278 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3cf720a8461d2d4c296edb9a4223074929921b5a;p=kivitendo-erp.git Bericht Lieferscheine (do.pl) check_all bzw. hier multi_all gefixt --- diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index cdaba2534..7efc62232 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -711,7 +711,7 @@ sub orders { my $href = build_std_url('action=orders', grep { $form->{$_} } @hidden_variables); my %column_defs = ( - 'ids' => { 'text' => '', 'align' => 'center' }, + 'ids' => { raw_header_data => SL::Presenter::Tag::checkbox_tag("", id => "multi_all", checkall => "[data-checkall=1]"), align => 'center' }, 'transdate' => { 'text' => $locale->text('Delivery Order Date'), }, 'reqdate' => { 'text' => $locale->text('Reqdate'), }, 'id' => { 'text' => $locale->text('ID'), }, @@ -855,7 +855,7 @@ sub orders { my $ord_id = $dord->{id}; $row->{ids} = { 'raw_data' => $cgi->hidden('-name' => "trans_id_${idx}", '-value' => $ord_id) - . $cgi->checkbox('-name' => "multi_id_${idx}",' id' => "multi_id_id_".$ord_id, '-value' => 1, '-label' => ''), + . $cgi->checkbox('-name' => "multi_id_${idx}",' id' => "multi_id_id_".$ord_id, '-value' => 1, 'data-checkall' => 1, '-label' => ''), 'valign' => 'center', 'align' => 'center', };