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

--- Comment #1 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 183902
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183902&action=edit
Bug 40333: Add EDIFACT message link to invoice display page

This enhancement adds a link from the invoice display page back to the
EDIFACT message that was used to create the invoice, improving workflow
and traceability for acquisitions staff.

Changes include:
- Display EDIFACT message information on invoice page when available
- Show message type, transfer date, status, and filename
- Add "View EDIFACT message" button that opens modal with raw message
- Display EDIFACT processing errors directly on invoice page
- Create reusable modal components for EDIFACT message display

The implementation checks if the EDIFACT system is enabled and if the
invoice has an associated message_id before displaying the EDIFACT
section. Processing errors are highlighted in a warning box with
clear formatting.

To test:
1. Enable EDIFACT system preference
2. Create an invoice linked to an EDIFACT message
3. View the invoice - EDIFACT section should appear after vendor info
4. Click "View EDIFACT message" to see the raw EDIFACT data in a modal
5. If there are processing errors, they should be displayed clearly

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to