Lines 15-32
dt_overwrite_html_sorting_localeCompare();
Link Here
|
15 |
|
15 |
|
16 |
$(document).ready(function() { |
16 |
$(document).ready(function() { |
17 |
|
17 |
|
18 |
//Store element references for the modal box in variables |
|
|
19 |
var modal = document.getElementById('acquisitionsModal'); |
20 |
var span = document.getElementsByClassName("close")[0]; |
21 |
|
22 |
//If no budget has been created fade in the acquisitions modal informational box |
23 |
if ( showModal == 1) { |
24 |
$('#acquisitionsModal').fadeIn(1000); |
25 |
} |
26 |
if ( hideModal == 1) { |
27 |
$('#acquisitionsModal').hide(); |
28 |
} |
29 |
|
30 |
var oTable = $("#accounts").dataTable($.extend(true, {}, dataTablesDefaults, { |
18 |
var oTable = $("#accounts").dataTable($.extend(true, {}, dataTablesDefaults, { |
31 |
"fnDrawCallback": function ( oSettings ) { |
19 |
"fnDrawCallback": function ( oSettings ) { |
32 |
if ( oSettings.aiDisplay.length == 0 ) |
20 |
if ( oSettings.aiDisplay.length == 0 ) |
Lines 115-124
$(document).ready(function() {
Link Here
|
115 |
[% INCLUDE 'budgets-active-currency.inc' hide = 'yes' %] |
103 |
[% INCLUDE 'budgets-active-currency.inc' hide = 'yes' %] |
116 |
[% UNLESS ( loop_budget ) %] |
104 |
[% UNLESS ( loop_budget ) %] |
117 |
[% IF ( CAN_user_acquisition_period_manage ) %] |
105 |
[% IF ( CAN_user_acquisition_period_manage ) %] |
118 |
<script type="text/javascript"> |
106 |
<div id="acquisitionsModal" style="z-index:1;background-color:#EDF4F6;padding:20px;width:60%;height:30%;position:fixed;align:center;left:auto;top:auto;right:auto;bottom:10%;"> |
119 |
var showModal = 1; |
|
|
120 |
</script> |
121 |
<div id="acquisitionsModal" class="modal" style="z-index:1;display:none;background-color:#EDF4F6;padding:20px;width:60%;height:30%; position:fixed;align:center;left:auto;top:auto;right:auto;bottom:auto;"> |
122 |
<div class="acquisition-modal-content"> |
107 |
<div class="acquisition-modal-content"> |
123 |
Follow these links to set everything up ready to purchase orders:<br><br> |
108 |
Follow these links to set everything up ready to purchase orders:<br><br> |
124 |
<h2><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form" target="_blank" data-toggle="tooltip" title="The budget is the overall amount of money avaliable for the institution over a period of time">1. Create a budget</a> |
109 |
<h2><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form" target="_blank" data-toggle="tooltip" title="The budget is the overall amount of money avaliable for the institution over a period of time">1. Create a budget</a> |
Lines 135-144
$(document).ready(function() {
Link Here
|
135 |
<div class="dialog alert">Your administrator must define a budget in Administration</div> |
120 |
<div class="dialog alert">Your administrator must define a budget in Administration</div> |
136 |
[% END %] |
121 |
[% END %] |
137 |
[% END %] |
122 |
[% END %] |
138 |
<script type="text/javascript"> |
|
|
139 |
var hideModal = 1; |
140 |
</script> |
141 |
|
142 |
<div class="yui-g"> |
123 |
<div class="yui-g"> |
143 |
<div class="yui-u first"> |
124 |
<div class="yui-u first"> |
144 |
<div id="acqui_acqui_home_order"> |
125 |
<div id="acqui_acqui_home_order"> |
145 |
- |
|
|