Bug 34820: Clarify inventory tool message for items with non-matching notforloan...
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 18 Sep 2023 16:02:34 +0000 (12:02 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 4 Oct 2023 13:44:04 +0000 (09:44 -0400)
commit1810fac11e5329804a6340dc60ebeb50527b7160
tree6a8bcd74b23448a985d13b3765143c2363300697
parenta3849909a98f286ffedead029aff5fc2b16a6c76
Bug 34820: Clarify inventory tool message for items with non-matching notforloan value

In the inventory tool, if one or more not for loan values are selected, and an item is scanned that has no NFL status or an unselected NFL status, the error message reads "Unknown not-for-loan status". This can be interpreted as the item having an NFL status value that is not defined in the system, but that is not accurate. This should be reworded to remove ambiguity.

Test plan:
1) Create two items, one of which has the NFL status of "Ordered", the
   other having no NFL status
2) Enter those two barcodes in the inventory tool barcodes list
3) Check only "Ordered" in items.notforloan
4) Note the problem messages
5) Apply this patch
6) Re-run the inventory tool
7) Note the new clarified messages!

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt