Revision b5c04fb0
Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt
templates/webpages/gl/form_footer.html | ||
---|---|---|
1 |
<tr class=listtotal> |
|
2 |
<th colspan="3" align=right class=listtotal> [% LxERP.format_amount(totaldebit, 2) | html %]</th> |
|
3 |
<th align=right class=listtotal> [% LxERP.format_amount(totalcredit, 2) | html %]</th> |
|
4 |
<td colspan=6></td> |
|
5 |
</tr> |
|
6 |
</table> |
|
7 |
</td> |
|
8 | 1 |
[% USE HTML %] |
9 | 2 |
[% USE LxERP %] |
10 | 3 |
[% USE T8 %] |
11 | 4 |
[% USE L %] |
5 |
</tbody> |
|
6 |
<tfoot> |
|
7 |
<tr> |
|
8 |
<th></th> |
|
9 |
<th></th> |
|
10 |
<th class="numeric"> [% LxERP.format_amount(totaldebit, 2) | html %]</th> |
|
11 |
<th class="numeric"> [% LxERP.format_amount(totalcredit, 2) | html %]</th> |
|
12 |
<td colspan="2"></td> |
|
13 |
[% IF show_details %]<td colspan="3"></td>[% END %] |
|
12 | 14 |
</tr> |
13 |
</table> |
|
14 |
</td> |
|
15 |
</tr> |
|
15 |
</tfoot> |
|
16 | 16 |
</table> |
17 |
</div> |
|
17 |
</div><!-- /.wrapper / see form_header.html --> |
|
18 |
</div><!-- /#ui-tabs-basic-data --> |
|
19 |
|
|
18 | 20 |
[% PROCESS 'webdav/_list.html' %] |
19 |
</div>
|
|
21 |
<!-- /#ui-tabs-webdav -->
|
|
20 | 22 |
|
21 |
<hr size="3" noshade> |
|
22 | 23 |
<input name=callback type=hidden value="[% callback %]"> |
23 | 24 |
<input name=bt_id type=hidden value="[% bt_id %]"> |
24 | 25 |
<input name=bt_chart_id type=hidden value="[% bt_chart_id %]"> |
25 | 26 |
|
26 |
[%- IF id && follow_ups.size %]
|
|
27 |
[% IF id && follow_ups.size %] |
|
27 | 28 |
<p>[% LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', follow_ups.size , follow_ups_due) %]</p> |
28 |
[%- END %] |
|
29 |
[% END %] |
|
30 |
|
|
31 |
</div><!-- /#ir_tabs.tabwidget --> |
|
32 |
|
|
29 | 33 |
</form> |
30 | 34 |
|
31 |
<script type="text/javascript"> |
|
32 |
<!-- |
|
35 |
<script type="text/javascript"><!-- |
|
33 | 36 |
$(document).ready(function() { |
34 |
[%- SET row=0 %]
|
|
35 |
[%- WHILE row < rowcount %]
|
|
36 |
[%- SET row=row + 1 %]
|
|
37 |
[% SET row=0 %] |
|
38 |
[% WHILE row < rowcount %] |
|
39 |
[% SET row=row + 1 %] |
|
37 | 40 |
$('#accno_id_[% row %]').on('set_item:ChartPicker', function(e, item) { |
38 | 41 |
kivi.GL.show_chart_balance(this); |
39 | 42 |
kivi.GL.update_taxes(this); |
40 | 43 |
}); |
41 |
[%- END %]
|
|
44 |
[% END %] |
|
42 | 45 |
}); |
43 |
--> |
|
44 |
</script> |
|
46 |
--></script> |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/gl/form_footer.html