]> git.koha-community.org Git - koha.git/commit
Bug 5949: Hide 'Edit record' link when creating new order
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Thu, 7 Apr 2011 10:56:12 +0000 (10:56 +0000)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Sat, 16 Apr 2011 18:43:16 +0000 (14:43 -0400)
commitc3d933c729425223024a29c759a0ce6e7b63efc1
tree3da70e44e3225589a0136417bf6a40d7ed86bf8e
parentf017dab1102d86b62d79a2197dfdf90f6827dca2
Bug 5949: Hide 'Edit record' link when creating new order

The 'Edit record' link only makes sense, when you want to modify
an order after creating it. Before there is no biblionumber the link
can link to. Patch adds check for existing biblionumber so link is
only shown when there is an existing record to be edited.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 760babcf4c7573620cf3e03c0e0899282b6634b1)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl