Merge branch 'master' of ssh://lx-office/~/lx-office-erp
[kivitendo-erp.git] / templates / webpages / oe / report_for_todo_list_en.html
1 [% USE HTML %][% USE LxERP %]
2
3 <div class="listtop">Overdue sales quotations and requests for quotations</div>
4
5 <p>
6  <table width="100%">
7   <tr>
8    <td class="listheading">Date</td>
9    <td class="listheading">Valid until</td>
10    <td class="listheading">Sales quotation / Request quotation</td>
11    <td class="listheading">Customer / Vendor</td>
12    <td class="listheading">Transaction description</td>
13    <td class="listheading">Amount</td>
14    <td class="listheading">Employee</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 %]&vc=[% HTML.url(row.vc) %]&type=[% IF row.vc == 'customer' %]sales_quotation[% ELSE %]request_quotation[% END %]&id=[% HTML.url(row.id) %]">
23      [% IF row.vc == 'customer' %]
24      Sales quotation
25      [% ELSE %]
26      Request quotation
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>
44 </p>