8 <table width=100% id="proposal_table">
10 <tr class="listheading">
11 <th>[% L.checkbox_tag('proposal_check_all') %]</th>
14 <th>[% 'Type' | $T8 %]</th>
15 [% IF debug %]<th>[% 'ID/Acc_ID' | $T8 %]</th>[% END %]
16 <th>[% 'Transdate' | $T8 %]</th>
17 <th>[% 'Amount BT' | $T8 %]</th>
18 <th>[% 'Amount BB' | $T8 %]</th>
19 <th>[% 'Remote Name/Customer/Description' | $T8 %]</th>
20 <th>[% 'Purpose/Reference' | $T8 %]</th>
21 <th>[% 'Remote account number' | $T8 %]</th>
22 <th>[% 'Remote bank code' | $T8 %]</th>
23 <th>[% 'Source' | $T8 %]</th>
27 [% PROCESS "reconciliation/proposals.html" %]
30 [% L.button_tag("reconcile_proposals()", LxERP.t8("Reconcile")) %]
32 <script type="text/javascript">
35 function filter_table () {
36 var url="controller.pl?action=Reconciliation/filter_proposals&" + $('#reconciliation_form') . serialize();
39 success: function(new_data) {
40 $("tbody[class^='listrow']").remove();
41 $("#proposal_table").append(new_data['html']);
42 $(".absolut_bt_balance").html(new_data['absolut_bt_balance']);
43 $(".absolut_bb_balance").html(new_data['absolut_bb_balance']);
44 $(".bt_balance").html(new_data['bt_balance']);
45 $(".bb_balance").html(new_data['bb_balance']);
50 function reconcile_proposals() {
55 value : "Reconciliation/reconcile_proposals"
56 }).appendTo('#reconciliation_form');
57 $("#reconciliation_form").submit();
61 $('#proposal_check_all').checkall('INPUT[name^="bt_ids"]');