[% 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' %]
[% END %]
[% IF op =='delete_confirm' %]
[% IF nb_of_orders or nb_of_vendors %]
Cannot delete currency '[% currency.currency %]'
[% 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 %]'
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 %]
[% END %]
Currency |
Rate |
Symbol |
ISO code |
Last updated |
Active |
Archived |
Actions |
[% FOREACH currency IN currencies %]
[% currency.currency %] |
[% currency.rate %] |
[% currency.symbol |html %] |
[% currency.isocode |html %] |
[% currency.timestamp | $KohaDates %] |
[% IF currency.active %]✓[% END %] |
[% IF currency.archived %]Yes[% END %] |
Edit
Delete
|
[% END %]
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 %]