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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 5 Oct 2018 15:38:33 +0000 (16:38 +0100)
commitf7088ecf4b752f3e61e94ff4738fb04b97d574d2
treeb98b17fb8ea0ce343219708f75e2c3c8c39d59c5
parent721cefdb95ba6d3f8fb59f6b02255cd76d8a3fbf
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>
Koha/Edifact/Order.pm