[% SET arap = 'ar' %]
[% SET iris = 'is' %]
[%- END %]
-<body>
<p><div class="listtop">[% title %]</div></p>
<tr class="listrow[% loop.count % 2 %]">
<td align="center">
[%- IF invoice.vc_bank_info_ok %]
- <input type="checkbox" name="bank_transfers[].selected" value="1">
+ <input type="checkbox" name="bank_transfers[].selected" value="1"[% IF invoice.checked %] checked[% END %]>
[%- END %]
</td>
<td>
<input type="hidden" name="vc" value="[%- HTML.escape(vc) %]">
</form>
- <script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">
<!--
- $(document).ready(function() {
- $("#select_all").click(function() {
- var checked = $(this).attr('checked');
- $('INPUT[name="bank_transfers[].selected"]').each(function() {
- $(this).attr('checked', checked);
- });
- });
+ $(function() {
+ $("#select_all").checkall('INPUT[name="bank_transfers[].selected"]');
});
-->
</script>
-
-</body>