Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / ap / form_footer.html
1 [%- USE T8 %]
2 [%- USE HTML %]
3 [%- USE L %]
4 [%- USE LxERP %][%- USE P -%]
5
6 [%- IF (num_follow_ups && num_due) %]
7   <p>[% LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', num_follow_ups, num_due) %]</p>
8 [%- END %]
9
10 <input name=callback type=hidden value="[% callback | html %]">
11 <input name=gldate type=hidden value="[% gldate | html %]">
12 [% P.hidden_tag('draft_id', draft_id) %]
13 [% P.hidden_tag('draft_description', draft_description) %]
14 </form>
15
16 <script type="text/javascript">
17  <!--
18 $(document).ready(function() {
19   [%- SET row=0 %]
20   [%- WHILE row < rowcount %]
21    [%- SET row=row + 1 %]
22    $('#AP_amount_chart_id_[% row %]').on('set_item:ChartPicker', function(e, item) {
23      kivi.GL.update_taxes(this);
24    });
25   [%- END %]
26 });
27 -->
28 </script>