]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Pflichtenheftkostenschätzung: Abschnitte/Funktionsblöcke in richtiger Reihenfolge...
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 7 Aug 2013 10:13:26 +0000 (12:13 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 1 Apr 2014 11:09:09 +0000 (13:09 +0200)
templates/webpages/requirement_spec/_edit_time_and_cost_estimate.html
templates/webpages/requirement_spec/_edit_time_and_cost_estimate_item.html
templates/webpages/requirement_spec/_show_time_and_cost_estimate.html
templates/webpages/requirement_spec/_show_time_and_cost_estimate_item.html

index a18efc09b918113d23cddf4fc9b837a776a27bc5..ce09a9a227bf1f83c7e7b45159ec5dc28ec1cd1d 100644 (file)
@@ -15,7 +15,7 @@
    [%# time-cost-estimate-context-menu %]
    <table class="time-cost-estimate">
     <tbody>
-     [%- FOREACH section = SELF.requirement_spec.sections %]
+     [%- FOREACH section = SELF.requirement_spec.sections_sorted %]
       <tr class="listheading">
        <th>[%- LxERP.t8("Function block") %]</th>
        <th>[%- LxERP.t8("Complexity") %]</th>
@@ -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
index a9f6fe55420a7366c49e054b8353e1b08359bf62..e3975a99983545d330e92e0ca6051d758f5bd05e 100644 (file)
@@ -19,7 +19,7 @@
 </tr>
 
 [%- 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
index c4a2baecbec264b67002b5451bf42fbbbbfa2b41..76b7afe610b746dfebcba800dc2a5f0e2541a186 100644 (file)
@@ -11,7 +11,7 @@
 
   <table class="time-cost-estimate time-cost-estimate-context-menu">
    <tbody>
-    [%- FOREACH section = SELF.requirement_spec.sections %]
+    [%- FOREACH section = SELF.requirement_spec.sections_sorted %]
      <tr class="listheading">
       <th>[%- LxERP.t8("Function block") %]</th>
       <th>[%- LxERP.t8("Complexity") %]</th>
@@ -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 %]
index f12cf5743e21a44147329dafa081f4d8fe0b0d8b..897d50fa590f8c3df143e82bcd01939b61f67dd6 100644 (file)
@@ -17,7 +17,7 @@
 </tr>
 
 [%- 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 -%]