[%- FOREACH row = DELIVERY %]
<tr class="listrow[% loop.count % 2 %]">
<td>[% HTML.escape(row.shiptoname) UNLESS loop.prev.shiptoname == row.shiptoname %] </td>
- <td>[% HTML.escape(row.invnumber) %] </td>
- <td>[% HTML.escape(row.ordnumber) %] </td>
- <td>[% HTML.escape(row.transdate) %] </td>
- <td>[% HTML.escape(row.description) %] </td>
- <td>[% HTML.escape(row.qty) %] </td>
- <td>[% HTML.escape(row.unit) %] </td>
- <td>[% LxERP.format_amount(row.sellprice, 2) %] </td>
+ <td>[% IF row.id %]<a href='is.pl?action=edit&id=[% HTML.escape(row.id) %]'>[% END %][% HTML.escape(row.invnumber) || ' ' %][% IF row.id %]</a>[% END %]</td>
+ <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>
+ <td>[% HTML.escape(row.transdate) || ' ' %]</td>
+ <td>[% HTML.escape(row.description) || ' ' %]</td>
+ <td>[% HTML.escape(row.qty) || ' ' %]</td>
+ <td>[% HTML.escape(row.unit) || ' ' %]</td>
+ <td>[% LxERP.format_amount(row.sellprice, 2) || ' ' %]</td>
</tr>
[%- END %]
</table>
+[%- IF DELIVERY.size == 15 %]
+ <p>Diese Liste ist auf 15 Zeilen begrenzt. Wenn Sie eine vollständige Liste benötigen, erstellen Sie bitte einen Bericht.</p>
+[%- END %]