|
Lines 12-18
$(document).ready(function() {
Link Here
|
| 12 |
$("#lettert:has(tbody tr)").dataTable($.extend(true, {}, dataTablesDefaults, { |
12 |
$("#lettert:has(tbody tr)").dataTable($.extend(true, {}, dataTablesDefaults, { |
| 13 |
"sDom": 't', |
13 |
"sDom": 't', |
| 14 |
"aoColumnDefs": [ |
14 |
"aoColumnDefs": [ |
| 15 |
{ "aTargets": [ -1,-2, -3 ], "bSortable": false, "bSearchable": false } |
15 |
{ "bSortable": false, "bSearchable": false, 'aTargets': [ 'nosort' ] } |
| 16 |
], |
16 |
], |
| 17 |
"bPaginate": false |
17 |
"bPaginate": false |
| 18 |
})); |
18 |
})); |
|
Lines 199-206
$(document).ready(function() {
Link Here
|
| 199 |
<th>Module</th> |
199 |
<th>Module</th> |
| 200 |
<th>Code</th> |
200 |
<th>Code</th> |
| 201 |
<th>Name</th> |
201 |
<th>Name</th> |
| 202 |
<th>Copy notice</th> |
202 |
<th class="nosort">Copy notice</th> |
| 203 |
<th>Actions</th> |
203 |
<th class="nosort">Actions</th> |
| 204 |
</tr> |
204 |
</tr> |
| 205 |
</thead> |
205 |
</thead> |
| 206 |
<tbody> |
206 |
<tbody> |
|
Lines 211-217
$(document).ready(function() {
Link Here
|
| 211 |
<td>[% lette.module %]</td> |
211 |
<td>[% lette.module %]</td> |
| 212 |
<td>[% lette.code %]</td> |
212 |
<td>[% lette.code %]</td> |
| 213 |
<td>[% lette.name %]</td> |
213 |
<td>[% lette.name %]</td> |
| 214 |
<td style="white-space: nowrap"> |
214 |
<td class="actions"> |
| 215 |
[% IF !independant_branch || !lette.branchcode %] |
215 |
[% IF !independant_branch || !lette.branchcode %] |
| 216 |
<form method="post" action="/cgi-bin/koha/tools/letter.pl"> |
216 |
<form method="post" action="/cgi-bin/koha/tools/letter.pl"> |
| 217 |
<input type="hidden" name="op" value="copy_form" /> |
217 |
<input type="hidden" name="op" value="copy_form" /> |
|
Lines 227-233
$(document).ready(function() {
Link Here
|
| 227 |
</form> |
227 |
</form> |
| 228 |
[% END %] |
228 |
[% END %] |
| 229 |
</td> |
229 |
</td> |
| 230 |
<td style="white-space: nowrap"> |
230 |
<td class="actions"> |
| 231 |
[% IF can_edit %] |
231 |
[% IF can_edit %] |
| 232 |
<a class="btn btn-mini" href="/cgi-bin/koha/tools/letter.pl?op=add_form&branchcode=[% lette.branchcode %]&module=[% lette.module %]&code=[% lette.code %]"><i class="fa fa-pencil"></i> Edit</a> |
232 |
<a class="btn btn-mini" href="/cgi-bin/koha/tools/letter.pl?op=add_form&branchcode=[% lette.branchcode %]&module=[% lette.module %]&code=[% lette.code %]"><i class="fa fa-pencil"></i> Edit</a> |
| 233 |
[% END %] |
233 |
[% END %] |
| 234 |
- |
|
|