Bug 14399: Results form also needs a few interface changes
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 12 Apr 2017 14:06:29 +0000 (16:06 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 10 May 2017 16:23:56 +0000 (16:23 +0000)
commitaf89df12e72ea51010039a2206bb942bcc4c4b50
tree9aed06251a56084e7478e03a8ff01538c373ae06
parent35b73aa3c6fb163f1389d30f0c175bec19696698
Bug 14399: Results form also needs a few interface changes

Currently, the value of compareinv2barcd is used to determine if the
Seen column, the Select/Clear all buttons and the Mark seen buttons are
displayed. But if we scanned barcodes, we already marked items as seen.
So we should only display these buttons when we did not upload barcodes.

Test plan:
[1] Upload a barcode file. Check that the result form does not show
    the buttons.
[2] Generate an inventory list, so do not upload a barcode file. Verify
    that you still see the buttons.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt
tools/inventory.pl