Bugzilla – Attachment 48406 Details for
Bug 15753
String update in the README for qa-test-tools
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.61 KB, created by
Marc Véron
on 2016-02-26 15:58:26 UTC
(
hide
)
Description:
Bug 14753 - Show accession date on checkin
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-02-26 15:58:26 UTC
Size:
3.61 KB
patch
obsolete
>From 9b22697ca6e3fc87f3d97cf70055553696b21e7c 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> > >https://bugs.koha-community.org/show_bug.cgi?id=15753 >--- > 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 %]"> >-- >1.7.10.4
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 15753
:
47718
|
47766
|
48406