Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / gl / form_footer.html
1 [%- USE HTML %]
2 [%- USE LxERP %]
3 [%- USE T8 %]
4 [%- USE L %]
5       <tr class=listtotal>
6       <th colspan="3" align=right class=listtotal> [% LxERP.format_amount(totaldebit, 2) | html %]</th>
7       <th align=right class=listtotal> [% LxERP.format_amount(totalcredit, 2) | html %]</th>
8       <td colspan=6></td>
9       </tr>
10     </table>
11     </td>
12     </tr>
13   </table>
14   </td>
15   </tr>
16 </table>
17 </div>
18 [% PROCESS 'webdav/_list.html' %]
19 </div>
20
21 <hr size="3" noshade>
22 <input name=callback type=hidden value="[% callback %]">
23 <input name=bt_id    type=hidden value="[% bt_id %]">
24 <input name=bt_chart_id type=hidden value="[% bt_chart_id %]">
25
26 [%- IF id && follow_ups.size %]
27   <p>[% LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', follow_ups.size , follow_ups_due) %]</p>
28 [%- END %]
29 </form>
30
31 <script type="text/javascript">
32  <!--
33 $(document).ready(function() {
34   [%- SET row=0 %]
35   [%- WHILE row < rowcount %]
36    [%- SET row=row + 1 %]
37    $('#accno_id_[% row %]').on('set_item:ChartPicker', function(e, item) {
38      kivi.GL.show_chart_balance(this);
39      kivi.GL.update_taxes(this);
40    });
41   [%- END %]
42 });
43 -->
44 </script>