2 [% USE HTML %][% USE LxERP %]
3 <h1>[% 'Overdue sales quotations and requests for quotations' | $T8 %]</h1>
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>
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>
21 <a href="[% edit_url | html %]&vc=[% row.vc | html %]&type=[% IF row.vc == 'customer' %]sales_quotation[% ELSE %]request_quotation[% END %]&id=[% row.id | html %]">
22 [% IF row.vc == 'customer' %]
23 [% 'Sales quotation' | $T8 %]
25 [% 'Request quotation' | $T8 %]
27 [% HTML.escape(row.quonumber) %]
31 [% IF row.vc == 'customer' %]
32 [% HTML.escape(row.customer) %]
34 [% HTML.escape(row.vendor) %]
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>