Revision 621b7576
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
bin/mozilla/wh.pl | ||
---|---|---|
978 | 978 |
my $href = build_std_url('action=generate_report', grep { $form->{$_} } @hidden_variables); |
979 | 979 |
$href .= "&maxrows=".$form->{maxrows}; |
980 | 980 |
|
981 |
map { $column_defs{$_}->{link} = $href . "&page=".$page."&sort=${_}&order=" . Q($_ eq $sort_col ? 1 - $form->{order} : $form->{order}) } grep {!/^cvar_/} @columns; |
|
981 |
my %cvar_is_text = (); |
|
982 |
$cvar_is_text{"cvar_$_->{name}"} = 1 for |
|
983 |
grep {$_->{type} =~ m/text|textfield|htmlfield/} |
|
984 |
@$cvar_configs; |
|
985 |
|
|
986 |
map { $column_defs{$_}->{link} = $href . "&page=".$page."&sort=${_}&order=" . Q($_ eq $sort_col ? 1 - $form->{order} : $form->{order}) } |
|
987 |
grep {!/^cvar_/ or $cvar_is_text{$_}} |
|
988 |
@columns; |
|
982 | 989 |
|
983 | 990 |
my %column_alignment = map { $_ => 'right' } qw(qty list_price purchase_price stock_value); |
984 | 991 |
|
Auch abrufbar als: Unified diff
Lagerbestand nach textartigen BDVs sortieren