Bug 25687: Switch Y/N in EDI accounts table for Yes and No for better translatability

This patch changes the list of EDI accounts shown in EDI administration
so that columns which previously used "Y" or "N" now show "Yes" or "No."

To test, apply the patch and go to Administration -> EDI accounts.

If necessary, add an EDI account. In the table of information about the
EDI account, the columns with information about quotes, orders,
invoices, responses, and auto-ordering should show "Yes" or "No" based
on the account's settings.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Owen Leonard 2020-06-09 20:05:48 +00:00 committed by Jonathan Druart
parent 7eb471fcdb
commit 40aaf25409

View file

@ -282,29 +282,29 @@
</td>
<td>[% account.san | html %]</td>
[% IF account.quotes_enabled %]
<td>Y</td>
<td>Yes</td>
[% ELSE %]
<td>N</td>
<td>No</td>
[% END %]
[% IF account.orders_enabled %]
<td>Y</td>
<td>Yes</td>
[% ELSE %]
<td>N</td>
<td>No</td>
[% END %]
[% IF account.invoices_enabled %]
<td>Y</td>
<td>Yes</td>
[% ELSE %]
<td>N</td>
<td>No</td>
[% END %]
[% IF account.responses_enabled %]
<td>Y</td>
<td>Yes</td>
[% ELSE %]
<td>N</td>
<td>No</td>
[% END %]
[% IF account.auto_orders %]
<td>Y</td>
<td>Yes</td>
[% ELSE %]
<td>N</td>
<td>No</td>
[% END %]
<td class="actions">
<a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/edi_accounts.pl?op=acct_form&id=[% account.id | html %]"><i class="fa fa-pencil"></i> Edit</a> <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/edi_accounts.pl?op=delete_confirm&id=[% account.id | html %]"><i class="fa fa-trash"></i> Delete</a>