bea5c67477a14aaed262f92592fc809647869ae0
[kivitendo-erp.git] / templates / webpages / oe / report_for_todo_list.html
1 [%- USE T8 %]
2 [% USE HTML %][% USE LxERP %]
3
4 <div class="listtop">[% 'Overdue sales quotations and requests for quotations' | $T8 %]</div>
5
6  <table width="100%">
7   <tr>
8    <td class="listheading">[% 'Date' | $T8 %]</td>
9    <td class="listheading">[% 'Valid until' | $T8 %]</td>
10    <td class="listheading">[% 'Sales quotation' | $T8 %] / [% 'Request quotation' | $T8 %]</td>
11    <td class="listheading">[% 'Customer' | $T8 %] / [% 'Vendor' | $T8 %]</td>
12    <td class="listheading">[% 'Transaction description' | $T8 %]</td>
13    <td class="listheading">[% 'Amount' | $T8 %]</td>
14    <td class="listheading">[% 'Employee' | $T8 %]</td>
15   </tr>
16
17   [%- FOREACH row = QUOTATIONS %]
18   <tr class="listrow[% loop.count % 2 %]">
19    <td>[% HTML.escape(row.transdate) %]</td>
20    <td>[% HTML.escape(row.reqdate) %]</td>
21    <td>
22     <a href="[% edit_url | html %]&amp;vc=[% row.vc | html %]&amp;type=[% IF row.vc == 'customer' %]sales_quotation[% ELSE %]request_quotation[% END %]&amp;id=[% row.id | html %]">
23      [% IF row.vc == 'customer' %]
24      [% 'Sales quotation' | $T8 %]
25      [% ELSE %]
26      [% 'Request quotation' | $T8 %]
27      [% END %]
28      [% HTML.escape(row.quonumber) %]
29     </a>
30    </td>
31    <td>
32     [% IF row.vc == 'customer' %]
33     [% HTML.escape(row.customer) %]
34     [% ELSE %]
35     [% HTML.escape(row.vendor) %]
36     [% END %]
37    </td>
38    <td>[% HTML.escape(row.transaction_description) %]</td>
39    <td>[% HTML.escape(LxERP.format_amount(row.amount, 2)) %]</td>
40    <td>[% HTML.escape(row.employee) %]</td>
41   </tr>
42   [%- END %]
43  </table>