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