Revision 7b620fdc
Von Tamino Steinert vor 9 Monaten hinzugefügt
SL/Controller/EmailJournal.pm | ||
---|---|---|
257 | 257 |
|
258 | 258 |
my $customer = $self->find_customer_vendor_from_email('customer', $self->entry); |
259 | 259 |
my $vendor = $self->find_customer_vendor_from_email('vendor' , $self->entry); |
260 |
my ($cv_type_found) = |
|
261 |
map {$_->{customervendor}}
|
|
260 |
|
|
261 |
my $record_type_info =
|
|
262 | 262 |
first {$_->{record_type} eq $self->entry->record_type} |
263 | 263 |
@record_types_with_info; |
264 |
$cv_type_found ||= 'vendor' if defined $vendor; |
|
265 |
$cv_type_found ||= 'customer'; |
|
264 |
my $cv_type_found = $record_type_info ? $record_type_info->{customervendor} |
|
265 |
: defined $vendor ? 'vendor' |
|
266 |
: 'customer'; |
|
266 | 267 |
|
267 | 268 |
my $record_types = $self->record_types_for_customer_vendor_type_and_action( |
268 | 269 |
$cv_type_found, 'workflow_record' |
Auch abrufbar als: Unified diff
S:C:EmailJournal: FIX: Setzen der Kunden/Lierferanten-Richtung