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

(-)a/installer/data/mysql/atomicupdate/bug_18915_-_modifying_patron_note_notice.sql (+1 lines)
Line 0 Link Here
1
UPDATE letter SET code = 'CHECKOUT_NOTE', name = 'Checkout note on item set by patron', title = 'Checkout note', content = '<<borrowers.firstname>> <<borrowers.surname>> has added a note to the item <<biblio.title>> - <<biblio.author>> (<<biblio.biblionumber>>).' WHERE code = 'PATRON_NOTE';
(-)a/opac/opac-issue-note.pl (-1 / +1 lines)
Lines 72-78 if ( $action eq 'issuenote' && C4::Context->preference('AllowCheckoutNotes') ) { Link Here
72
            my $branch = Koha::Libraries->find( $issue->branchcode );
72
            my $branch = Koha::Libraries->find( $issue->branchcode );
73
            my $letter = C4::Letters::GetPreparedLetter (
73
            my $letter = C4::Letters::GetPreparedLetter (
74
                module => 'circulation',
74
                module => 'circulation',
75
                letter_code => 'PATRON_NOTE',
75
                letter_code => 'CHECKOUT_NOTE',
76
                branchcode => $branch,
76
                branchcode => $branch,
77
                tables => {
77
                tables => {
78
                    'biblio' => $biblio->{biblionumber},
78
                    'biblio' => $biblio->{biblionumber},
(-)a/opac/svc/patron_notes (-2 / +1 lines)
Lines 82-88 if ($is_ajax) { Link Here
82
                my $biblio = GetBiblioFromItemNumber($issue->itemnumber);
82
                my $biblio = GetBiblioFromItemNumber($issue->itemnumber);
83
                my $letter = C4::Letters::GetPreparedLetter (
83
                my $letter = C4::Letters::GetPreparedLetter (
84
                    module => 'circulation',
84
                    module => 'circulation',
85
                    letter_code => 'PATRON_NOTE',
85
                    letter_code => 'CHECKOUT_NOTE',
86
                    branchcode => $branch,
86
                    branchcode => $branch,
87
                    tables => {
87
                    tables => {
88
                        'biblio' => $biblio->{biblionumber},
88
                        'biblio' => $biblio->{biblionumber},
89
- 

Return to bug 18915