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

(-)a/misc/cronjobs/fines.pl (-2 / +1 lines)
Lines 161-167 for my $overdue ( @{$overdues} ) { Link Here
161
        my $data = Koha::IssuingRules->get_effective_issuing_rule( { categorycode => $borrower->{categorycode}, itemtype => $itype, branchcode => $branchcode } );
161
        my $data = Koha::IssuingRules->get_effective_issuing_rule( { categorycode => $borrower->{categorycode}, itemtype => $itype, branchcode => $branchcode } );
162
        if ( defined($data->overduefinescap) ) {
162
        if ( defined($data->overduefinescap) ) {
163
            $amount = $data->overduefinescap;
163
            $amount = $data->overduefinescap;
164
            $unitcounttotal = 'n/a';
164
            $unitcount = 'n/a';
165
        }
165
        }
166
        else {
166
        else {
167
            print "No overduefinescap defined for {branchcode = $branchcode, itemtype = $itype and categorycode = $borrower->{categorycode}}\n";
167
            print "No overduefinescap defined for {branchcode = $branchcode, itemtype = $itype and categorycode = $borrower->{categorycode}}\n";
168
- 

Return to bug 19336