Bugzilla – Attachment 153507 Details for
Bug 19336
Add option to fines.pl to apply maximal fine amount after delay
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19336: (follow-up) Initialize $unitcount instead of $unitcounttotal after changes on master
Bug-19336-follow-up-Initialize-unitcount-instead-o.patch (text/plain), 1.10 KB, created by
Hammat wele
on 2023-07-14 20:15:52 UTC
(
hide
)
Description:
Bug 19336: (follow-up) Initialize $unitcount instead of $unitcounttotal after changes on master
Filename:
MIME Type:
Creator:
Hammat wele
Created:
2023-07-14 20:15:52 UTC
Size:
1.10 KB
patch
obsolete
>From 262948740a727cc488bb013becee8705df5d066d Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Mika=C3=ABl=20Olangcay=20Brisebois?= > <mikael.olangcay-brisebois@inLibro.com> >Date: Fri, 1 Mar 2019 15:58:00 -0500 >Subject: [PATCH] Bug 19336: (follow-up) Initialize $unitcount instead of > $unitcounttotal after changes on master > >--- > misc/cronjobs/fines.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/cronjobs/fines.pl b/misc/cronjobs/fines.pl >index 0f9fd1bd90..dca99d92a7 100755 >--- a/misc/cronjobs/fines.pl >+++ b/misc/cronjobs/fines.pl >@@ -161,7 +161,7 @@ for my $overdue ( @{$overdues} ) { > my $data = Koha::IssuingRules->get_effective_issuing_rule( { categorycode => $borrower->{categorycode}, itemtype => $itype, branchcode => $branchcode } ); > if ( defined($data->overduefinescap) ) { > $amount = $data->overduefinescap; >- $unitcounttotal = 'n/a'; >+ $unitcount = 'n/a'; > } > else { > print "No overduefinescap defined for {branchcode = $branchcode, itemtype = $itype and categorycode = $borrower->{categorycode}}\n"; >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19336
:
67191
|
68318
|
68335
|
68336
|
75379
|
75380
|
75381
|
85914
|
85915
|
85916
|
85917
|
85918
|
85919
|
85920
|
85921
|
85922
|
85923
|
124197
|
124198
|
124199
|
124200
|
124201
|
153504
|
153505
|
153506
|
153507
|
153508
|
168517
|
168518
|
168519
|
168520
|
168521
|
172982
|
172983
|
172984
|
172985
|
172986
|
172987