Bug 24279: Disable lost status select if item has a return claim
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
f8e73978a2
commit
6fa926be88
1 changed files with 5 additions and 0 deletions
|
@ -104,7 +104,12 @@
|
|||
<input type="hidden" name="biblionumber" value="[% ITEM_DAT.biblionumber | html %]" />
|
||||
<input type="hidden" name="biblioitemnumber" value="[% ITEM_DAT.biblioitemnumber | html %]" />
|
||||
<input type="hidden" name="itemnumber" value="[% ITEM_DAT.itemnumber | html %]" />
|
||||
|
||||
[% IF ClaimReturnedLostValue && ITEM_DAT.itemlost == ClaimReturnedLostValue %]
|
||||
<select name="itemlost" disabled="disabled">
|
||||
[% ELSE %]
|
||||
<select name="itemlost">
|
||||
[% END %]
|
||||
<option value="">Choose</option>
|
||||
[% FOREACH itemlostloo IN itemlostloop %]
|
||||
[% IF ClaimReturnedLostValue && !ITEM_DAT.itemlost && itemlostloo.authorised_value == ClaimReturnedLostValue #Filter claims returned status from pulldown %]
|
||||
|
|
Loading…
Reference in a new issue