X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/36a9840b61c8222cfc2f94ed03b1890f757ae73c..c8c6d6d:/templates/webpages/ct/get_delivery_master.html diff --git a/templates/webpages/ct/get_delivery_master.html b/templates/webpages/ct/get_delivery_master.html index eac63cb76..156bd11e8 100644 --- a/templates/webpages/ct/get_delivery_master.html +++ b/templates/webpages/ct/get_delivery_master.html @@ -11,19 +11,30 @@ Description Qty Unit +[%- IF is_customer %] Sell Price +[%- ELSE %] + Last Cost +[%- END %] [%- FOREACH row = DELIVERY %] +[%- + row.script = is_customer ? ( row.invoice ? 'is' : 'ar' ) + : ( row.invoice ? 'ir' : 'ap' ) +-%] [% HTML.escape(row.shiptoname) UNLESS loop.prev.shiptoname == row.shiptoname %]  - [% HTML.escape(row.invnumber) %]  - [% HTML.escape(row.ordnumber) %]  - [% HTML.escape(row.transdate) %]  - [% HTML.escape(row.description) %]  - [% HTML.escape(row.qty) %]  - [% HTML.escape(row.unit) %]  - [% LxERP.format_amount(row.sellprice, 2) %]  + [% IF row.id %][% END %][% HTML.escape(row.invnumber) || ' ' %][% IF row.id %][% END %] + [% IF row.oe_id %][% END %][% HTML.escape(row.ordnumber) || ' ' %][% IF row.oe_id %][% END %] + [% HTML.escape(row.transdate) || ' ' %] + [% HTML.escape(row.description) || ' ' %] + [% HTML.escape(row.qty) || ' ' %] + [% HTML.escape(row.unit) || ' ' %] + [% LxERP.format_amount(row.sellprice, 2) || ' ' %] [%- END %] +[%- IF DELIVERY.size == 15 %] +

This list is capped at 15 items to keep it fast. If you need a full list, please use reports.

+[%- END %]