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