Dateimanagement: Integration in Masken und Controller
[kivitendo-erp.git] / templates / webpages / gl / form_footer.html
index 48bbbea..f9b018f 100644 (file)
       [% L.hidden_tag('draft_description', draft_description) %]
 [%- END %]
 
+   [% L.button_tag("kivi.RecordTemplate.popup('gl_transaction')", LxERP.t8("Record templates")) %]
   </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 %]
+});
+-->
+</script>