[% USE raw %] [% USE Asset %] [% USE KohaDates %] [% USE TablesSettings %] [% USE HtmlTags %] [% PROCESS 'i18n.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] [% FILTER collapse %] [% IF op == 'add_form' %] [% IF currency %] [% tx("Modify currency '{currency_name}'", { currency_name = currency.currency }) | html %] › [% ELSE %] [% t("New currency") | html %] › [% END %] [% END %] [% IF op == 'delete_confirm' %] [% tx("Confirm deletion of currency '{currency_name}'", { currency_name = currency.currency }) | html %] › [% END %] [% t("Currencies and exchange rates") | html %] › [% t("Administration") | html %] › [% t("Koha") | html %] [% END %] [% INCLUDE 'doc-head-close.inc' %] [% WRAPPER 'header.inc' %] [% INCLUDE 'currencies-admin-search.inc' %] [% END %] [% WRAPPER 'sub-header.inc' %] [% WRAPPER breadcrumbs %] [% WRAPPER breadcrumb_item %] Administration [% END %] [% IF op == 'add_form' || op == 'delete_confirm' %] [% WRAPPER breadcrumb_item %] Currencies and exchange rates [% END %] [% ELSIF op == 'list' %] [% WRAPPER breadcrumb_item bc_active= 1 %] Currencies and exchange rates [% END %] [% END %] [% IF op == 'add_form' %] [% WRAPPER breadcrumb_item bc_active= 1 %] [% IF currency %] [% tx("Modify currency '{currency_name}'", { currency_name = currency.currency }) | html %] [% ELSE %] New currency [% END %] [% END %] [% END %] [% IF op == 'delete_confirm' %] [% WRAPPER breadcrumb_item bc_active= 1 %] [% tx("Confirm deletion of currency '{currency_name}'", { currency_name = currency.currency }) | html %] [% END %] [% END %] [% END #/ WRAPPER breadcrumbs %] [% END #/ WRAPPER sub-header.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 for details. [% CASE 'success_on_update' %] Currency updated successfully. [% CASE 'success_on_insert' %] Currency added successfully. [% CASE 'success_on_delete' %] Currency deleted successfully. [% CASE %] [% m.code | html %] [% END %]
[% END %] [% IF op == 'add_form' %]

[% IF currency %] [% tx("Modify currency '{currency_name}'", { currency_name = currency.currency }) | html %] [% ELSE %] New currency [% END %]

New currency entry form
  1. [% IF currency %] Currency: [% currency.currency | html %] [% 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 | html %] orders. [% ELSIF nb_of_vendors %] This currency is used by [% nb_of_vendors | html %] vendors. [% END %] Deletion not possible

[% ELSE %]

[% tx("Confirm deletion of currency '{currency_name}'", { currency_name = currency.currency }) | html %]

Currency [% currency.currency | html %]
Rate [% currency.rate | html %]
[% 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 | html %] [% currency.rate | html %] [% 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 %]
[% MACRO jsinclude BLOCK %] [% Asset.js("js/admin-menu.js") | $raw %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]