Bugzilla – Attachment 172254 Details for
Bug 28575
Add ability to choose if lost fee is refunded based on when lost fee was paid off
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28575: Add a new check-in message for the new syspref
Bug-28575-Add-a-new-check-in-message-for-the-new-s.patch (text/plain), 3.28 KB, created by
Nick Clemens (kidclamp)
on 2024-10-01 11:08:47 UTC
(
hide
)
Description:
Bug 28575: Add a new check-in message for the new syspref
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-10-01 11:08:47 UTC
Size:
3.28 KB
patch
obsolete
>From 3d18a62a3ec7c8e67d7338308d75e6776c1ee8fd Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Tue, 11 Jun 2024 10:43:24 +0000 >Subject: [PATCH] Bug 28575: Add a new check-in message for the new syspref > >Signed-off-by: Andrew Fuerste Henry <andrewfh@dubcolib.org> >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > C4/Circulation.pm | 2 ++ > circ/returns.pl | 6 ++++++ > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 2 ++ > 3 files changed, 10 insertions(+) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index bd8ecfc58fa..9fef2c0a327 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -2318,6 +2318,8 @@ sub AddReturn { > if $message->message eq 'processing_refunded'; > $messages->{'LostItemFeeRestored'} = 1 > if $message->message eq 'lost_restored'; >+ $messages->{'LostItemPaymentNotRefunded'} = 1 >+ if $message->message eq 'payment_not_refunded'; > > if ( $message->message eq 'lost_charge' ) { > $issue //= Koha::Old::Checkouts->search( >diff --git a/circ/returns.pl b/circ/returns.pl >index b57e64a9204..e41cf9ab269 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -703,6 +703,12 @@ foreach my $code ( keys %$messages ) { > elsif ( $code eq 'LostItemFeeRefunded' ) { > $template->param( LostItemFeeRefunded => 1 ); > } >+ elsif ( >+ $code eq 'LostItemPaymentNotRefunded' >+ ) >+ { >+ $template->param( LostItemPaymentNotRefunded => 1 ); >+ } > elsif ( $code eq 'LostItemFeeCharged' ) { > $template->param( LostItemFeeCharged => 1 ); > } >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >index 6c132ef2b8b..ee666476d07 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -350,6 +350,8 @@ > <p class="problem ret_charged">A refund for the lost item charge has been applied to the borrowing patron's account, and new overdue charge has been calculated and applied.</p> > [% ELSIF LostItemFeeRestored and not Koha.Preference('BlockReturnOfLostItems') %] > <p class="problem ret_restored">A refund for the lost item charge has been applied to the borrowing patron's account and if an overdue fine was forgiven when the item was marked as lost, it has been reverted.</p> >+ [% ELSIF LostItemPaymentNotRefunded and not Koha.Preference('BlockReturnOfLostItems') %] >+ <p class="problem ret_restored">No refund was applied to the patron's account for the previously paid lost item charge as the payment was made more than [% Koha.Preference('NoRefundOnLostFinesPaidAge') | html%] days ago.</p> > [% ELSIF Koha.Preference('BlockReturnOfLostItems') %] > <h5>Cannot check in</h5> > <p><strong>NOT CHECKED IN</strong></p> >-- >2.39.5
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 28575
:
167567
|
167568
|
167569
|
167621
|
167622
|
167623
|
167624
|
167627
|
167635
|
167636
|
167637
|
167638
|
168146
|
172252
|
172253
| 172254 |
172255
|
172256
|
172257
|
172258