Revision 19ac5fa9
Von Tamino Steinert vor etwa 1 Jahr hinzugefügt
SL/Controller/EmailJournal.pm | ||
---|---|---|
250 | 250 |
); |
251 | 251 |
|
252 | 252 |
$self->setup_show_action_bar; |
253 |
my $cv_type_found = $customer_vendor && $customer_vendor->is_vendor ? 'vendor' : 'customer'; |
|
254 |
# overwrite on record_type |
|
255 |
$cv_type_found = 'vendor' if $self->entry->record_type eq 'ap_transaction'; |
|
253 | 256 |
$self->render( |
254 | 257 |
'email_journal/show', |
255 | 258 |
title => $::locale->text('View email'), |
256 | 259 |
CUSTOMER_VENDOR => , $customer_vendor, |
257 |
CV_TYPE_FOUND => $customer_vendor && $customer_vendor->is_vendor ? 'vendor' : 'customer',
|
|
260 |
CV_TYPE_FOUND => $cv_type_found,
|
|
258 | 261 |
RECORD_TYPES_WITH_INFO => \@record_types_with_info, |
259 | 262 |
RECORDS => \@records, |
260 | 263 |
back_to => $back_to |
Auch abrufbar als: Unified diff
EmailJournal: Wähle Einkauf aus wenn Belegtype Kreditorenbuchung ist