Lines 4-9
Link Here
|
4 |
<title>Koha › Acquisitions</title> |
4 |
<title>Koha › Acquisitions</title> |
5 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
[% INCLUDE 'doc-head-close.inc' %] |
6 |
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" /> |
6 |
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" /> |
|
|
7 |
<style type="text/css"> |
8 |
#acquisitionsModal{ |
9 |
z-index:1; |
10 |
background-color:#EDF4F6; |
11 |
padding:20px; |
12 |
width:65%; |
13 |
height:20%; |
14 |
position:fixed; |
15 |
left:auto; |
16 |
top:auto; |
17 |
right:auto; |
18 |
bottom:auto; |
19 |
} |
20 |
</style> |
21 |
|
7 |
[% INCLUDE 'datatables.inc' %] |
22 |
[% INCLUDE 'datatables.inc' %] |
8 |
<link href="[% interface %]/lib/jquery/plugins/treetable/stylesheets/jquery.treetable.css" rel="stylesheet" type="text/css" /> |
23 |
<link href="[% interface %]/lib/jquery/plugins/treetable/stylesheets/jquery.treetable.css" rel="stylesheet" type="text/css" /> |
9 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/treetable/jquery.treetable.js"></script> |
24 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/treetable/jquery.treetable.js"></script> |
Lines 15-20
dt_overwrite_html_sorting_localeCompare();
Link Here
|
15 |
|
30 |
|
16 |
$(document).ready(function() { |
31 |
$(document).ready(function() { |
17 |
|
32 |
|
|
|
33 |
var modal = document.getElementById('acquisitionsModal'); |
34 |
var span = document.getElementsByClassName("close")[0]; |
35 |
|
36 |
span.onclick = function() { |
37 |
modal.style.display = "none"; |
38 |
} |
39 |
|
18 |
var oTable = $("#accounts").dataTable($.extend(true, {}, dataTablesDefaults, { |
40 |
var oTable = $("#accounts").dataTable($.extend(true, {}, dataTablesDefaults, { |
19 |
"fnDrawCallback": function ( oSettings ) { |
41 |
"fnDrawCallback": function ( oSettings ) { |
20 |
if ( oSettings.aiDisplay.length == 0 ) |
42 |
if ( oSettings.aiDisplay.length == 0 ) |
Lines 103-113
$(document).ready(function() {
Link Here
|
103 |
[% INCLUDE 'budgets-active-currency.inc' hide = 'yes' %] |
125 |
[% INCLUDE 'budgets-active-currency.inc' hide = 'yes' %] |
104 |
[% UNLESS ( loop_budget ) %] |
126 |
[% UNLESS ( loop_budget ) %] |
105 |
[% IF ( CAN_user_acquisition_period_manage ) %] |
127 |
[% 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> |
128 |
<div id="acquisitionsModal"> |
|
|
129 |
<span class="close">×</span><br><br> |
130 |
<b>Follow these links to set everything up ready to create orders:</b><br><br> |
131 |
<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> |
132 |
-> |
133 |
<a href="/cgi-bin/koha/admin/aqbudgetperiods.pl" target="_blank" data-toggle="tooltip" title="The fund is the amount of money 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> |
134 |
-> |
135 |
<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> |
136 |
-> |
137 |
<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> |
138 |
</h2> |
139 |
</div> |
107 |
[% ELSE %] |
140 |
[% ELSE %] |
108 |
<div class="dialog alert">Your administrator must define a budget in Administration</div> |
141 |
<div class="dialog alert">Your administrator must define a budget in Administration</div> |
109 |
[% END %] |
142 |
[% END %] |
110 |
[% END %] |
143 |
[% END %] |
|
|
144 |
<script type="text/javascript"> |
145 |
var showModal = 2; |
146 |
</script> |
111 |
<div class="yui-g"> |
147 |
<div class="yui-g"> |
112 |
<div class="yui-u first"> |
148 |
<div class="yui-u first"> |
113 |
<div id="acqui_acqui_home_order"> |
149 |
<div id="acqui_acqui_home_order"> |
114 |
- |
|
|