X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Frequirement_spec%2F_show_time_and_cost_estimate_item.html;h=d051972479e6308fe403b3a346f78a6307cc20a2;hb=b293ff8ad52fc76ba0c44783e3982418114d6b08;hp=897d50fa590f8c3df143e82bcd01939b61f67dd6;hpb=e1261979d8b9de248d5fcc7042a6b8d0b9136024;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 897d50fa5..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 -%]   @@ -19,15 +19,16 @@ [%- IF item.children.size -%] [%- 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 -%]