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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 11 Oct 2018 12:59:37 +0000 (14:59 +0200)
commit6c45261cb4b9453e5ec189340da0e6495a4d2663
tree4ad30b97bc5ca7dbb81d3ecc22db06a1ee92a757
parent181e84814771dff45d523de73e8972d7c0150987
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>
(cherry picked from commit e81756b317da848a6e6346a7c0db8f3b986f7058)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit f7088ecf4b752f3e61e94ff4738fb04b97d574d2)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Edifact/Order.pm