1 [% USE HTML %][% USE LxERP %]
6 <tr class="listheading">
7 <th class="listheading">Shipping Address</th>
8 <th class="listheading">Invoice</th>
9 <th class="listheading">Order</th>
10 <th class="listheading">Invdate</th>
11 <th class="listheading">Description</th>
12 <th class="listheading">Qty</th>
13 <th class="listheading">Unit</th>
14 <th class="listheading">Sell Price</th>
16 [%- FOREACH row = DELIVERY %]
17 <tr class="listrow[% loop.count % 2 %]">
18 <td>[% HTML.escape(row.shiptoname) UNLESS loop.prev.shiptoname == row.shiptoname %] </td>
19 <td>[% IF row.id %]<a href='[% IF IS_CUSTOMER %]is[% ELSE %]ir[% END %].pl?action=edit&id=[% HTML.escape(row.id) %]'>[% END %][% HTML.escape(row.invnumber) || ' ' %][% IF row.id %]</a>[% END %]</td>
20 <td>[% IF row.oe_id %]<a href='oe.pl?action=edit&type=sales_order&vc=customer&id=[% HTML.escape(row.oe_id) %]'>[% END %][% HTML.escape(row.ordnumber) || ' ' %][% IF row.oe_id %]</a>[% END %]</td>
21 <td>[% HTML.escape(row.transdate) || ' ' %]</td>
22 <td>[% HTML.escape(row.description) || ' ' %]</td>
23 <td>[% HTML.escape(row.qty) || ' ' %]</td>
24 <td>[% HTML.escape(row.unit) || ' ' %]</td>
25 <td>[% LxERP.format_amount(row.sellprice, 2) || ' ' %]</td>
30 [%- IF DELIVERY.size == 15 %]
31 <p>This list is capped at 15 items to keep it fast. If you need a full list, please use reports.</p>