Falscher Variablenname
[kivitendo-erp.git] / templates / webpages / oe / form_header.html
index ba6c9cc..0867d4a 100644 (file)
@@ -1,6 +1,7 @@
 [%- USE T8 %]
 [%- USE HTML %]
 [%- USE LxERP %]
+[%- USE L %]
 <body onLoad="[% onload %]">
 
   <form method="post" name="oe" action="[% script %]">
@@ -11,6 +12,9 @@
     <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>
+    [%- IF is_sales_ord %]
+     [% L.javascript_tag("js/edit_periodic_invoices_config") %]
+    [%- END %]
 
 [%- FOREACH row = HIDDENS %]
    <input type="hidden" name="[% HTML.escape(row.name) %]" value="[% HTML.escape(row.value) %]" >
     <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">
+[%- IF resubmit %]
+[%# in case of resubmits, restore enough information for dispatcher to work %]
+    [% L.hidden_tag('action_' _ dispatched_action, 1) %]
+[%- END %]
 
     <div class="listtop">[% title %]</div>
 
+[%- INCLUDE 'common/flash.html' %]
+
     <table width="100%">
       <tr height="5"></tr>
       <tr>
                     <th align="right" nowrap>
                      [%- IF is_order %]
                       [% 'Order Date' | $T8 %]
+                     [%- ELSIF is_req_quo %]
+                      [% 'RFQ Date' | $T8 %]
                      [%- ELSE %]
                       [% 'Quotation Date' | $T8 %]
                      [%- END %]