Zwei neue Features:
[kivitendo-erp.git] / templates / webpages / oe / orders_header_de.html
index 1e3ea8b..da7f79e 100644 (file)
@@ -9,11 +9,17 @@
     <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/customer_or_vendor_selection.js"></script>
+    <script type="text/javascript" src="js/follow_up.js"></script>
 
 [%- FOREACH row = HIDDENS %]
    <input type="hidden" name="[% HTML.escape(row.name) %]" value="[% HTML.escape(row.value) %]" > 
 [%- END %]
 
+    <input type="hidden" name="follow_up_trans_id_1" value="[% HTML.escape(id) %]">
+    <input type="hidden" name="follow_up_trans_type_1" value="[% HTML.escape(type) %]">
+    <input type="hidden" name="follow_up_trans_info_1" value="[% HTML.escape(follow_up_trans_info) %]">
+    <input type="hidden" name="follow_up_rowcount" value="1">
+
     <table width=100%>
       <tr class=listtop>
         <th class=listtop>[% HTML.escape(title) %]</th>
                   <tr>
                     <th align=right>Wechselkurs</th>
                     <td>
-                     [%~ IF forex ~%]
+                     [%- IF forex %]
                       [% LxERP.format_amount(exchangerate, 0) %]
-                     [%~ ELSE ~%]
+                     [%- ELSE %]
                       <input name=exchangerate size=10 value="[% HTML.escape(LxERP.format_amount(exchangerate)) %]">
-                     [%~ END ~%]
+                     [%- END %]
                     </td>
                   </tr>
 [%- END %]
                     <th width=70% align=right nowrap>Auftragsnummer</th>
                     <td><input name=ordnumber size=11 value="[% HTML.escape(ordnumber) %]"></td>
                   </tr>
+[%- END %]
+[%- IF is_pur_ord || is_req_quo %]
+                  <tr>
+                    <th width=70% align=right nowrap>Bestellanfragenummer</th>
+                    <td><input name=oreqnumber size=11 value="[% HTML.escape(oreqnumber) %]"></td>
+                  </tr>
 [%- END %]
                   <tr>
                     <th width=70% align=right nowrap>[% IF is_req_quo %]Anfragenummer[% ELSE %]Angebotsnummer[% END %]</th>
 [%- END %]
                   <tr>
                     <th align=right nowrap>
-                     [%~ IF is_order ~%]
+                     [%- IF is_order %]
                       Auftragsdatum
-                     [%~ ELSE ~%]
+                     [%- ELSE %]
                       Angebotsdatum
-                     [%~ END ~%]
+                     [%- END %]
                     </th>
                     [% button1 %]
                   </tr>
                   <tr>
                     <th align=right nowrap>
-                     [%~ IF is_sales_quo ~%]
+                     [%- IF is_sales_quo %]
                       gültig bis
-                     [%~ ELSE ~%]
+                     [%- ELSE %]
                       Lieferdatum
-                     [%~ END ~%]
+                     [%- END %]
                     </th>
                     [% button2 %]
                   </tr>