[Koha-bugs] [Bug 32335] Allow stock rotation items to be moved several stages ahead
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Sep 7 17:47:47 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32335
Pedro Amorim <pedro.amorim at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #151491|0 |1
is obsolete| |
--- Comment #11 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 155322
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=155322&action=edit
Bug 32335: Allow stock rotation items to be advanced when in transit
This patch adjusts the logic so that we check:
1 - If there are less than 2 stages we disable the 'Move to next stage' button
2 - If the item is not in transit, we show move to next normally
3 - If the item is in transit (and there is more than 1 stage) the button is
enabled with a note about transfer
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: Sam Lau <samalau at gmail.com>
Signed-off-by: Pedro Amorim <pedro.amorim at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list