[% USE Asset %] [% USE KohaDates %] [% USE ColumnsSettings %] [% USE HtmlTags %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Administration › Currencies & Exchange rates › [% IF op == 'add_form' %][% IF currency %]Modify currency '[% currency.currency %]'[% ELSE %]New currency[% END %][% END %] [% IF op == 'delete_confirm' %]Confirm deletion of currency '[% currency.currency %]'[% END %] [% IF op == 'list' %]Currencies[% END %] [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/datatables.css") %] [% INCLUDE 'header.inc' %] [% INCLUDE 'currencies-admin-search.inc' %]
[% IF op == 'list' %] [% END %] [% FOR m IN messages %]
[% SWITCH m.code %] [% CASE 'error_on_update' %] An error occurred when updating this currency. Perhaps it already exists. [% CASE 'error_on_insert' %] An error occurred when adding this currency. The currency code might already exist. [% CASE 'error_on_delete' %] An error occurred when deleting this currency. Check the logs. [% CASE 'success_on_update' %] Currency updated successfully. [% CASE 'success_on_insert' %] Currency added successfully. [% CASE 'success_on_delete' %] Currency deleted successfully. [% CASE %] [% m.code %] [% END %]
[% END %] [% IF op == 'add_form' %]
[% IF currency %] Modify currency [% ELSE %] New currency [% END %]
  1. [% IF currency %] Currency: [% currency.currency %] [% ELSE %] Required [% END %]
  2. Required
  3. Required
  4. Last updated: [% currency.timestamp | $KohaDates %]
  5. [% IF currency.p_sep_by_space %] [% ELSE %] [% END %]
  6. [% IF currency.active %] [% ELSE %] [% END %]
Cancel
[% END %] [% IF op =='delete_confirm' %] [% IF nb_of_orders or nb_of_vendors %]

Cannot delete currency [% currency.currency | $HtmlTags tag='span' attributes=>'class="ex"' %]

[% IF nb_of_orders %] This currency is used by [% nb_of_orders %] orders. [% ELSIF nb_of_vendors %] This currency is used by [% nb_of_vendors %] vendors. [% END %] Deletion not possible

[% ELSE %]

Confirm deletion of currency [% currency.currency | $HtmlTags tag='span' attributes=>'class="ex"' %]

Currency [% currency.currency %]
Rate [% currency.rate %]
[% END %] [% END %] [% IF op == 'list' %]

Currencies and exchange rates

[% IF currencies and no_active_currency %]

No active currency is defined

Please edit one currency and mark it as active.

[% END %] [% IF searchfield %] You searched for [% searchfield |html %] [% END %] [% FOREACH currency IN currencies %] [% END %]
Currency Rate Symbol ISO code Last updated Active Archived Actions
[% currency.currency %] [% currency.rate %] [% currency.symbol |html %] [% currency.isocode |html %] [% currency.timestamp | $KohaDates %] [% IF currency.active %]✓[% END %] [% IF currency.archived %]Yes[% END %] Edit Delete

When importing MARC files via the staging tools, the tool will attempt to find and use the price of the currently active currency.

Some examples of compatible price fields include "$9.99", "9.99 USD", "$9.99 USD", "9.99 USD (10.00 CAN)", "$9.99 USD (paperback)". These examples assume USD is the active currency.

[% END %]
[% INCLUDE 'admin-menu.inc' %]
[% MACRO jsinclude BLOCK %] [% Asset.js("js/admin-menu.js") %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]