[Koha-bugs] [Bug 32676] EDI message status uses varying case, breaking EDI status block

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 27 16:42:34 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32676

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #145405|0                           |1
        is obsolete|                            |

--- Comment #2 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 145758
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145758&action=edit
BugĀ 32676: EDI message status uses varying case, breaking EDI status block

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, not the Sent status does not
   display.
2) Apply this patch
3) Reload the page, note the status is now visible!

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list