X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Frequirement_spec%2F_show_time_and_cost_estimate_item.html;h=d051972479e6308fe403b3a346f78a6307cc20a2;hb=c17d679a939585324f8690e04c4d32ff4a1f4053;hp=c3d21e3b95c0654e7762942429d7392295ed8462;hpb=766f5705ecb9cd56adfbffd94c871959bb64c6fd;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 c3d21e3b9..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
@@ -8,7 +8,7 @@
[%- 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 -%]