Lieferungen für Lieferanten in der Stammdaten->Lieferantenmaske hatte ein paar Daten...
[kivitendo-erp.git] / templates / webpages / ct / get_delivery_de.html
1 [% USE HTML %][% USE LxERP %]
2 <table width="100%">
3   <tr>
4     <td>
5       <table width="100%">
6         <tr class="listheading">
7           <th class="listheading">Lieferadresse</th>
8           <th class="listheading">Rechnung</th>
9           <th class="listheading">Auftrag</th>
10           <th class="listheading">Rechnungsdatum</th>
11           <th class="listheading">Beschreibung</th>
12           <th class="listheading">Menge</th>
13           <th class="listheading">Einheit</th>
14 [%- IF is_customer %]
15           <th class="listheading">Verkaufspreis</th>
16 [%- ELSE %]
17           <th class="listheading">Einkaufspreis</th>
18 [%- END %]
19         </tr>
20 [%- FOREACH row = DELIVERY %]
21         <tr class="listrow[% loop.count % 2 %]">
22           <td>[% HTML.escape(row.shiptoname) UNLESS loop.prev.shiptoname == row.shiptoname %]&nbsp;</td>
23           <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)   || '&nbsp;' %][% IF row.id %]</a>[% END %]</td>
24           <td>[% IF row.oe_id %]<a href='oe.pl?action=edit&type=[% IF is_customer %]sales_order[% ELSE %]purchase_order[% END %]&vc=customer&id=[% HTML.escape(row.oe_id) %]'>[% END %][% HTML.escape(row.ordnumber)   || '&nbsp;' %][% IF row.oe_id %]</a>[% END %]</td>
25           <td>[% HTML.escape(row.transdate)   || '&nbsp;' %]</td>
26           <td>[% HTML.escape(row.description) || '&nbsp;' %]</td>
27           <td>[% HTML.escape(row.qty)         || '&nbsp;' %]</td>
28           <td>[% HTML.escape(row.unit)        || '&nbsp;' %]</td>
29           <td>[% LxERP.format_amount(row.sellprice, 2) || '&nbsp;' %]</td>
30         </tr>
31 [%- END %]
32
33      </table>
34 [%- IF DELIVERY.size == 15 %]
35      <p>Diese Liste ist auf 15 Zeilen begrenzt. Wenn Sie eine vollständige Liste benötigen, erstellen Sie bitte einen Bericht.</p>
36 [%- END %]