From 21635c958a004f664aca2e3148e793ea390c0ea4 Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Thu, 1 Dec 2016 15:12:54 +0100 Subject: [PATCH] Part Controller - alte Artikeltemplates entfernt --- templates/webpages/ic/assembly_row.html | 41 --- templates/webpages/ic/form_footer.html | 99 ------ templates/webpages/ic/form_header.html | 295 ------------------ templates/webpages/ic/makemodel.html | 36 --- templates/webpages/ic/price_row.html | 22 -- .../webpages/ic/sales_price_information.html | 34 -- .../webpages/ic/tabs/_edit_translations.html | 22 -- 7 files changed, 549 deletions(-) delete mode 100644 templates/webpages/ic/assembly_row.html delete mode 100644 templates/webpages/ic/form_footer.html delete mode 100644 templates/webpages/ic/form_header.html delete mode 100644 templates/webpages/ic/makemodel.html delete mode 100644 templates/webpages/ic/price_row.html delete mode 100644 templates/webpages/ic/sales_price_information.html delete mode 100644 templates/webpages/ic/tabs/_edit_translations.html diff --git a/templates/webpages/ic/assembly_row.html b/templates/webpages/ic/assembly_row.html deleted file mode 100644 index 401b54a06..000000000 --- a/templates/webpages/ic/assembly_row.html +++ /dev/null @@ -1,41 +0,0 @@ -[%- USE T8 %] -[%- USE LxERP %] -[%- USE HTML %] -[%- USE L %] - - [% 'Individual Items' | $T8 %] - - - - - -[%- FOREACH col = COLUMNS %] -[%- SET hcol = HEADER.$col %] - - - - - -
[%- LxERP.format_amount(assembly_purchase_price_total, 2) %][%- LxERP.format_amount(assemblytotal, 2) %]
- - diff --git a/templates/webpages/ic/form_footer.html b/templates/webpages/ic/form_footer.html deleted file mode 100644 index a11c578b4..000000000 --- a/templates/webpages/ic/form_footer.html +++ /dev/null @@ -1,99 +0,0 @@ -[%- USE T8 %] -[%- USE HTML %] -[%- USE LxERP %] - [%- IF item == 'assembly' %] - - - [%- END %] - - - - - - -
- - - - -[%- IF LANGUAGES.size %] - [% PROCESS 'ic/tabs/_edit_translations.html' %] -[%- END %] - -[%- IF id %] -
- [% PROCESS ic/sales_price_information.html id=id %] -
-[%- END %] - -[%- IF CUSTOM_VARIABLES.size %] -
- -

[% 'Unchecked custom variables will not appear in orders and invoices.' | $T8 %]

- -

- - [%- FOREACH var = CUSTOM_VARIABLES %] - - - [%- IF !var.partsgroup_filtered %] - - [%- END %] - - - [%- END %] -
[% var.VALID_BOX %][% HTML.escape(var.description) %][% var.HTML_CODE %]
-

-
-[%- END %] - -[%- IF id %] -
-
-
-
-[%- END %] - - - -[%- IF show_edit_buttons %] - - - - - - [%- IF id %] - [%- UNLESS previousform %] - - [%- END %] - - [%- IF orphaned %] - [%- UNLESS previousform %] - [%- IF item == 'assembly' %] - [%- UNLESS onhand %] - - [%- END %] - [%- ELSE %] - - [%- END %] - [%- END %] - [%- END %] - [%- END %] - -[%- END %] - - [%- IF id != "" %] - - [%- END %] - - diff --git a/templates/webpages/ic/form_header.html b/templates/webpages/ic/form_header.html deleted file mode 100644 index ebd0b5bd2..000000000 --- a/templates/webpages/ic/form_header.html +++ /dev/null @@ -1,295 +0,0 @@ -[%- USE T8 %] -[%- USE HTML %] -[%- USE LxERP %][%- USE L -%][%- USE P -%] -[% PROCESS 'common/select_warehouse_bin.html' %] -

[% title %] [% HTML.escape(partnumber) %] [% HTML.escape(description) %]

- -[% INCLUDE 'common/flash.html' %] - -
- - - - - - - - - - - - - -
- - -
- - - - - - - - - - diff --git a/templates/webpages/ic/makemodel.html b/templates/webpages/ic/makemodel.html deleted file mode 100644 index 4daad8134..000000000 --- a/templates/webpages/ic/makemodel.html +++ /dev/null @@ -1,36 +0,0 @@ -[%- USE T8 %] -[%- USE HTML %] -[%- USE LxERP %] - - - - diff --git a/templates/webpages/ic/price_row.html b/templates/webpages/ic/price_row.html deleted file mode 100644 index 10f4b5b58..000000000 --- a/templates/webpages/ic/price_row.html +++ /dev/null @@ -1,22 +0,0 @@ -[%- USE T8 %] -[%- USE HTML %] -[%- USE LxERP %] -[%- IF PRICES.size %] - - - -[%- END %] diff --git a/templates/webpages/ic/sales_price_information.html b/templates/webpages/ic/sales_price_information.html deleted file mode 100644 index 012a68b4c..000000000 --- a/templates/webpages/ic/sales_price_information.html +++ /dev/null @@ -1,34 +0,0 @@ -
-
-
- - diff --git a/templates/webpages/ic/tabs/_edit_translations.html b/templates/webpages/ic/tabs/_edit_translations.html deleted file mode 100644 index 1d0d6c18d..000000000 --- a/templates/webpages/ic/tabs/_edit_translations.html +++ /dev/null @@ -1,22 +0,0 @@ -[%- USE HTML %][%- USE L -%][%- USE P -%][%- USE LxERP -%] - -
-
- - - - - - -
-[%- IF image && INSTANCE_CONF.get_parts_show_image %] - -[%- END %] - - - - - - - - - - - -
- - - - - - - - - - - - - - - [%- IF all_partsgroup.size %] - - - - [% END %] - - - - [%- IF BUCHUNGSGRUPPEN.size %] - - - - [%- END %] - - [%- UNLESS is_assembly %] - - [%- END %] - [%- IF is_part %] - - [%- END %] - - - - -
[% 'Part Number' | $T8 %]
[% 'Part Description' | $T8 %] - [%- IF description_area %] - - [%- ELSE %] - - [%- END %] -
[% 'EAN-Code' | $T8 %]
[% 'Group' | $T8 %] - [%- INCLUDE generic/multibox.html - name = 'partsgroup', - DATA = all_partsgroup, - show_empty = 1, - id_sub = 'pg_keys', - label_key = 'partsgroup', - style = 'width:250px' - -%] -
[% 'Booking group' | $T8 %] - [%- INCLUDE generic/multibox.html - name = 'buchungsgruppen_id', - DATA = BUCHUNGSGRUPPEN, - id_key = 'id', - label_key = 'description', - style = 'width:250px' - -%] -
[% 'Payment Terms' | $T8 %] - [%- INCLUDE generic/multibox.html - name = 'payment_id', - DATA = payment_terms, - show_empty = 1, - id_key = 'id', - label_key = 'description', - style = 'width:250px' - -%] -
-
- - - - - - - - - -
[% 'Part Notes' | $T8 %][% 'Formula' | $T8 %]
- [% L.textarea_tag("notes", P.restricted_html(notes), class="texteditor", style="width: 600px; height: 200px") %] - - -
-
-
- - - - - - - - - - - - - - - - - [%- UNLESS is_assembly %] - - - - - [%- END %] - - [%- IF ALL_PRICE_FACTORS.size %] - - - - - [%- END %] - - - - - - - [%- UNLESS is_service %] - - - - - [%- END %] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [%- IF id %] - - - - - [%- END %] - [%- UNLESS is_service %] - - - - - [%- END %] - - - - -
[% 'Updated' | $T8 %] - -
[% 'List Price' | $T8 %]
[% 'Sell Price' | $T8 %]
[% 'Last Cost' | $T8 %]
[% 'Price Factor' | $T8 %] - [%- INCLUDE generic/multibox.html - name = 'price_factor_id', - DATA = ALL_PRICE_FACTORS, - show_empty = 1, - id_key = 'id', - label_key = 'description', - style = 'width:100px' - -%] -
[% 'Unit' | $T8 %] - - [%- UNLESS unit_changeable %] - [% HTML.escape(unit) %] - [%- ELSE %] - [%- INCLUDE generic/multibox.html - name = 'unit', - DATA = ALL_UNITS, - id_key = 'name', - label_key = 'name', - style = 'width:100px' - -%] - [%- END %] -
[% 'Weight' | $T8 %] - [%- IF is_assembly %] [% LxERP.format_amount(weight) %][%- END %] - - [% HTML.escape(defaults.weightunit) %] -
[% 'On Hand' | $T8 %] [% LxERP.format_amount(onhand) %]
[% 'ROP' | $T8 %]
[% 'Default Warehouse' | $T8 %] - -
[% 'Default Bin' | $T8 %]
[% 'Verrechnungseinheit' | $T8 %]
[% 'Business Volume' | $T8 %]
-
-
- - - - - - - - - - - -
[% 'Image' | $T8 %][% 'Microfiche' | $T8 %]
[% 'Drawing' | $T8 %]
-
- - - - - - - - - [%- FOREACH row = MM_DATA %] - - - - - - - - [%- END %] -
[% 'Make' | $T8 %][% 'Model' | $T8 %][% 'Last Cost' | $T8 %][% 'Updated' | $T8 %][% 'order' | $T8 %]
- [%- INCLUDE generic/multibox.html - name = "make_$loop.count", - default = row.make, - DATA = ALL_VENDORS, - show_empty = 1, - label_key = 'name', - id_key = 'id', - -%] - -
-
- - - - - -[%- FOREACH row = PRICES %] - - - - - -[%- END %] -
[% 'Price group' | $T8 %][% 'Price' | $T8 %]
[% HTML.escape(row.pricegroup) %]
-
- - - - - - - [%- FOREACH language = LANGUAGES %] - [% SET language_id = language.id - translation = translations_map.$language_id %] - [% L.hidden_tag('translations[+].language_id', language.id) %] - - - - - - [%- END %] -
[% LxERP.t8("Language") %][% LxERP.t8("Description") %][% LxERP.t8("Long Description") %]
[% HTML.escape(language.description) %][% L.input_tag("translations[].translation", translation.translation) %][% L.textarea_tag("translations[].longdescription", P.restricted_html(translation.longdescription), id="translations_longdescription_" _ language_id, class="texteditor", style="width: 500px; height: 100px") %]
-
-- 2.20.1