Bugzilla – Attachment 110703 Details for
Bug 18170
Show damaged status on check-in
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18170: Show damaged status in table of checkins
Bug-18170-Show-damaged-status-in-table-of-checkins.patch (text/plain), 2.21 KB, created by
Katrin Fischer
on 2020-09-24 21:31:51 UTC
(
hide
)
Description:
Bug 18170: Show damaged status in table of checkins
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-09-24 21:31:51 UTC
Size:
2.21 KB
patch
obsolete
>From 5828b92c2281e86d607d2edbe35c4213e3db8410 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Thu, 24 Sep 2020 21:29:10 +0000 >Subject: [PATCH] Bug 18170: Show damaged status in table of checkins > >This copies the display of the damaged status from the holds and >checkouts pages in staff. > >To test: >- Apply patch >- Check out some items, some damaged, others not >- Verify the damaged status is displayed below the due date > in the table of checkouts >- Check the items in from the checkin page >- Verify the damaged status displays in the table of checkins >--- > circ/returns.pl | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 3 +++ > 2 files changed, 4 insertions(+) > >diff --git a/circ/returns.pl b/circ/returns.pl >index a7556c7b07..00df6dcc64 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -601,6 +601,7 @@ foreach ( sort { $a <=> $b } keys %returneditems ) { > $ri{barcode} = $bar_code; > $ri{homebranch} = $item->homebranch; > $ri{holdingbranch} = $item->holdingbranch; >+ $ri{damaged} = $item->damaged; > > $ri{location} = $item->location; > my $shelfcode = $ri{'location'}; >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 1e1ca7d2ff..f5752da31f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -809,6 +809,9 @@ > [% ELSE %] > Not checked out > [% END %] >+ [% IF ( riloo.damaged ) %] >+ <span class="dmg">[% AuthorisedValues.GetByCode( 'DAMAGED', riloo.damaged ) | html %]</span> >+ [% END %] > </td> > <td class="ci-title"> > <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber | uri %]"> >-- >2.11.0
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 18170
:
110703
|
110705
|
111041
|
111042
|
111639
|
111640