From 9663ed7de48df4b70fbb4c43b83084043ffd286a Mon Sep 17 00:00:00 2001 From: Matthias Meusburger Date: Wed, 26 Jun 2019 14:58:44 +0200 Subject: [PATCH] Bug 23114 - Inventory: allow to scan barcodes This patch allows the user to scan barcodes in the inventory tool (in addition to upload a barcode file, like in other tools) Test plan: 1) Apply the patch. 2) Check that you can still upload a barcode file. 3) Check that you can scan/enter barcodes in the new textarea. 4) Check that if you both upload a barcode file and enter barcodes, you will be prompted to choose only one method. 5) Check that you can then proceed to the next step by either resetting the upload file input or emptying the textarea. --- .../prog/en/modules/tools/inventory.tt | 91 ++++++++++++++-------- tools/inventory.pl | 16 ++-- 2 files changed, 70 insertions(+), 37 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt index 7739c83..0fdaf8c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt @@ -42,14 +42,28 @@
Use a barcode file
    -
  1. -
  2. -
  3. -
  4. -
  5. +
  6. +
- +
+ Or scan items one by one +
    +
  1. + + +
  2. +
+
+
+ Parameters +
    +
  1. +
  2. +
  3. +
  4. +
+
Item location filters
  1. @@ -277,7 +291,11 @@ [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %]