c295699b9c8f4bb83e11075a97d5e5e0a26e69e8
[kivitendo-erp.git] / templates / webpages / customer_vendor_turnover / order_statistic.html
1 [%- USE T8 %]
2 [%- USE LxERP %]
3 [%- USE L %]
4 [%- USE HTML %]
5 <div id="invoice_statistic">
6   <table width="100%">
7     <tbody>
8       <tr>
9         <td class="listheading">[% 'Order Number' | $T8 %]</td>
10         <td class="listheading">[% 'Order Date' | $T8 %]</td>
11         <td class="listheading">[% 'Amount' | $T8 %]</td>
12         <td class="listheading">[% 'Delivery Date' | $T8 %]</td>
13         <td class="listheading">[% 'Transaction description' | $T8 %]</td>
14       </tr>
15
16       [%- FOREACH row = orders %]
17       <tr class="listrow[% loop.count % 2 %]">
18         [%- IF INSTANCE_CONF.get_feature_experimental_order -%]
19           <td>[% IF row.id %]<a href='controller.pl?action=Order/edit&type=[% IF FORM.db == "customer" %]sales_order[% ELSE %]purchase_order[% END %]&id=[% HTML.escape(row.id) %]'>[% END %][% HTML.escape(row.ordnumber)   || '&nbsp;' %][% IF row.id %]</a>[% END %]</td>
20         [%- ELSE -%]
21           <td>[% IF row.id %]<a href='oe.pl?action=edit&type=[% IF FORM.db == "customer" %]sales_order[% ELSE %]purchase_order[% END %]&vc=[% FORM.db %]&id=[% HTML.escape(row.id) %]'>[% END %][% HTML.escape(row.ordnumber)   || '&nbsp;' %][% IF row.id %]</a>[% END %]</td>
22         [%- END -%]
23         <td>[% row.transdate.to_kivitendo | html %]</td>
24         <td class="numeric">[%- LxERP.format_amount(row.amount, 2) %]</td>
25         <td>[% row.reqdate.to_kivitendo | html %]</td>
26         <td>[% row.transaction_description %]</td>
27       </tr>
28       [% END %]
29     </tbody>
30   </table>
31
32
33     </tbody>
34   </table>
35 </div>