@@ -, +, @@
displayed when the user first visits the acquisition area
---
.../prog/en/includes/budgets-active-currency.inc | 8 ++---
.../prog/en/modules/acqui/acqui-home.tt | 38 +++++++++++++++++++++-
2 files changed, 41 insertions(+), 5 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-active-currency.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-active-currency.inc
@@ -3,12 +3,12 @@
Currency = [% currency %]
[% END %]
[% ELSE %]
-
-
No active currency is defined
[% IF CAN_user_parameters_parameters_remaining_permissions %]
-
Please specify an active currency.
+
You have no currencies defined in your database
+
Enter a currency
[% ELSE %]
Your administrator must specify an active currency.
[% END %]
-
+
+ Now you can follow the below steps to set up acquisitions.
[% END %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt
@@ -4,6 +4,21 @@
Koha › Acquisitions
[% INCLUDE 'doc-head-close.inc' %]
+
+
[% INCLUDE 'datatables.inc' %]
@@ -15,6 +30,13 @@ dt_overwrite_html_sorting_localeCompare();
$(document).ready(function() {
+ var modal = document.getElementById('acquisitionsModal');
+ var span = document.getElementsByClassName("close")[0];
+
+ span.onclick = function() {
+ modal.style.display = "none";
+ }
+
var oTable = $("#accounts").dataTable($.extend(true, {}, dataTablesDefaults, {
"fnDrawCallback": function ( oSettings ) {
if ( oSettings.aiDisplay.length == 0 )
@@ -103,11 +125,25 @@ $(document).ready(function() {
[% INCLUDE 'budgets-active-currency.inc' hide = 'yes' %]
[% UNLESS ( loop_budget ) %]
[% IF ( CAN_user_acquisition_period_manage ) %]
-
+
+
×
+
Follow these links to set everything up ready to create orders:
+
+
[% ELSE %]
Your administrator must define a budget in Administration
[% END %]
[% END %]
+