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 |
<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"> |
52 |
<table id="[% tab | html %]resultst" class="result"> |
52 |
<thead> |
53 |
<thead> |
53 |
<tr> |
54 |
<tr> |
Lines 399-404
Link Here
|
399 |
[% INCLUDE 'calendar.inc' %] |
400 |
[% INCLUDE 'calendar.inc' %] |
400 |
<script> |
401 |
<script> |
401 |
$(document).ready(function() { |
402 |
$(document).ready(function() { |
|
|
403 |
$('[id^="CheckAll"]').click( function() { |
404 |
var table_id = "#" + $(this).attr('data-cb') + "resultst"; |
405 |
$(table_id).find('.select-invoice[type="checkbox"]').each( function() { |
406 |
$(this).prop("checked" , true ); |
407 |
}); |
408 |
}); |
409 |
$('[id^="UncheckAll"]').click( function() { |
410 |
var table_id = "#" + $(this).attr('data-cb') + "resultst"; |
411 |
$(table_id).find('.select-invoice[type="checkbox"]').each( function() { |
412 |
$(this).prop("checked" , false ); |
413 |
}); |
414 |
}); |
415 |
|
402 |
$(".delete_invoice").click(function(){ |
416 |
$(".delete_invoice").click(function(){ |
403 |
return confirmDelete(_("Are you sure you want to delete this invoice?")); |
417 |
return confirmDelete(_("Are you sure you want to delete this invoice?")); |
404 |
}); |
418 |
}); |
405 |
- |
|
|