Revision d08148b9
Von Jan Büren vor fast 10 Jahren hinzugefügt
SL/Controller/DeliveryPlan.pm | ||
---|---|---|
119 | 119 |
my ($self) = @_; |
120 | 120 |
my $vc = $self->vc; |
121 | 121 |
my $mode = $self->mode; |
122 |
my ($business, $employee); |
|
122 | 123 |
|
123 | 124 |
my $filter = $::form->{filter} || {}; |
124 | 125 |
my @filter_strings; |
125 | 126 |
|
126 |
my $business = SL::DB::Business->new(id => $filter->{order}{customer}{"business_id"})->load->description if $filter->{order}{customer}{"business_id"};
|
|
127 |
my $employee = SL::DB::Employee->new(id => $filter->{order}{employee_id})->load->name if $filter->{order}{employee_id};
|
|
127 |
$business = SL::DB::Business->new(id => $filter->{order}{customer}{"business_id"})->load->description if $filter->{order}{customer}{"business_id"}; |
|
128 |
$employee = SL::DB::Employee->new(id => $filter->{order}{employee_id})->load->name if $filter->{order}{employee_id}; |
|
128 | 129 |
|
129 | 130 |
my @filters = ( |
130 | 131 |
[ $filter->{order}{"ordnumber:substr::ilike"}, $::locale->text('Number') ], |
Auch abrufbar als: Unified diff
no lexical postif in DeliveryPlan.pm
test ausführen, nicht vergessen!!! @myself