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 Cormack <chrisc@catalyst.net.nz>
Fri, 8 Apr 2011 01:21:29 +0000 (13:21 +1200)
commit760babcf4c7573620cf3e03c0e0899282b6634b1
tree1b0a23ef324a660e523e57dde0a069d0e64a49bf
parent1f323c00a14673ae83ae24b2502aa172d7949781
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>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl