X-Git-Url: http://wagnertech.de/git?p=kivitendo-erp.git;a=blobdiff_plain;f=templates%2Fwebpages%2Frequirement_spec%2F_show_time_and_cost_estimate_item.html;fp=templates%2Fwebpages%2Frequirement_spec%2F_show_time_and_cost_estimate_item.html;h=d051972479e6308fe403b3a346f78a6307cc20a2;hp=c3d21e3b95c0654e7762942429d7392295ed8462;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hpb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44
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 -%]