Lines 15-20
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 |
|
18 |
var oTable = $("#accounts").dataTable($.extend(true, {}, dataTablesDefaults, { |
30 |
var oTable = $("#accounts").dataTable($.extend(true, {}, dataTablesDefaults, { |
19 |
"fnDrawCallback": function ( oSettings ) { |
31 |
"fnDrawCallback": function ( oSettings ) { |
20 |
if ( oSettings.aiDisplay.length == 0 ) |
32 |
if ( oSettings.aiDisplay.length == 0 ) |
Lines 103-113
$(document).ready(function() {
Link Here
|
103 |
[% INCLUDE 'budgets-active-currency.inc' hide = 'yes' %] |
115 |
[% INCLUDE 'budgets-active-currency.inc' hide = 'yes' %] |
104 |
[% UNLESS ( loop_budget ) %] |
116 |
[% UNLESS ( loop_budget ) %] |
105 |
[% IF ( CAN_user_acquisition_period_manage ) %] |
117 |
[% IF ( CAN_user_acquisition_period_manage ) %] |
106 |
<div class="dialog alert"><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">You must define a budget in Administration</a></div> |
118 |
<script type="text/javascript"> |
|
|
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"> |
123 |
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> |
125 |
-> |
126 |
<a href="/cgi-bin/koha/admin/aqbudgetperiods.pl" target="_blank" data-toggle="tooltip" title="The fund is the amount of mo ney for one area of the institution e.g. Books fund. Click this link then select the 'Edit' button beside the budget and click 'Add fund'"> 2. assign a fund to that budget</a> |
127 |
-> |
128 |
<a href="/cgi-bin/koha/acqui/supplier.pl?op=enter" target="_blank" data-toggle="tooltip" title="Vendor is the organisation you purchase items from">3. create a vendor</a> |
129 |
-> |
130 |
<a href="/cgi-bin/koha/acqui/booksellers.pl" target="_blank" data-toggle="tooltip" title="Basket contains the order items. Select the 'New basket' button">4. create a basket</a> |
131 |
</h2> |
132 |
</div> |
133 |
</div> |
107 |
[% ELSE %] |
134 |
[% ELSE %] |
108 |
<div class="dialog alert">Your administrator must define a budget in Administration</div> |
135 |
<div class="dialog alert">Your administrator must define a budget in Administration</div> |
109 |
[% END %] |
136 |
[% END %] |
110 |
[% END %] |
137 |
[% END %] |
|
|
138 |
<script type="text/javascript"> |
139 |
var hideModal = 1; |
140 |
</script> |
141 |
|
111 |
<div class="yui-g"> |
142 |
<div class="yui-g"> |
112 |
<div class="yui-u first"> |
143 |
<div class="yui-u first"> |
113 |
<div id="acqui_acqui_home_order"> |
144 |
<div id="acqui_acqui_home_order"> |
114 |
- |
|
|