Bugzilla – Attachment 48489 Details for
Bug 14753
Show accession date on checkin
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14753 - Show accession date on checkin
Bug-14753---Show-accession-date-on-checkin.patch (text/plain), 3.62 KB, created by
Jonathan Druart
on 2016-03-01 09:56:02 UTC
(
hide
)
Description:
Bug 14753 - Show accession date on checkin
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-03-01 09:56:02 UTC
Size:
3.62 KB
patch
obsolete
>From ba72da0a6ba1b58d40b32fc47ae7f712a7f3f2fb Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Sun, 7 Feb 2016 03:39:58 +0000 >Subject: [PATCH] Bug 14753 - Show accession date on checkin >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch adds the dateaccessioned column fro an item to the display on >returns.pl. The column is added with a CSS class for easy selection. > >To test: >Check in some items >Note date accessioned is not shown >Apply patch >Refresh page >Check in some items >See the added column 'Date acquired' > >Sponsored by: North Central Regional Library (ncrl.org) > >Signed-off-by: Marc Véron <veron@veron.ch> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > circ/returns.pl | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 3 ++- > 2 files changed, 3 insertions(+), 1 deletion(-) > >diff --git a/circ/returns.pl b/circ/returns.pl >index da4cee0..c4ec100 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -588,6 +588,7 @@ foreach ( sort { $a <=> $b } keys %returneditems ) { > $ri{itemtitle} = $biblio->{'title'}; > $ri{itemauthor} = $biblio->{'author'}; > $ri{itemcallnumber} = $biblio->{'itemcallnumber'}; >+ $ri{dateaccessioned} = output_pref({ dt=>dt_from_string( $item->{dateaccessioned}, 'sql' ), dateonly => 1}); > $ri{itemtype} = $biblio->{'itemtype'}; > $ri{itemnote} = $biblio->{'itemnotes'}; > $ri{itemnotes_nonpublic} = $item->{'itemnotes_nonpublic'}; >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 38c5887..3068a47 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -590,7 +590,7 @@ $(document).ready(function () { > [% IF ( riloop ) %] > <h2>Checked-in items</h2> > <table id="checkedintable"> >- <tr><th class="ci-duedate">Due date</th><th class="ci-title">Title</th><th class="ci-author">Author</th><th class="ci-barcode">Barcode</th><th class="ci-homelibrary">Home library</th><th class="ci-holdinglibrary">Holding library</th><th class="ci-shelvinglocation">Shelving location</th><th class="ci-callnumber">Call number</th><th class="ci-type">Type</th><th class="ci-patron">Patron</th><th class="ci-note">Note</th></tr> >+ <tr><th class="ci-duedate">Due date</th><th class="ci-title">Title</th><th class="ci-author">Author</th><th class="ci-barcode">Barcode</th><th class="ci-homelibrary">Home library</th><th class="ci-holdinglibrary">Holding library</th><th class="ci-shelvinglocation">Shelving location</th><th class="ci-callnumber">Call number</th><th class="ci-dateaccessioned">Date acquired</th><th class="ci-type">Type</th><th class="ci-patron">Patron</th><th class="ci-note">Note</th></tr> > > [% FOREACH riloo IN riloop %] > <tr> >@@ -610,6 +610,7 @@ $(document).ready(function () { > <td class="ci-holdinglibrary">[% Branches.GetName( riloo.holdingbranch ) %]</td> > <td class="ci-shelvinglocation">[% riloo.location %]</td> > <td class="ci-callnumber">[% riloo.itemcallnumber %]</td> >+ <td class="ci-dateaccessioned">[% riloo.dateaccessioned %]</td> > <td class="ci-type">[% ItemTypes.GetDescription( riloo.itemtype ) %] [% AuthorisedValues.GetByCode('CCODE', riloo.ccode) %]</td> > <td class="ci-patron">[% IF ( riloo.duedate ) %] > <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% riloo.borrowernumber %]"> >-- >2.7.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 14753
:
47834
|
47835
|
47836
|
47837
|
48403
|
48404
|
48405
|
48407
|
48408
| 48489 |
48490
|
48491
|
48492
|
48493
|
48516