Lines 3-14
Link Here
|
3 |
[% INCLUDE 'doc-head-close.inc' %] |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'calendar.inc' %] |
4 |
[% INCLUDE 'calendar.inc' %] |
5 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
5 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
6 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> |
6 |
[% INCLUDE 'datatables.inc' %] |
7 |
[% INCLUDE 'datatables-strings.inc' %] |
|
|
8 |
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> |
9 |
<script language="JavaScript" type="text/javascript"> |
7 |
<script language="JavaScript" type="text/javascript"> |
10 |
//<![CDATA[ |
8 |
//<![CDATA[ |
11 |
[% IF (dateformat == 'metric') %]dt_add_type_uk_date();[% END %] |
|
|
12 |
var weekdays = new Array(_("Sundays"),_("Mondays"),_("Tuesdays"),_("Wednesdays"),_("Thursdays"),_("Fridays"),_("Saturdays")); |
9 |
var weekdays = new Array(_("Sundays"),_("Mondays"),_("Tuesdays"),_("Wednesdays"),_("Thursdays"),_("Fridays"),_("Saturdays")); |
13 |
|
10 |
|
14 |
/* Creates all the structures to deal with all diferents kinds of holidays */ |
11 |
/* Creates all the structures to deal with all diferents kinds of holidays */ |
Lines 160-170
Link Here
|
160 |
$("#branch").change(function(){ |
157 |
$("#branch").change(function(){ |
161 |
changeBranch(); |
158 |
changeBranch(); |
162 |
}); |
159 |
}); |
163 |
$("#holidayexceptions,#holidayweeklyrepeatable,#holidaysunique").dataTable($.extend(true, {}, dataTablesDefaults, { |
160 |
$("#holidayweeklyrepeatable").dataTable($.extend(true, {}, dataTablesDefaults, { |
164 |
"sDom": 't', |
161 |
"sDom": 't', |
165 |
"bPaginate": false |
162 |
"bPaginate": false |
166 |
})); |
163 |
})); |
167 |
$("#holidaysyearlyrepeatable").dataTable($.extend(true, {}, dataTablesDefaults, { |
164 |
$("#holidayexceptions,#holidaysyearlyrepeatable,#holidaysunique").dataTable($.extend(true, {}, dataTablesDefaults, { |
168 |
"sDom": 't', |
165 |
"sDom": 't', |
169 |
"aoColumns": [ |
166 |
"aoColumns": [ |
170 |
{ "sType": "title-string" },null,null |
167 |
{ "sType": "title-string" },null,null |
171 |
- |
|
|