]> git.koha-community.org Git - koha.git/commit
Bug 6819: Hide individual cancel order links when order line has been received
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 18 Oct 2020 22:53:53 +0000 (22:53 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 25 Oct 2020 23:14:41 +0000 (00:14 +0100)
commit974c93f908179ff16a162d8010ddbd9710fbff46
tree87c42dcb5f1f95ab1dedc211c1fb82835cc1d0e8
parent3edbe7d7dc9358e55b4ecc9da5b292a32cadcce9
Bug 6819: Hide individual cancel order links when order line has been received

This is to prevent mistakes - a received order should not be
cancelled, but 'undo receive' needs to be done first for things
to turn out correctly.

To test:
- Create a basket with at least 2 orders
- Close basket
- Receive one of your orders at least
- Go back to the basket
- Reopen basket
- The cancel links should only show on the "not received" orders

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt