</td>
</tr>
</table>
+</div>
+[% PROCESS 'webdav/_list.html' %]
+</div>
+<hr size="3" noshade>
<input name=callback type=hidden value="[% callback %]">
[%- IF id && follow_ups.size %]
<p>[% LxERP.t8('There are #1 unfinished follow-ups of which #2 are due.', follow_ups.size , follow_ups_due) %]</p>
[%- END %]
-
-<br>
-
-[%- IF id %]
- [% L.submit_tag('action', LxERP.t8('Update'), id='update_button') %]
-
- [% IF !locked && radieren %]
- [% L.submit_tag('action', LxERP.t8('Post'), accesskey='b') %]
- [% L.submit_tag('action', LxERP.t8('Delete')) %]
- [%- END %]
-
- [%- IF !storno %]
- [% L.submit_tag('action', LxERP.t8('Storno')) %]
+</form>
+
+<script type="text/javascript">
+ <!--
+$(document).ready(function() {
+ [%- SET row=0 %]
+ [%- WHILE row < rowcount %]
+ [%- SET row=row + 1 %]
+ $('#accno_id_[% row %]').on('set_item:ChartPicker', function(e, item) {
+ kivi.GL.show_chart_balance(this);
+ kivi.GL.update_taxes(this);
+ });
[%- END %]
-
- [% L.submit_tag('action', LxERP.t8('Follow-Up'), onclick='follow_up_window()') %]
-[%- ELSE %]
-
- [% L.submit_tag('action', LxERP.t8('Update'), id='update_button') %]
- [% L.submit_tag('action', LxERP.t8('Post')) %]
- [% L.button_tag('kivi.Draft.popup("gl", "unknown", "' _ draft_id _ '", "' _ draft_description _ '")', LxERP.t8('Drafts')) %]
- [% L.hidden_tag('draft_id', draft_id) %]
- [% L.hidden_tag('draft_description', draft_description) %]
-[%- END %]
-
- </form>
-
+});
+-->
+</script>