epic-s6ts
[kivitendo-erp.git] / templates / webpages / requirement_spec / _edit_time_and_cost_estimate_item.html
1 [%- USE HTML -%][%- USE LxERP -%][%- USE P -%][%- USE L -%]
2 <tr class="listrow">
3  [% L.hidden_tag("requirement_spec_items[+].id", item.id, id = id_prefix _ '_item_id') %]
4
5  <td style="padding-left: [%- level * 50 -%]px">
6   [%- item.fb_number _ ": " _ item.description_as_restricted_html -%]
7  </td>
8  <td>
9   [%- L.select_tag('requirement_spec_items[].complexity_id', SELF.complexities, id=id_prefix _ '_complexity_id_' _ item.id, title_key='description', default=item.complexity_id, style="width: 100%") %]<br>
10  </td>
11  <td>
12   [%- L.select_tag('requirement_spec_items[].risk_id', SELF.risks, id=id_prefix _ '_risk_id_' _ item.id, title_key='description', default=item.risk_id, style="width: 100%") %]<br>
13  </td>
14  [%- IF !item.children.size -%]
15   <td align="right" nowrap>[%- P.man_days_tag('requirement_spec_items[].time_estimation', item, id=id_prefix _ '_time_estimation') %]</td>
16  [%- ELSE -%]
17   <td>&nbsp;</td>
18  [%- END -%]
19 </tr>
20
21 [%- IF item.children.size -%]
22  [%- FOREACH child = item.children_sorted -%]
23   [%- INCLUDE 'requirement_spec/_edit_time_and_cost_estimate_item.html'
24               id_prefix = id_prefix
25               item      = child
26               level     = level + 1 -%]
27  [%- END -%]
28 [%- END -%]