Dateimanagement: Integration in Masken und Controller
[kivitendo-erp.git] / templates / webpages / gl / form_footer.html
index 1742ec3..f9b018f 100644 (file)
   </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 %]
       [% 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>