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

(-)a/Koha/Patron/Debarments.pm (+1 lines)
Lines 23-28 use C4::Context; Link Here
23
use C4::Log qw( logaction );
23
use C4::Log qw( logaction );
24
24
25
use Koha::Database;
25
use Koha::Database;
26
use Koha::Patrons;
26
use Koha::Patron::Restriction::Types;
27
use Koha::Patron::Restriction::Types;
27
use Koha::Patron::Restrictions;
28
use Koha::Patron::Restrictions;
28
29
(-)a/misc/cronjobs/writeoff_debts.pl (-2 / +1 lines)
Lines 113-119 while ( my $line = $lines->next ) { Link Here
113
                my $writeoff_offset = Koha::Account::Offset->new(
113
                my $writeoff_offset = Koha::Account::Offset->new(
114
                    {
114
                    {
115
                        credit_id => $writeoff->accountlines_id,
115
                        credit_id => $writeoff->accountlines_id,
116
                        type      => 'WRITEOFF',
116
                        type      => 'CREATE',
117
                        amount    => $line->amountoutstanding
117
                        amount    => $line->amountoutstanding
118
                    }
118
                    }
119
                )->store();
119
                )->store();
120
- 

Return to bug 39236