Bugzilla – Attachment 177506 Details for
Bug 39025
Update patron account templates to use old_issue_id to display circ info
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39025: Use old_issue_id for issue details on patron account screens
Bug-39025-Use-oldissueid-for-issue-details-on-patr.patch (text/plain), 4.07 KB, created by
Andrew Fuerste-Henry
on 2025-02-04 13:17:05 UTC
(
hide
)
Description:
Bug 39025: Use old_issue_id for issue details on patron account screens
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2025-02-04 13:17:05 UTC
Size:
4.07 KB
patch
obsolete
>From 079d51ddc89994ff442325f98140c758c7ed1006 Mon Sep 17 00:00:00 2001 >From: Andrew Fuerste Henry <andrew@bywatersolutions.com> >Date: Tue, 4 Feb 2025 13:16:29 +0000 >Subject: [PATCH] Bug 39025: Use old_issue_id for issue details on patron > account screens > >To test: >1: Have an item that is checked out, overdue, and showing an accruing fine >2: On the patron account, check both Make A Payment and Transactions tabs, confirm that the fine shows Due Date, Checkout Date, and Checked Out From values >3: Check your item in >4: Reload the patron account, confirm that the fine no longer shows checkout data on either Make A Payment or Transactions >5: Apply patch >6: Reload pages, confirm Make A Payment and Transactions tabs now show values in Due Date, Checkin Date, Checkout Date, and Checked Out From >--- > .../intranet-tmpl/prog/en/modules/members/boraccount.tt | 8 ++++---- > koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt | 8 ++++---- > 2 files changed, 8 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >index 4c325e5f46..9937f6f981 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >@@ -122,11 +122,11 @@ > [% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.item.biblionumber | uri %]&itemnumber=[% account.itemnumber | uri %]">[% account.item.biblio.title | html %]</a>[% END %]</td> > <td>[% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% account.itemnumber | uri %]&biblionumber=[% account.item.biblionumber | uri %]#item[% account.itemnumber | uri %]">[% account.item.barcode | html %]</a>[% END %]</td> > <td>[% IF ( account.itemnumber ) %][% account.item.itemcallnumber | html %][% END %]</td> >- <td>[% IF ( account.issue_id ) %][% account.checkout.date_due | $KohaDates as_due_date => 1 %][% END %]</td> >- <td>[% IF ( account.issue_id ) %][% account.checkout.returndate | $KohaDates with_hours => 1 %][% END %]</td> >- <td>[% IF ( account.issue_id ) %][% account.checkout.issuedate | $KohaDates %][% END %]</td> >+ <td>[% IF ( account.issue_id ) || (account.old_issue_id) %][% account.checkout.date_due | $KohaDates as_due_date => 1 %][% END %]</td> >+ <td>[% IF ( account.issue_id ) || (account.old_issue_id) %][% account.checkout.returndate | $KohaDates with_hours => 1 %][% END %]</td> >+ <td>[% IF ( account.issue_id ) || (account.old_issue_id) %][% account.checkout.issuedate | $KohaDates %][% END %]</td> > <td class="checked_out_from"> >- [% IF account.issue_id && account.checkout.library %] >+ [% IF ( account.issue_id ) || (account.old_issue_id) && account.checkout.library %] > [% account.checkout.library.branchname | html %] > [% END %] > </td> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >index c4ab985583..17c626e057 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt >@@ -143,22 +143,22 @@ > [% END %] > </td> > <td> >- [% IF line.issue_id %] >+ [% IF line.issue_id || line.old_issue_id %] > [% line.checkout.date_due | $KohaDates as_due_date => 1 %] > [% END %] > </td> > <td> >- [% IF line.issue_id %] >+ [% IF line.issue_id || line.old_issue_id %] > [% line.checkout.returndate | $KohaDates with_hours => 1 %] > [% END %] > </td> > <td> >- [% IF line.issue_id %] >+ [% IF line.issue_id || line.old_issue_id %] > [% line.checkout.issuedate | $KohaDates %] > [% END %] > </td> > <td class="checked_out_from"> >- [% IF line.issue_id && line.checkout.library %] >+ [% IF (line.issue_id || line.old_issue_id) && line.checkout.library %] > [% line.checkout.library.branchname | html %] > [% END %] > </td> >-- >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 39025
:
177506
|
177513