]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/is/form_header_master.html
XUL - Menu für Firefox/Prism: Stylesheet geändert.
[mfinanz.git] / templates / webpages / is / form_header_master.html
index a0a77b4e5eb7a825b23ecabf1dea94c606a12e8c..aa41c08a65c3479a6d4879ec438eed74a2970768 100644 (file)
@@ -7,11 +7,10 @@
 <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 %]">
 
-<p>[% saved_message %]</p>
-
 [%- FOREACH key = HIDDENS %]
 <input type="hidden" name="[% HTML.escape(key) %]" value="[% HTML.escape($key)  %]">
 [%- END %]
@@ -24,6 +23,8 @@
 
 <p><div class="listtop" width="100%">[% title %]</div></p>
 
+<p>[% saved_message %]</p>
+
 <table width="100%">
   <tr>
     <td valign="top">
                  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><translate>Department</translate></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" });