Bugzilla – Attachment 148747 Details for
Bug 32335
Allow stock rotation items to be moved several stages ahead
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32335: Allow stock rotation items to be advanced when in transit
Bug-32335-Allow-stock-rotation-items-to-be-advance.patch (text/plain), 2.34 KB, created by
Nick Clemens (kidclamp)
on 2023-03-27 10:05:33 UTC
(
hide
)
Description:
Bug 32335: Allow stock rotation items to be advanced when in transit
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-03-27 10:05:33 UTC
Size:
2.34 KB
patch
obsolete
>From a0029c7e055b2f0772f9977b3dd8b444a29bcdfb Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 23 Nov 2022 13:24:12 +0000 >Subject: [PATCH] Bug 32335: Allow stock rotation items to be advanced when in > transit > >This patch simply removes the disabling of the 'Move to next stage' button >and adds a title to let the librarian know the item is in transit > >To test: >1 - Setup a rota with multiple stages >2 - Add an item >3 - Advance to next stage >4 - Observe 'Move to next stage' button is disabled >5 - Check item in at destination >6 - Reload rota - observe 'Move to next stage' is enabled >7 - Apply patch >8 - Click 'Move to next stage' >9 - Note button is not disabled >10 - Hover and confirm note about transit >11 - Click 'Move to next stage' >12 - Checkin item at wrong branch, confirm it is correctly directed to correct stage > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt | 2 +- > 1 file changed, 1 insertion(+), 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 a7f58583ab..e8eb24825b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt >@@ -503,7 +503,7 @@ > [% IF !in_transit && stages.size > 1 %] > <a class="btn btn-default btn-xs" href="?op=move_to_next_stage&rota_id=[% rota.id | uri %]&item_id=[% sritem.id | uri %]&stage_id=[% sritem.stage.stage_id | uri %]"> > [% ELSE %] >- <a class="btn btn-default btn-xs" disabled> >+ <a class="btn btn-default btn-xs" href="?op=move_to_next_stage&rota_id=[% rota.id | uri %]&item_id=[% sritem.id | uri %]&stage_id=[% sritem.stage.stage_id | uri %]" title="Item is in transit, it will be directed to new stage when checked in"> > [% END %] > <i class="fa fa-arrow-right"></i> > Move to next stage >-- >2.30.2
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 32335
:
144204
|
144206
|
148747
|
148748
|
151491
|
155322
|
155323
|
155324