View | Details | Raw Unified | Return to bug 22821
Collapse All | Expand All

(-)a/opac/opac-issue-note.pl (-2 / +2 lines)
Lines 82-95 if ( $action eq 'issuenote' && C4::Context->preference('AllowCheckoutNotes') ) { Link Here
82
            );
82
            );
83
83
84
            my $to_address = $branch->branchemail || $branch->branchreplyto || C4::Context->ReplytoDefault || C4::Context->preference('KohaAdminEmailAddress');
84
            my $to_address = $branch->branchemail || $branch->branchreplyto || C4::Context->ReplytoDefault || C4::Context->preference('KohaAdminEmailAddress');
85
            my $from_address = $patron->email || $patron->emailpro || $patron->B_email;
85
            my $reply_address = $patron->email || $patron->emailpro || $patron->B_email;
86
86
87
            C4::Letters::EnqueueLetter({
87
            C4::Letters::EnqueueLetter({
88
                letter => $letter,
88
                letter => $letter,
89
                message_transport_type => 'email',
89
                message_transport_type => 'email',
90
                borrowernumber => $patron->borrowernumber,
90
                borrowernumber => $patron->borrowernumber,
91
                to_address => $to_address,
91
                to_address => $to_address,
92
                from_address => $from_address,
92
                reply_address => $reply_address,
93
            });
93
            });
94
        }
94
        }
95
    }
95
    }
(-)a/opac/svc/checkout_notes (-3 / +2 lines)
Lines 92-105 if ($is_ajax) { Link Here
92
                );
92
                );
93
93
94
                my $to_address = $branch->branchemail || $branch->branchreplyto || C4::Context->preference('ReplytoDefault') || C4::Context->preference('KohaAdminEmailAddress');
94
                my $to_address = $branch->branchemail || $branch->branchreplyto || C4::Context->preference('ReplytoDefault') || C4::Context->preference('KohaAdminEmailAddress');
95
                my $from_address = $patron->email || $patron->emailpro || $patron->B_email;
95
                my $reply_address = $patron->email || $patron->emailpro || $patron->B_email;
96
96
97
                C4::Letters::EnqueueLetter({
97
                C4::Letters::EnqueueLetter({
98
                    letter => $letter,
98
                    letter => $letter,
99
                    message_transport_type => 'email',
99
                    message_transport_type => 'email',
100
                    borrowernumber => $patron->borrowernumber,
100
                    borrowernumber => $patron->borrowernumber,
101
                    to_address => $to_address,
101
                    to_address => $to_address,
102
                    from_address => $from_address,
102
                    reply_address => $reply_address,
103
                });
103
                });
104
            } else { # note empty, i.e removed
104
            } else { # note empty, i.e removed
105
                $status = "removed";
105
                $status = "removed";
106
- 

Return to bug 22821