Bug 21425: Display basketno correctly in Order error msg
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 27 Sep 2018 11:25:28 +0000 (12:25 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 1 Oct 2018 13:56:19 +0000 (13:56 +0000)
commite81756b317da848a6e6346a7c0db8f3b986f7058
tree5767b5a37b83ba43e431e174ea6fc2ba22fa95aa
parent623f1db90ac8d0361a879813c66a4bccbf0ea23e
Bug 21425: Display basketno correctly in Order error msg

carp will display the hash value instead of the desired basketno
in the error message unless we change its behaviour

Use the simpler but effective option of concatenating
the errormessage with the basketno. Error is shown if no
sender or receipient ean is passed in instantiating
an Koha::Edifact::Order object

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Edifact/Order.pm