X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/88e16972a3c5a76af719c3eff31b6d8163e2e8b3..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 a8d53a780..156bd11e8 100644
--- a/templates/webpages/ct/get_delivery_master.html
+++ b/templates/webpages/ct/get_delivery_master.html
@@ -11,13 +11,21 @@
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 %] |
- [% 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 %] |
+ [% 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) || ' ' %] |
@@ -27,3 +35,6 @@
[%- 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 %]