X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/36a9840b61c8222cfc2f94ed03b1890f757ae73c..c8c6d6d:/templates/webpages/ct/get_delivery_de.html
diff --git a/templates/webpages/ct/get_delivery_de.html b/templates/webpages/ct/get_delivery_de.html
index 17a75880a..a8c0d9798 100644
--- a/templates/webpages/ct/get_delivery_de.html
+++ b/templates/webpages/ct/get_delivery_de.html
@@ -11,19 +11,30 @@
Beschreibung |
Menge |
Einheit |
+[%- IF is_customer %]
Verkaufspreis |
+[%- ELSE %]
+ Einkaufspreis |
+[%- 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 %]
+ Diese Liste ist auf 15 Zeilen begrenzt. Wenn Sie eine vollständige Liste benötigen, erstellen Sie bitte einen Bericht.
+[%- END %]