Revision 806246c1
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
- ID 806246c10a86f20004f797bca3bc93b27710c6e7
- Vorgänger 70ada37e
SL/Controller/Reclamation.pm | ||
---|---|---|
1932 | 1932 |
|
1933 | 1933 |
$self->{report} = $report; |
1934 | 1934 |
|
1935 |
# TODO(Tamino): shipto_id is not linked to custom_shipto
|
|
1935 |
# TODO: shipto_id is not linked to custom_shipto |
|
1936 | 1936 |
my @columns_order = qw( |
1937 | 1937 |
id |
1938 | 1938 |
record_number |
... | ... | |
2032 | 2032 |
shipvia => { |
2033 | 2033 |
sub => sub { $_[0]->shipvia }, |
2034 | 2034 |
}, |
2035 |
# TODO(Tamino): custom ship to is not safed in reclamation
|
|
2035 |
# TODO: custom ship to is not safed in reclamation |
|
2036 | 2036 |
#shipto_id => { |
2037 | 2037 |
# sub => sub { $_[0]->shipto ? $_[0]->shipto->shiptoname : '' }, |
2038 | 2038 |
#}, |
... | ... | |
2144 | 2144 |
map { $column_defs{$_}->{visible} = $::form->{active_in_report}->{"$_"} } |
2145 | 2145 |
keys %column_defs; |
2146 | 2146 |
|
2147 |
## add cvars TODO(Tamino): Add own cvars
|
|
2147 |
## add cvars TODO: Add own cvars |
|
2148 | 2148 |
#my %cvar_column_defs = map { |
2149 | 2149 |
# my $cfg = $_; |
2150 | 2150 |
# (('cvar_' . $cfg->name) => { |
... | ... | |
2186 | 2186 |
); |
2187 | 2187 |
$report->set_columns(%column_defs); |
2188 | 2188 |
$report->set_column_order(@columns_order); |
2189 |
#$report->set_export_options(qw(list filter), @cvar_column_form_names); TODO(Tamino): for cvars
|
|
2189 |
#$report->set_export_options(qw(list filter), @cvar_column_form_names); TODO: for cvars |
|
2190 | 2190 |
$report->set_export_options(qw(list filter active_in_report)); |
2191 | 2191 |
$report->set_options_from_form; |
2192 | 2192 |
$self->models->set_report_generator_sort_options(report => $report, sortable_columns => \@sortable); |
Auch abrufbar als: Unified diff
FIX: entferne eigenen Namen in TODO