Bugzilla – Attachment 160551 Details for
Bug 22567
Stock rotation manage rotas should show items current and desired locations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22567: Add transfer details to stockrotation page
Bug-22567-Add-transfer-details-to-stockrotation-pa.patch (text/plain), 2.58 KB, created by
Martin Renvoize (ashimema)
on 2024-01-04 16:48:25 UTC
(
hide
)
Description:
Bug 22567: Add transfer details to stockrotation page
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-01-04 16:48:25 UTC
Size:
2.58 KB
patch
obsolete
>From fdfbd66040049cba6e8210fb8b6953d08ac02d20 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 4 Jan 2024 16:42:01 +0000 >Subject: [PATCH] Bug 22567: Add transfer details to stockrotation page > >This patch adds any pending/current transfer details into the >stockrotation item management page. >--- > .../prog/en/modules/tools/stockrotation.tt | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt >index 79f80778238..3d57ae615ae 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt >@@ -492,7 +492,16 @@ > <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% sritem.item.biblio.id | uri %]">[% sritem.item.biblio.title | html %]</a></td> > <td>[% sritem.item.biblio.author | html %]</td> > <td>[% sritem.item.itemcallnumber | html %]</td> >- <td>[% sritem.item.get_transfer ? 'Yes' : 'No' | html %]</td> >+ <td>[% IF ( transfer = sritem.item.get_transfer) %] >+ [% IF (transfer.reason.match('Stockrotation.*')) %] >+ [% IF (transfer.datesent) %] >+ <span class="intransit">In transit from [% Branches.GetName( transfer.frombranch ) | html %] to [% Branches.GetName( transfer.tobranch ) | html %] since [% transfer.datesent | $KohaDates %]</span> >+ [% ELSE %] >+ <span class="transitrequested">Transit pending from [% Branches.GetName( transfer.frombranch ) | html %] to [% Branches.GetName( transfer.tobranch ) | html %] since [% transfer.daterequested | $KohaDates %]</span> >+ [% END %] >+ [% END %] >+ [% END %] >+ </td> > <td> > [% FOREACH this_stage IN stages %] > [% IF this_stage.stage_id == sritem.stage.stage_id %] >-- >2.43.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 22567
:
133363
|
160551
|
160559
|
163961