From: Moritz Bunkus Date: Wed, 7 Aug 2013 10:13:26 +0000 (+0200) Subject: Pflichtenheftkostenschätzung: Abschnitte/Funktionsblöcke in richtiger Reihenfolge... X-Git-Tag: release-3.2.0beta~467^2~84 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e1261979d8b9de248d5fcc7042a6b8d0b9136024;p=kivitendo-erp.git Pflichtenheftkostenschätzung: Abschnitte/Funktionsblöcke in richtiger Reihenfolge anzeigen --- diff --git a/templates/webpages/requirement_spec/_edit_time_and_cost_estimate.html b/templates/webpages/requirement_spec/_edit_time_and_cost_estimate.html index a18efc09b..ce09a9a22 100644 --- a/templates/webpages/requirement_spec/_edit_time_and_cost_estimate.html +++ b/templates/webpages/requirement_spec/_edit_time_and_cost_estimate.html @@ -15,7 +15,7 @@ [%# time-cost-estimate-context-menu %] - [%- FOREACH section = SELF.requirement_spec.sections %] + [%- FOREACH section = SELF.requirement_spec.sections_sorted %] @@ -29,7 +29,7 @@ [%- IF section.children.size %] [%- SET at_least_one_function_block = 1 %] - [%- FOREACH child = section.children %] + [%- FOREACH child = section.children_sorted %] [%- INCLUDE 'requirement_spec/_edit_time_and_cost_estimate_item.html' id_prefix = id_prefix item = child diff --git a/templates/webpages/requirement_spec/_edit_time_and_cost_estimate_item.html b/templates/webpages/requirement_spec/_edit_time_and_cost_estimate_item.html index a9f6fe554..e3975a999 100644 --- a/templates/webpages/requirement_spec/_edit_time_and_cost_estimate_item.html +++ b/templates/webpages/requirement_spec/_edit_time_and_cost_estimate_item.html @@ -19,7 +19,7 @@ [%- IF item.children.size -%] - [%- FOREACH child = item.children -%] + [%- FOREACH child = item.children_sorted -%] [%- INCLUDE 'requirement_spec/_edit_time_and_cost_estimate_item.html' id_prefix = id_prefix item = child diff --git a/templates/webpages/requirement_spec/_show_time_and_cost_estimate.html b/templates/webpages/requirement_spec/_show_time_and_cost_estimate.html index c4a2baecb..76b7afe61 100644 --- a/templates/webpages/requirement_spec/_show_time_and_cost_estimate.html +++ b/templates/webpages/requirement_spec/_show_time_and_cost_estimate.html @@ -11,7 +11,7 @@
[%- LxERP.t8("Function block") %] [%- LxERP.t8("Complexity") %]
- [%- FOREACH section = SELF.requirement_spec.sections %] + [%- FOREACH section = SELF.requirement_spec.sections_sorted %] @@ -28,7 +28,7 @@ [%- IF section.children.size %] [%- SET at_least_one_function_block = 1 %] - [%- FOREACH child = section.children %] + [%- FOREACH child = section.children_sorted %] [%- INCLUDE 'requirement_spec/_show_time_and_cost_estimate_item.html' item = child level = 1 %] diff --git a/templates/webpages/requirement_spec/_show_time_and_cost_estimate_item.html b/templates/webpages/requirement_spec/_show_time_and_cost_estimate_item.html index f12cf5743..897d50fa5 100644 --- a/templates/webpages/requirement_spec/_show_time_and_cost_estimate_item.html +++ b/templates/webpages/requirement_spec/_show_time_and_cost_estimate_item.html @@ -17,7 +17,7 @@ [%- IF item.children.size -%] - [%- FOREACH child = item.children -%] + [%- FOREACH child = item.children_sorted -%] [%- INCLUDE 'requirement_spec/_show_time_and_cost_estimate_item.html' item = child level = level + 1 -%]
[%- LxERP.t8("Function block") %] [%- LxERP.t8("Complexity") %]