Follow-up patch : use the subfield associated with items.barcode
authorFrédérick Capovilla <frederick.capovilla@libeo.com>
Mon, 17 Oct 2011 20:01:29 +0000 (16:01 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 4 Nov 2011 09:22:52 +0000 (10:22 +0100)
commit61e1eeee84083f835a85d43128f4b6cbeef636dd
tree0fa5b86bacca6ebd1af593038003224f33203051
parent327be442bd6e63e5ff8c0a5e2461ae836e8deffb
Follow-up patch : use the subfield associated with items.barcode

Instead of using the 'p' subfield directly, use the subfield letter
associated with the items.barcode column.

http://bugs.koha-community.org/show_bug.cgi?id=6963
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Test cases tested:
- 1 item, barcode empty
- 2 items, barcodes both empty
- 1 item, existing barcode
- 1 item, new barcode
- 2 items, one barcode empty, one existing

All test cases worked nicely and gave correct error messages.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
acqui/neworderempty.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt