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

(-)a/C4/Letters.pm (-3 / +3 lines)
Lines 1440-1447 sub _get_tt_params { Link Here
1440
            plural   => 'biblios',
1440
            plural   => 'biblios',
1441
            pk       => 'biblionumber',
1441
            pk       => 'biblionumber',
1442
        },
1442
        },
1443
        borrowers => { #FIXME: Bug 15548 will require this to be updated
1443
        borrowers => {
1444
            module   => 'Koha::Borrowers', # to Koha::Patrons
1444
            module   => 'Koha::Patrons',
1445
            singular => 'borrower',
1445
            singular => 'borrower',
1446
            plural   => 'borrowers',
1446
            plural   => 'borrowers',
1447
            pk       => 'borrowernumber',
1447
            pk       => 'borrowernumber',
Lines 1495-1501 sub _get_tt_params { Link Here
1495
            fk       => 'itemnumber',
1495
            fk       => 'itemnumber',
1496
        },
1496
        },
1497
        borrower_modifications => {
1497
        borrower_modifications => {
1498
            module   => 'Koha::Borrower::Modifications',
1498
            module   => 'Koha::Patron::Modifications',
1499
            singular => 'patron_modification',
1499
            singular => 'patron_modification',
1500
            plural   => 'patron_modifications',
1500
            plural   => 'patron_modifications',
1501
            fk       => 'verification_token',
1501
            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