<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" });