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

(-)a/C4/Letters.pm (-3 / +3 lines)
Lines 1410-1417 sub _get_tt_params { Link Here
1410
            plural   => 'biblios',
1410
            plural   => 'biblios',
1411
            pk       => 'biblionumber',
1411
            pk       => 'biblionumber',
1412
        },
1412
        },
1413
        borrowers => { #FIXME: Bug 15548 will require this to be updated
1413
        borrowers => {
1414
            module   => 'Koha::Borrowers', # to Koha::Patrons
1414
            module   => 'Koha::Patrons',
1415
            singular => 'borrower',
1415
            singular => 'borrower',
1416
            plural   => 'borrowers',
1416
            plural   => 'borrowers',
1417
            pk       => 'borrowernumber',
1417
            pk       => 'borrowernumber',
Lines 1465-1471 sub _get_tt_params { Link Here
1465
            fk       => 'itemnumber',
1465
            fk       => 'itemnumber',
1466
        },
1466
        },
1467
        borrower_modifications => {
1467
        borrower_modifications => {
1468
            module   => 'Koha::Borrower::Modifications',
1468
            module   => 'Koha::Patron::Modifications',
1469
            singular => 'patron_modification',
1469
            singular => 'patron_modification',
1470
            plural   => 'patron_modifications',
1470
            plural   => 'patron_modifications',
1471
            fk       => 'verification_token',
1471
            fk       => 'verification_token',
(-)a/Koha/Borrower/Modification.pm (-1 / +1 lines)
Lines 1-4 Link Here
1
package Koha::Borrower::Modification;
1
package Koha::Patron::Modification;
2
2
3
# Copyright ByWater Solutions 2014
3
# Copyright ByWater Solutions 2014
4
#
4
#
(-)a/Koha/Patron/Modifications.pm (-1 / +1 lines)
Lines 321-327 sub _type { Link Here
321
=cut
321
=cut
322
322
323
sub object_class {
323
sub object_class {
324
    return 'Koha::Borrower::Modification';
324
    return 'Koha::Patron::Modification';
325
}
325
}
326
326
327
1;
327
1;
(-)a/t/db_dependent/Letters/TemplateToolkit.t (-3 / +2 lines)
Lines 38-44 use Koha::Serial; Link Here
38
use Koha::Subscription;
38
use Koha::Subscription;
39
use Koha::Suggestion;
39
use Koha::Suggestion;
40
use Koha::Checkout;
40
use Koha::Checkout;
41
use Koha::Borrower::Modification;
41
use Koha::Patron::Modification;
42
42
43
my $schema = Koha::Database->schema;
43
my $schema = Koha::Database->schema;
44
$schema->storage->txn_begin();
44
$schema->storage->txn_begin();
Lines 87-93 my $serial = Koha::Serial->new()->store(); Link Here
87
my $subscription = Koha::Subscription->new()->store();
87
my $subscription = Koha::Subscription->new()->store();
88
my $suggestion   = Koha::Suggestion->new()->store();
88
my $suggestion   = Koha::Suggestion->new()->store();
89
my $checkout     = Koha::Checkout->new( { itemnumber => $item->id() } )->store();
89
my $checkout     = Koha::Checkout->new( { itemnumber => $item->id() } )->store();
90
my $modification = Koha::Borrower::Modification->new( { verification_token => "TEST" } )->store();
90
my $modification = Koha::Patron::Modification->new( { verification_token => "TEST" } )->store();
91
91
92
my $prepared_letter;
92
my $prepared_letter;
93
93
94
- 

Return to bug 14757