Bug 25687: Switch Y/N in EDI accounts table for Yes and No for better translatability
authorOwen Leonard <oleonard@myacpl.org>
Tue, 9 Jun 2020 20:05:48 +0000 (20:05 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 15 Jun 2020 09:53:36 +0000 (11:53 +0200)
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>

koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt

index 79388b8..8f69e04 100644 (file)
      </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>