]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/ct/get_delivery_master.html
Bugfixes zum Rechnungstemplate
[mfinanz.git] / templates / webpages / ct / get_delivery_master.html
index eac63cb76e4834fd7a9080e3a7649e0bb5a6a640..0ca76e1032ae74c1e886fc7ab267740774f76007 100644 (file)
 [%- FOREACH row = DELIVERY %]
         <tr class="listrow[% loop.count % 2 %]">
           <td>[% HTML.escape(row.shiptoname) UNLESS loop.prev.shiptoname == row.shiptoname %]&nbsp;</td>
-          <td>[% HTML.escape(row.invnumber)   %]&nbsp;</td>
-          <td>[% HTML.escape(row.ordnumber)   %]&nbsp;</td>
-          <td>[% HTML.escape(row.transdate)   %]&nbsp;</td>
-          <td>[% HTML.escape(row.description) %]&nbsp;</td>
-          <td>[% HTML.escape(row.qty)         %]&nbsp;</td>
-          <td>[% HTML.escape(row.unit)        %]&nbsp;</td>
-          <td>[% LxERP.format_amount(row.sellprice, 2) %]&nbsp;</td>
+          <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>
+          <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)   || '&nbsp;' %][% IF row.oe_id %]</a>[% END %]</td>
+          <td>[% HTML.escape(row.transdate)   || '&nbsp;' %]</td>
+          <td>[% HTML.escape(row.description) || '&nbsp;' %]</td>
+          <td>[% HTML.escape(row.qty)         || '&nbsp;' %]</td>
+          <td>[% HTML.escape(row.unit)        || '&nbsp;' %]</td>
+          <td>[% LxERP.format_amount(row.sellprice, 2) || '&nbsp;' %]</td>
         </tr>
 [%- END %]
 
      </table>
+[%- IF DELIVERY.size == 15 %]
+     <p><translate>This list is capped at 15 items to keep it fast. If you need a full list, please use reports.</translate></p>
+[%- END %]