Lines 117-123
function delete_contact(ev) {
Link Here
|
117 |
$(document).ready(function() { |
117 |
$(document).ready(function() { |
118 |
var contractst = $("#contractst").dataTable($.extend(true, {}, dataTablesDefaults, { |
118 |
var contractst = $("#contractst").dataTable($.extend(true, {}, dataTablesDefaults, { |
119 |
"aoColumnDefs": [ |
119 |
"aoColumnDefs": [ |
120 |
{ "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false }, |
120 |
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, |
121 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] } |
121 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] } |
122 |
], |
122 |
], |
123 |
'sDom': 't' |
123 |
'sDom': 't' |
Lines 369-376
function delete_contact(ev) {
Link Here
|
369 |
<th scope="col">Description</th> |
369 |
<th scope="col">Description</th> |
370 |
<th scope="col" class="title-string">Start date</th> |
370 |
<th scope="col" class="title-string">Start date</th> |
371 |
<th scope="col" class="title-string">End date</th> |
371 |
<th scope="col" class="title-string">End date</th> |
372 |
<th scope="col"> </th> |
372 |
<th scope="col">Actions</th> |
373 |
<th scope="col"> </th> |
|
|
374 |
</tr> |
373 |
</tr> |
375 |
</thead> |
374 |
</thead> |
376 |
<tbody> |
375 |
<tbody> |
Lines 382-389
function delete_contact(ev) {
Link Here
|
382 |
<td>[% contract.contractdescription %]</td> |
381 |
<td>[% contract.contractdescription %]</td> |
383 |
<td><span title="[% contract.contractstartdate %]">[% contract.contractstartdate | $KohaDates %]</span></td> |
382 |
<td><span title="[% contract.contractstartdate %]">[% contract.contractstartdate | $KohaDates %]</span></td> |
384 |
<td><span title="[% contract.contractenddate %]">[% contract.contractenddate | $KohaDates %]</span></td> |
383 |
<td><span title="[% contract.contractenddate %]">[% contract.contractenddate | $KohaDates %]</span></td> |
385 |
<td><a href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&contractnumber=[% contract.contractnumber %]&booksellerid=[% contract.booksellerid %]">Edit</a></td> |
384 |
<td class="actions"> |
386 |
<td><a href="/cgi-bin/koha/admin/aqcontract.pl?op=delete_confirm&contractnumber=[% contract.contractnumber %]&booksellerid=[% contract.booksellerid %]">Delete</a></td> |
385 |
<a class="btn btn-mini" href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&contractnumber=[% contract.contractnumber %]&booksellerid=[% contract.booksellerid %]"><i class="fa fa-pencil"></i> Edit</a> |
|
|
386 |
<a class="btn btn-mini" href="/cgi-bin/koha/admin/aqcontract.pl?op=delete_confirm&contractnumber=[% contract.contractnumber %]&booksellerid=[% contract.booksellerid %]"><i class="fa fa-trash"></i> Delete</a> |
387 |
</td> |
387 |
</tr> |
388 |
</tr> |
388 |
[% END %] |
389 |
[% END %] |
389 |
</tbody> |
390 |
</tbody> |