X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=templates%2Fwebpages%2Frequirement_spec%2F_show_time_and_cost_estimate_item.html;h=d051972479e6308fe403b3a346f78a6307cc20a2;hb=75a140baf783b8d96e4e1d303111b79f5472233a;hp=f12cf5743e21a44147329dafa081f4d8fe0b0d8b;hpb=a7db9b362855bd38046dd5d55c1f2cfcba4a26b1;p=kivitendo-erp.git
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..d05197247 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
@@ -1,14 +1,14 @@
[%- USE HTML -%][%- USE LxERP -%][%- USE P -%]
- [%- P.simple_format(item.fb_number _ ": " _ item.description) -%]
+ [%- item.fb_number _ ": " _ item.description_as_restricted_html -%]
|
[%- HTML.escape(item.complexity.description) -%] |
[%- HTML.escape(item.risk.description) -%] |
[%- IF !item.children.size -%]
[%- P.format_man_days(item.time_estimation, skip_zero=1) -%] |
[%- UNLESS SELF.requirement_spec.is_template %]
- [%- LxERP.format_amount(item.time_estimation * SELF.requirement_spec.hourly_rate, 2) -%] EUR |
+ [%- LxERP.format_amount(item.time_estimation * SELF.requirement_spec.hourly_rate * section.sellprice_factor, 2) -%] EUR |
[%- END %]
[%- ELSE -%]
|
@@ -17,17 +17,18 @@
[%- 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 -%]
+ section = section
+ item = child
+ level = level + 1 -%]
[%- END -%]
[%- LxERP.t8("Sum for #1", item.fb_number) -%]: |
[%- P.format_man_days(item.time_estimation, skip_zero=1) -%] |
[%- UNLESS SELF.requirement_spec.is_template %]
- [%- LxERP.format_amount(item.time_estimation * SELF.requirement_spec.hourly_rate, 2) -%] EUR |
+ [%- LxERP.format_amount(item.time_estimation * SELF.requirement_spec.hourly_rate * section.sellprice_factor, 2) -%] EUR |
[%- END %]
[%- END -%]