Bug 32676: Fix EDI message status case
authorKyle Hall <kyle@bywatersolutions.com>
Tue, 31 Jan 2023 17:42:46 +0000 (12:42 -0500)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 4 Oct 2023 13:44:06 +0000 (09:44 -0400)
commitb0b33b382c5254db2b4d78ee4d00f03d589513ca
tree088784893107af595d9d1c4d2e6d00d4047bbdee
parentd949ac5e5c277dc18f44fc958d6ccb72a4acfa75
Bug 32676: Fix EDI message status case

Edifact status appear to vary between all lower case and being
capitalized. This breaks the switch in the edi_status block of the
basket.tt template. We should make this switch case-insensitive.

Test Plan:
1) View the basket for a sent EDI order, note the Sent status does not
   display.
2) Apply this patch
3) Reloate the page, note the status is now visible!

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt