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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Mon, 5 Jun 2017 13:10:05 +0000 (15:10 +0200)
commitcb82ca95ec579b6ad05b24163673e68039f56520
tree375717a0197ece383b3bc1640b59325de3e1a52d
parent122fa4c82af978b3d074ae4bafb2b0f49a3e4592
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>
(cherry picked from commit af89df12e72ea51010039a2206bb942bcc4c4b50)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt
tools/inventory.pl