Pflichtenheftzeitschätzung: neuer Menüeintrag "Speichern und geöffnet lassen"
[kivitendo-erp.git] / templates / webpages / requirement_spec_order / list.html
index fb86baf..775ce18 100644 (file)
@@ -1,6 +1,7 @@
 [%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE P -%]
 <div id="quotations_and_orders" class="quotations-and-orders-context-menu">
  <h2>[% LxERP.t8("Assignment of articles to sections") %]</h2>
+
  [% SET sections = SELF.requirement_spec.sections_sorted %]
  [% IF !sections.size %]
  <div>
@@ -49,8 +50,9 @@
      <th>[% LxERP.t8("Type") %]</th>
      <th>[% LxERP.t8("Requirement Spec Version") %]</th>
      <th>[% LxERP.t8("Record number") %]</th>
-     <th>[% LxERP.t8("Transaction Description") %]</th>
-     <th>[% LxERP.t8("Date") %]</th>
+     <th>[% LxERP.t8("Transaction description") %]</th>
+     <th>[% LxERP.t8("Quotation/Order Date") %]</th>
+     <th>[% LxERP.t8("Creation Date") %]</th>
     </tr>
    </thead>
 
@@ -58,7 +60,7 @@
     [% FOREACH rs_order = orders %]
     <tr class="listrow quotations-and-orders-order-context-menu">
      [% L.hidden_tag('order_id', rs_order.id, no_id=1) %]
-     <td>[% rs_order.order.type == 'sales_quotation' ? LxERP.t8('Sales quotation') : LxERP.t8('Sales order') %]</td>
+     <td>[% rs_order.order.type == 'sales_quotation' ? LxERP.t8('Sales quotation') : LxERP.t8('Sales Order') %]</td>
      <td>
       [% IF rs_order.version %]
        [% HTML.escape(rs_order.version.version_number) %]
        [% LxERP.t8("working copy") %]
       [% END %]
      </td>
-     <td>[% HTML.escape(rs_order.order.quotation ? rs_order.order.quonumber : rs_order.order.ordnumber) %]</td>
+     <td>
+      <a href="oe.pl?action=edit&id=[% HTML.url(rs_order.order_id) %]&type=[% HTML.url(rs_order.order.type) %]">
+       [% HTML.escape(rs_order.order.quotation ? rs_order.order.quonumber : rs_order.order.ordnumber) %]
+      </a>
+     </td>
      <td>[% HTML.escape(rs_order.order.transaction_description) %]</td>
+     <td>[% rs_order.order.transdate.to_kivitendo(precision='day') %]</td>
      <td>[% rs_order.itime.to_kivitendo(precision='day') %]</td>
     </tr>
     [%- END %]