]> git.koha-community.org Git - koha.git/commit
Bug 32676: Fix EDI message status case
authorKyle Hall <kyle@bywatersolutions.com>
Tue, 31 Jan 2023 17:42:46 +0000 (12:42 -0500)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 6 Oct 2023 00:24:38 +0000 (14:24 -1000)
commit92e977062cc70eb149e70e93e645b483d221a671
treea63a23d314607f20c2b258812539ae021da27e95
parenta19515a9d41e14ff01b272292238853aba74c9be
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>
(cherry picked from commit b0b33b382c5254db2b4d78ee4d00f03d589513ca)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt