Bug 40334: (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 messages for the Basket. The interchange file will often contain other messages of the same type that came through at the same time of the this basket 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
4f120d8666
commit
78aa42e969
|
|
@ -137,7 +137,7 @@
|
|||
[% IF quote_messages.size > 0 && order_messages.size > 0 %]
|
||||
<!-- Both quote and order messages exist -->
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-default dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false"> <i class="fa fa-file-text"></i> View EDIFACT messages </button>
|
||||
<button class="btn btn-default dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false"> <i class="fa fa-file-text"></i> View EDIFACT interchanges </button>
|
||||
<ul class="dropdown-menu">
|
||||
[% FOR message IN quote_messages %]
|
||||
<li>
|
||||
|
|
@ -343,9 +343,9 @@
|
|||
[% END %]
|
||||
|
||||
[% IF quote_messages.size > 0 && order_messages.size > 0 %]
|
||||
<!-- Both quote and order messages exist -->
|
||||
<!-- Both quote and order interchanges exist -->
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-default dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false"> <i class="fa fa-file-text"></i> View EDIFACT messages </button>
|
||||
<button class="btn btn-default dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false"> <i class="fa fa-file-text"></i> View EDIFACT interchanges </button>
|
||||
<ul class="dropdown-menu">
|
||||
[% FOR message IN quote_messages %]
|
||||
<li>
|
||||
|
|
@ -364,7 +364,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
[% ELSIF quote_messages.size > 0 %]
|
||||
<!-- Only quote messages exist -->
|
||||
<!-- Only quote interchanges exist -->
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-default view_edifact_message" data-message-id="[% quote_messages.0.id | html %]"> <i class="fa fa-quote-left"></i> View EDIFACT quote </button>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue