Lines 473-483
sub NewSuggestion {
Link Here
|
473 |
if ( $emailpurchasesuggestions eq "BranchEmailAddress" ) { |
473 |
if ( $emailpurchasesuggestions eq "BranchEmailAddress" ) { |
474 |
my $library = |
474 |
my $library = |
475 |
Koha::Libraries->find( $full_suggestion->{branchcode} ); |
475 |
Koha::Libraries->find( $full_suggestion->{branchcode} ); |
476 |
$toaddress = |
476 |
$toaddress = $library->inbound_email_address; |
477 |
$library->branchreplyto |
|
|
478 |
|| $library->branchemail |
479 |
|| C4::Context->preference('ReplytoDefault') |
480 |
|| C4::Context->preference('KohaAdminEmailAddress'); |
481 |
} |
477 |
} |
482 |
elsif ( $emailpurchasesuggestions eq "KohaAdminEmailAddress" ) { |
478 |
elsif ( $emailpurchasesuggestions eq "KohaAdminEmailAddress" ) { |
483 |
$toaddress = C4::Context->preference('ReplytoDefault') |
479 |
$toaddress = C4::Context->preference('ReplytoDefault') |
484 |
- |
|
|