From f69dc608b499fdf48ebaf4372bfe4285c0015645 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 5 Jun 2013 10:59:52 +0200 Subject: [PATCH] Nicht mehr benutzte Vorlagen entfernt Der Lieferplan nutzt inzwischen den ReportGenerator. --- templates/webpages/delivery_plan/_list.html | 44 ------- templates/webpages/delivery_plan/list.html | 7 -- .../webpages/oe/sales_price_information.html | 110 ------------------ 3 files changed, 161 deletions(-) delete mode 100644 templates/webpages/delivery_plan/_list.html delete mode 100644 templates/webpages/delivery_plan/list.html delete mode 100644 templates/webpages/oe/sales_price_information.html diff --git a/templates/webpages/delivery_plan/_list.html b/templates/webpages/delivery_plan/_list.html deleted file mode 100644 index d0d2159d1..000000000 --- a/templates/webpages/delivery_plan/_list.html +++ /dev/null @@ -1,44 +0,0 @@ -[% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %] - -[% BLOCK header %] - [% SET new_sort_dir = SELF.sort_by == sort_by ? 1 - SELF.sort_dir : SELF.sort_dir %] - - - [%- title %] - [%- IF SELF.sort_by == sort_by %] - - [%- END %] - - -[% END %] - -
-[%- IF !SELF.orderitems.size %] -

[%- 'There are no outstanding deliveries at the moment.' | $T8 %]

-[%- ELSE %] - - - - [% PROCESS header title=LxERP.t8('Date') sort_by='transdate', size=15 %] - [% PROCESS header title=LxERP.t8('Description') sort_by='description', size=15 %] - [% PROCESS header title=LxERP.t8('Part Number') sort_by='partnumber', size=15 %] - [% PROCESS header title=LxERP.t8('Qty') sort_by='qty', size=10 %] - [% PROCESS header title=LxERP.t8('Order') sort_by='ordnumber', size=10 %] - [% PROCESS header title=LxERP.t8('Customer') sort_by='customer', size=10 %] - - - [%- FOREACH row = SELF.orderitems %] - - - - - - - - - [%- END %] -
[% row.transdate ? row.transdate : row.order.reqdate_as_date %][% row.part.partnumber | html %][% row.description | html %][% LxERP.format_amount(row.qty, 2) | html %][% row.order.ordnumber | html %][% row.order.customer.name | html %]
- [% PROCESS 'common/paginate.html' pages=SELF.pages, base_url=SELF.url_for(action='list', sort_dir=SELF.sort_dir, sort_by=SELF.sort_by) %] - -[%- END %] -
diff --git a/templates/webpages/delivery_plan/list.html b/templates/webpages/delivery_plan/list.html deleted file mode 100644 index 16ec65632..000000000 --- a/templates/webpages/delivery_plan/list.html +++ /dev/null @@ -1,7 +0,0 @@ -[%- USE T8 %] - -

[% 'Delivery Plan' | $T8 %]

- -[%- PROCESS 'delivery_plan/_filter.html' filter=FORM.filter %] -
-[%- PROCESS 'delivery_plan/_list.html' %] diff --git a/templates/webpages/oe/sales_price_information.html b/templates/webpages/oe/sales_price_information.html deleted file mode 100644 index 576979d62..000000000 --- a/templates/webpages/oe/sales_price_information.html +++ /dev/null @@ -1,110 +0,0 @@ -[% USE HTML %] -[% USE LxERP %] -[% USE T8 %] -[%- IF !TABDIALOG %] - -

[% 'Price information' | $T8 %]

- -

- -

- -

- - - - - - - - - - - - [%- UNLESS part_info.type == 'service' %] - - - - - [%- END %] -
[% 'Part Number' | $T8 %]:[% HTML.escape(part_info.partnumber) %]
[% 'Description' | $T8 %]:[% HTML.escape(part_info.description) %]
[% 'Stocked' | $T8 %]:[% HTML.escape(LxERP.format_amount_units(stocked, part_info.unit, part_info.unit)) %]
-

- -[%- END %] - -

- - [%- SET custom_texts = { - sales_order => { - head => LxERP.t8('Sales Orders'), - empty => LxERP.t8('This part has not been used in a sales order yet.'), - date => LxERP.t8('Order Date'), - number => LxERP.t8('Order Number'), - vc => LxERP.t8('Customer'), - }, - sales_quotation => { - head => LxERP.t8('Quotations'), - empty => LxERP.t8('This part has not been used in a quotation yet.'), - date => LxERP.t8('Quotation Date'), - number => LxERP.t8('Quotation Number'), - vc => LxERP.t8('Customer'), - }, - purchase_order => { - head => LxERP.t8('Purchase Orders'), - empty => LxERP.t8('This part has not been used in a purchase order yet.'), - date => LxERP.t8('Order Date'), - number => LxERP.t8('Order Number'), - vc => LxERP.t8('Vendor'), - }, - request_quotation => { - head => LxERP.t8('RFQs'), - empty => LxERP.t8('This part has not been used in a request quotation yet.'), - date => LxERP.t8('Quotation Date'), - number => LxERP.t8('Quotation Number'), - vc => LxERP.t8('Vendor'), - }, - } - %] - [%- FOREACH type = ['sales_order', 'sales_quotation', 'purchase_order', 'request_quotation'] %] - - - - - - [%- IF !PRICE_INFO.$type.size %] - - - - - [%- ELSE %] - - - - - - - - - - - - - [%- FOREACH row = PRICE_INFO.$type %] - - - - - - - - - - - [%- END %] - [%- END %] - [%- END %] -
[% custom_texts.$type.head %]
[% custom_texts.$type.empty %]
[% custom_texts.$type.date %][% custom_texts.$type.number %][% custom_texts.$type.vc %][% 'Delivered' | $T8 %][% 'Quantity' | $T8 %][% 'Unit price' | $T8 %][% 'Discount' | $T8 %][% 'Line total' | $T8 %]
[% HTML.escape(row.date) %][% HTML.escape(row.number) %][% HTML.escape(row.vc) %][% HTML.escape(LxERP.format_amount(row.ship)) %] [% HTML.escape(row.unit) %][% HTML.escape(LxERP.format_amount(row.qty)) %] [% HTML.escape(row.unit) %][% HTML.escape(LxERP.format_amount(row.sellprice, 2)) %][% HTML.escape(LxERP.format_amount(row.discount * 100)) %][% HTML.escape(LxERP.format_amount(row.linetotal, 2)) %]
-

- -[%- IF !TABDIALOG %] -[%- END %] -- 2.20.1