e3fa3a3978
Some templates use Edifact and edifact. As EDIFACT is an abbreviation, we should spell it like one. To test: - Check templates for occurrences of EDIFACT - acquisitions navigation menu - basket page - basketgroup page - EDIFACT messages page - Verify changes are correct Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> Changes are correct Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
90 lines
2.2 KiB
Text
90 lines
2.2 KiB
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha › Acquisitions</title>
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
[% INCLUDE 'datatables.inc' %]
|
|
<script type="text/javascript">
|
|
$(document).ready(function() {
|
|
$('#edi_msgs').dataTable($.extend(true, {}, dataTablesDefaults, {
|
|
'aaSorting': [[1, "desc" ]],
|
|
'sPaginationType': "four_button"
|
|
}));
|
|
});
|
|
</script>
|
|
|
|
</head>
|
|
<body id="acq_edifactmsgs" class="acq">
|
|
[% INCLUDE 'header.inc' %]
|
|
[% INCLUDE 'acquisitions-search.inc' %]
|
|
<div id="breadcrumbs">
|
|
<a href="/cgi-bin/koha/mainpage.pl">Home</a>
|
|
› <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
|
|
› <a href="/cgi-bin/koha/acqui/edifactmsgs.pl">EDIFACT messages</a>
|
|
</div>
|
|
|
|
<div id="doc3" class="yui-t2">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
|
|
|
|
<h1>EDIFACT messages</h1>
|
|
<div id="acqui_edifactmsgs">
|
|
|
|
|
|
<table id="edi_msgs">
|
|
<thead>
|
|
<th>Type</th>
|
|
<th>Transferred</th>
|
|
<th>Status</th>
|
|
<th>Vendor</th>
|
|
<th>Details</th>
|
|
<th>Filename</th>
|
|
<th> </th>
|
|
<th>Action</th>
|
|
</thead>
|
|
<tbody>
|
|
[% FOREACH msg IN messages %]
|
|
<tr>
|
|
<td>[% msg.message_type %]</td>
|
|
<td>[% msg.transfer_date %]</td>
|
|
<td>[% msg.status %]</td>
|
|
<td>
|
|
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% msg.vendor_id %]"</a>
|
|
[% msg.vendor.name %]
|
|
</td>
|
|
<td>
|
|
[% IF msg.message_type == 'QUOTE' || msg.message_type == 'ORDERS' %]
|
|
[% IF msg.basketno %]
|
|
<a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% msg.basketno.basketno %]">
|
|
Basket: [% msg.basketno.basketno %]
|
|
</a>
|
|
[% END %]
|
|
[% ELSE %]
|
|
<!-- Assuming invoices -->
|
|
<a href="/cgi-bin/koha/acqui/invoices.pl?message_id=[% msg.id %]">
|
|
Invoices
|
|
</a>
|
|
[% END %]
|
|
</td>
|
|
</td>
|
|
<td>[% msg.filename %]</td>
|
|
<td><a class="popup" target="_blank" title="View Message" href="/cgi-bin/koha/acqui/edimsg.pl?id=[% msg.id %]"</a>View message</td>
|
|
<td>
|
|
<a href="/cgi-bin/koha/acqui/edifactmsgs.pl?op=delete&message_id=[% msg.id %]">Delete</a>
|
|
</td>
|
|
</tr>
|
|
[% END %]
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
[% INCLUDE 'acquisitions-menu.inc' %]
|
|
</div>
|
|
</div>
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|