HTML-Code aufgerÀumt, Attribute gequotet, HTML-Sonderzeichen in Werten escapet.
[kivitendo-erp.git] / templates / webpages / ct / get_delivery_master.html
1 [% USE LxERP %]
2 <table width="100%">
3   <tr>
4     <td>
5       <table width="100%">
6         <tr class="listheading">
7           <th class="listheading"><translate>Shipping Address</translate></th>
8           <th class="listheading"><translate>Invoice</translate></th>
9           <th class="listheading"><translate>Order</translate></th>
10           <th class="listheading"><translate>Invdate</translate></th>
11           <th class="listheading"><translate>Description</translate></th>
12           <th class="listheading"><translate>Qty</translate></th>
13           <th class="listheading"><translate>Unit</translate></th>
14           <th class="listheading"><translate>Sell Price</translate></th>
15         </tr>
16 [%- FOREACH row = DELIVERY %]
17         <tr class="listrow[% loop.count % 2 %]">
18           <td>[% HTML.escape(row.shiptoname) UNLESS loop.prev.shiptoname == row.shiptoname %]&nbsp;</td>
19           <td>[% HTML.escape(row.invnumber)   %]&nbsp;</td>
20           <td>[% HTML.escape(row.ordnumber)   %]&nbsp;</td>
21           <td>[% HTML.escape(row.transdate)   %]&nbsp;</td>
22           <td>[% HTML.escape(row.description) %]&nbsp;</td>
23           <td>[% HTML.escape(row.qty)         %]&nbsp;</td>
24           <td>[% HTML.escape(row.unit)        %]&nbsp;</td>
25           <td>[% LxERP.format_amount(row.sellprice, 2) %]&nbsp;</td>
26         </tr>
27 [%- END %]
28
29      </table>