diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt index 453da0e021..060c45050a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt @@ -72,31 +72,19 @@ } } - - - [% IF ( dateformat == 'metric' ) %] - dt_add_type_uk_date(); - [% END %] $(document).ready(function() { var tabs = $('#budgetsTabs').tabs(); [% IF ( tab ) %] - tabs.tabs('select', [% tab %]); + tabs.tabs("option", "active", [% tab %]); [% END %] $("#activeperiodst,#inactiveperiodst").dataTable($.extend(true, {}, dataTablesDefaults, { - "aoColumnDefs": [ - { - [% IF ( dateformat == 'metric' ) %] - "aTargets": [ 1, 2 ], "sType": "uk_date", - [% END %] - "bSortable": false, 'aTargets':['_all'], - }, - ], - "sPaginationType": "four_button", "sDom": 't', - "bAutoWidth": false, - "bPaginate": false, - "bInfo": false, - "bFilter": false, + "aaSorting": [], + "aoColumnDefs": [ + { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, + { "sType": "title-string", "aTargets" : [ "title-string" ] } + ], + "bPaginate": false } ) ); }); @@ -329,8 +317,8 @@ Budget name - Start date - End date + Start date + End date Locked Total Actions @@ -340,14 +328,14 @@ [% FOREACH period_active IN period_active_loop %] [% period_active.budget_period_description %] - [% period_active.budget_period_startdate | $KohaDates %] - [% period_active.budget_period_enddate | $KohaDates %] + [% period_active.budget_period_startdate | $KohaDates %] + [% period_active.budget_period_enddate | $KohaDates %] [% IF ( period_active.budget_period_locked ) %] Locked  [% END %] - [% period_active.budget_period_total %] + [% period_active.budget_period_total %] Edit Delete @@ -368,8 +356,8 @@ Budget name - Start date - End date + Start date + End date Locked Total Actions @@ -383,10 +371,10 @@ [% END %] [% period_loo.budget_period_description %] - [% period_loo.budget_period_startdate | $KohaDates %] - [% period_loo.budget_period_enddate | $KohaDates %] + [% period_loo.budget_period_startdate | $KohaDates %] + [% period_loo.budget_period_enddate | $KohaDates %] [% IF ( period_loo.budget_period_locked ) %]Locked [% ELSE %][% END %] - [% period_loo.budget_period_total %] + [% period_loo.budget_period_total %] Edit Delete