Merge branch 'master' of ssh://git-jbueren@lx-office.linet-services.de/~/lx-office-erp
[kivitendo-erp.git] / templates / webpages / is / form_header_de.html
index 532ae0f..9a1af4a 100644 (file)
@@ -7,6 +7,7 @@
 <script type="text/javascript" src="js/vendor_selection.js"></script>
 <script type="text/javascript" src="js/calculate_qty.js"></script>
 <script type="text/javascript" src="js/follow_up.js"></script>
+<script type="text/javascript" src="js/customer_or_vendor_selection.js"></script>
 
 <form method="post" name="invoice" action="[% script %]">
 
                  readonly   = (id ? 1 : 0)
                  label_key  = 'description' -%]
           </td>
+  [%- IF id %]
+          <input type='hidden' name='taxzone_id' value='[% taxzone_id %]'>
+  [%- END %]
         </tr>
-[%- IF ALL_DEPARTMENTS %]
+[%- IF all_departments %]
         <tr>
           <th align="right" nowrap>Abteilung</th>
           <td colspan="3">
             [%- INCLUDE 'generic/multibox.html'
                  name       = 'department_id',
                  style      = 'width: 250px',
-                 DATA       = ALL_DEPARTMENTS,
+                 DATA       = all_departments,
                  id_key     = 'id',
                  label_sub  = 'department_labels',
                  show_empty = 1 -%]
   <script type="text/javascript" src="js/show_form_details.js"></script>
   <script type="text/javascript" src="js/show_vc_details.js"></script>
   <script type="text/javascript" src="js/show_history.js"></script>
-  <script type="text/javascript" src="js/jquery.js"></script>
   <script type="text/javascript">
    <!--
      Calendar.setup({ inputField : "invdate",      ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" });