diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 21e8e8a618..380a48d3ba 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -372,6 +372,54 @@ modules: cannot_be_toggled: 1 cannot_be_modified: 1 + edi_accounts: + edi_accounts_table: + default_display_length: 20 + default_sort_order: 1 + columns: + - + columnname: id + - + columnname: vendor + - + columnname: description + - + columnname: transport + - + columnname: remote_host + - + columnname: username + - + columnname: password + - + columnname: upload_port + - + columnname: download_port + - + columnname: download_directory + - + columnname: upload_directory + - + columnname: qualifier + - + columnname: san + - + columnname: standard + - + columnname: quotes + - + columnname: orders + - + columnname: invoices + - + columnname: responses + - + columnname: auto_ordering + - + columnname: actions + cannot_be_toggled: 1 + cannot_be_modified: 1 + itemtypes: table_item_type: default_display_length: 10 diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt index 4e554f03eb..6a207b8ba0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt @@ -1,6 +1,7 @@ [% USE raw %] [% USE Koha %] [% USE Asset %] +[% USE TablesSettings %] [% PROCESS 'i18n.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] @@ -293,83 +294,103 @@ [% IF ( ediaccounts ) %]
| ID | -Vendor | -Description | -Transport | -Remote host | -Username | -Password | -Upload port | -Download port | -Download directory | -Upload directory | -Qualifier | -SAN | -Standard | -[% tp('EDIFACT message QUOTE', 'Quotes') | html %] | -Orders | -Invoices | -Responses | -Auto ordering | -Actions | -
|---|
| [% account.id | html %] | -[% account.vendor.name | html %] | -[% account.description | html %] | -[% account.transport | html %] | -[% account.host | html %] | -[% account.username | html %] | -[% IF account.password %]*****[% END %] | -[% account.upload_port | html %] | -[% account.download_port | html %] | -[% account.download_directory | html %] | -[% account.upload_directory | html %] | -- [% FOREACH qualifier IN code_qualifiers %] - [% IF qualifier.code == account.id_code_qualifier %] - [% qualifier.description | html %] - [% END %] - [% END %] - ([% account.id_code_qualifier | html %]) - | -[% account.san | html %] | -[% IF account.standard == 'BIC' %]BiC[% ELSE %]EDItEUR[% END %] | - [% IF account.quotes_enabled %] -Yes | - [% ELSE %] -No | - [% END %] - [% IF account.orders_enabled %] -Yes | - [% ELSE %] -No | - [% END %] - [% IF account.invoices_enabled %] -Yes | - [% ELSE %] -No | - [% END %] - [% IF account.responses_enabled %] -Yes | - [% ELSE %] -No | - [% END %] - [% IF account.auto_orders %] -Yes | - [% ELSE %] -No | - [% END %] -- Edit - Delete - | +ID | +Vendor | +Description | +Transport | +Remote host | +Username | +Password | +Upload port | +Download port | +Download directory | +Upload directory | +Qualifier | +SAN | +Standard | +[% tp('EDIFACT message QUOTE', 'Quotes') | html %] | +Orders | +Invoices | +Responses | +Auto ordering | +Actions |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| [% account.id | html %] | +[% account.vendor.name | html %] | +[% account.description | html %] | +[% account.transport | html %] | +[% account.host | html %] | +[% account.username | html %] | +[% IF account.password %]*****[% END %] | +[% account.upload_port | html %] | +[% account.download_port | html %] | +[% account.download_directory | html %] | +[% account.upload_directory | html %] | ++ [% FOREACH qualifier IN code_qualifiers %] + [% IF qualifier.code == account.id_code_qualifier %] + [% qualifier.description | html %] + [% END %] + [% END %] + ([% account.id_code_qualifier | html %]) + | +[% account.san | html %] | ++ [% IF account.standard == 'BIC' %] + BiC + [% ELSE %] + EDItEUR + [% END %] + | ++ [% IF account.quotes_enabled %] + Yes + [% ELSE %] + No + [% END %] + | ++ [% IF account.orders_enabled %] + Yes + [% ELSE %] + No + [% END %] + | ++ [% IF account.invoices_enabled %] + Yes + [% ELSE %] + No + [% END %] + | ++ [% IF account.responses_enabled %] + Yes + [% ELSE %] + No + [% END %] + | ++ [% IF account.auto_orders %] + Yes + [% ELSE %] + No + [% END %] + | ++ Edit + Delete + | +