Lines 48-53
Link Here
|
48 |
<label for="show_only_subscription_[% tab | html %]"> |
48 |
<label for="show_only_subscription_[% tab | html %]"> |
49 |
Show only subscriptions |
49 |
Show only subscriptions |
50 |
</label> |
50 |
</label> |
|
|
51 |
|
52 |
<p><a id="CheckAll[% tab | html %]table" data-cb="[% tab | html %]" class="checkall" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="UncheckAll[% tab | html %]table" data-cb="[% tab | html %]" class="uncheckall" href="#"><i class="fa fa-remove"></i> Clear all</a></p> |
51 |
<table id="[% tab | html %]resultst" class="result"> |
53 |
<table id="[% tab | html %]resultst" class="result"> |
52 |
<thead> |
54 |
<thead> |
53 |
<tr> |
55 |
<tr> |
Lines 371-376
Link Here
|
371 |
[% INCLUDE 'calendar.inc' %] |
373 |
[% INCLUDE 'calendar.inc' %] |
372 |
<script> |
374 |
<script> |
373 |
$(document).ready(function() { |
375 |
$(document).ready(function() { |
|
|
376 |
|
377 |
$('[id^="CheckAll"]').click( function() { |
378 |
var table_id = "#" + $(this).attr('data-cb') + "resultst"; |
379 |
$(table_id).find('.select-invoice[type="checkbox"]').each( function() { |
380 |
$(this).prop("checked" , true ); |
381 |
}); |
382 |
}); |
383 |
|
384 |
$('[id^="UncheckAll"]').click( function() { |
385 |
var table_id = "#" + $(this).attr('data-cb') + "resultst"; |
386 |
$(table_id).find('.select-invoice[type="checkbox"]').each( function() { |
387 |
$(this).prop("checked" , false ); |
388 |
}); |
389 |
}); |
390 |
|
374 |
$('#invoicestabs').tabs(); |
391 |
$('#invoicestabs').tabs(); |
375 |
$(".delete_invoice").click(function(){ |
392 |
$(".delete_invoice").click(function(){ |
376 |
return confirmDelete(_("Are you sure you want to delete this invoice?")); |
393 |
return confirmDelete(_("Are you sure you want to delete this invoice?")); |
377 |
- |
|
|