]> git.koha-community.org Git - koha.git/commit
Bug 7583 follow-up: Prevent users to cancel receipt if they can't
authorJulian Maurice <julian.maurice@biblibre.com>
Mon, 13 Aug 2012 14:34:35 +0000 (16:34 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 13 Sep 2012 16:29:42 +0000 (18:29 +0200)
commit5c127f3391a5cec575b650afe41b8fe32fc3e579
tree9da541589246cf84bb84aaa554f00b6cd2ed0987
parentd4cda293b473f59d4b59e1658734e839af32d13f
Bug 7583 follow-up: Prevent users to cancel receipt if they can't

Disable the link for cancelling instead of displaying an error message
after the click. This is only valid if parent order line is received,
not if it's deleted.
When the user gets his mouse over the disabled link, he gets a message
telling him which order (ordernumber) blocks him so he knows immediately
which receipt to cancel.
Also improve error messages for non technical people

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
acqui/parcel.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt