Bug 40333: (follow-up) Terminology
The envelope level of EDIFACT is called an 'Interchange'. This patch updates our UI terminology to match the official protocol terminology as what we're actually displaying here is the Interchange file that contains the related message for the Invoice. The interchange file will often contain other messages of the same type that came through at the same time of the this invoice generation. Sponsored-by: Open Fifth <https://openfith.co.uk> Signed-off-by: Hannah Dunne-Howrie <hdunne-howrie@westminster.gov.uk> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
55abaf2006
commit
6e6efc930e
|
|
@ -1,12 +1,12 @@
|
|||
[%# EDIFACT message modal include %]
|
||||
[%# This modal can be used on any page that needs to display EDIFACT messages %]
|
||||
[%# EDIFACT interchange modal include %]
|
||||
[%# This modal can be used on any page that needs to display EDIFACT interchanges %]
|
||||
|
||||
<!-- Modal to display EDIFACT messages -->
|
||||
<!-- Modal to display EDIFACT interchanges -->
|
||||
<div class="modal" id="EDI_modal" tabindex="-1" role="dialog" aria-labelledby="EDI_modal_label" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h1 class="modal-title" id="EDI_modal_label">EDIFACT message</h1>
|
||||
<h1 class="modal-title" id="EDI_modal_label">EDIFACT Interchange</h1>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
|
|
|||
|
|
@ -59,20 +59,20 @@
|
|||
|
||||
[% IF edifact_enabled && edifact_message %]
|
||||
<div class="page-section">
|
||||
<h3>EDIFACT Message</h3>
|
||||
<h3>EDIFACT Interchange</h3>
|
||||
<p>
|
||||
<strong>Message type:</strong> [% edifact_message.message_type | html %] <strong>Transfer date:</strong> [% edifact_message.transfer_date | $KohaDates %] <strong>Status:</strong> [% edifact_message.status | html %]
|
||||
<strong>Interchange type:</strong> [% edifact_message.message_type | html %] <strong>Transfer date:</strong> [% edifact_message.transfer_date | $KohaDates %] <strong>Status:</strong> [% edifact_message.status | html %]
|
||||
[% IF edifact_message.filename %]
|
||||
<strong>Filename:</strong> [% edifact_message.filename | html %]
|
||||
[% END %]
|
||||
</p>
|
||||
<p>
|
||||
<a href="#" class="btn btn-default btn-sm view_edifact_message" data-message-id="[% edifact_message.id | html %]"> <i class="fa fa-search"></i> View EDIFACT message </a>
|
||||
<a href="#" class="btn btn-default btn-sm view_edifact_message" data-message-id="[% edifact_message.id | html %]"> <i class="fa fa-search"></i> View interchange</a>
|
||||
</p>
|
||||
|
||||
[% IF edifact_errors.size > 0 %]
|
||||
<div class="alert alert-warning">
|
||||
<h4><i class="fa fa-exclamation-triangle"></i> EDIFACT Processing Errors</h4>
|
||||
<h4><i class="fa fa-exclamation-triangle"></i> Processing Errors</h4>
|
||||
<ul>
|
||||
[% FOREACH error IN edifact_errors %]
|
||||
<li>
|
||||
|
|
|
|||
Loading…
Reference in New Issue