projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
618f706
)
Bericht Lieferscheine (do.pl) check_all bzw. hier multi_all gefixt
author
Werner Hahn
<wh@futureworldsearch.net>
Tue, 11 Sep 2018 14:43:34 +0000
(16:43 +0200)
committer
Werner Hahn
<wh@futureworldsearch.net>
Tue, 11 Sep 2018 14:43:34 +0000
(16:43 +0200)
bin/mozilla/do.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/do.pl
b/bin/mozilla/do.pl
index
cdaba25
..
7efc622
100644
(file)
--- 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 = (
my $href = build_std_url('action=orders', grep { $form->{$_} } @hidden_variables);
my %column_defs = (
- 'ids' => {
'text' => '<input type="checkbox" id="multi_all" value="1">', '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'), },
'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)
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',
};
'valign' => 'center',
'align' => 'center',
};