Revision d3f369e3
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
SL/Controller/Reclamation.pm | ||
---|---|---|
1943 | 1943 |
|
1944 | 1944 |
$self->{report} = $report; |
1945 | 1945 |
|
1946 |
# TODO(Tamino): shipto_id is not linked to custom_shipto
|
|
1946 |
# TODO: shipto_id is not linked to custom_shipto |
|
1947 | 1947 |
my @columns_order = qw( |
1948 | 1948 |
id |
1949 | 1949 |
record_number |
... | ... | |
2043 | 2043 |
shipvia => { |
2044 | 2044 |
sub => sub { $_[0]->shipvia }, |
2045 | 2045 |
}, |
2046 |
# TODO(Tamino): custom ship to is not safed in reclamation
|
|
2046 |
# TODO: custom ship to is not safed in reclamation |
|
2047 | 2047 |
#shipto_id => { |
2048 | 2048 |
# sub => sub { $_[0]->shipto ? $_[0]->shipto->shiptoname : '' }, |
2049 | 2049 |
#}, |
... | ... | |
2155 | 2155 |
map { $column_defs{$_}->{visible} = $::form->{active_in_report}->{"$_"} } |
2156 | 2156 |
keys %column_defs; |
2157 | 2157 |
|
2158 |
## add cvars TODO(Tamino): Add own cvars
|
|
2158 |
## add cvars TODO: Add own cvars |
|
2159 | 2159 |
#my %cvar_column_defs = map { |
2160 | 2160 |
# my $cfg = $_; |
2161 | 2161 |
# (('cvar_' . $cfg->name) => { |
... | ... | |
2197 | 2197 |
); |
2198 | 2198 |
$report->set_columns(%column_defs); |
2199 | 2199 |
$report->set_column_order(@columns_order); |
2200 |
#$report->set_export_options(qw(list filter), @cvar_column_form_names); TODO(Tamino): for cvars
|
|
2200 |
#$report->set_export_options(qw(list filter), @cvar_column_form_names); TODO: for cvars |
|
2201 | 2201 |
$report->set_export_options(qw(list filter active_in_report)); |
2202 | 2202 |
$report->set_options_from_form; |
2203 | 2203 |
$self->models->set_report_generator_sort_options(report => $report, sortable_columns => \@sortable); |
Auch abrufbar als: Unified diff
FIX: entferne eigenen Namen in TODO