Fix the FixedBudget displays with a validated period
This commit is contained in:
1 parent
7c6c2797c4
commit
c6d43d9149
1 file changed
+3
-3
@@ -63,7 +63,7 @@
|
|||||||
<td> TODO: Release 2 / TODO hrs </td>
|
<td> TODO: Release 2 / TODO hrs </td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<% deliverable.fixed_budgets.by_period(period).each do |fixed_budget| %>
|
<% deliverable.fixed_budgets.by_period(validated_period).each do |fixed_budget| %>
|
||||||
<% next if fixed_budget.blank_record? %>
|
<% next if fixed_budget.blank_record? %>
|
||||||
<tr id="fixed_budget_<%= fixed_budget.id %>">
|
<tr id="fixed_budget_<%= fixed_budget.id %>">
|
||||||
<td class="l fixed_title" title="<%= h(fixed_budget.description) %>"><%= h(fixed_budget.title) %></td>
|
<td class="l fixed_title" title="<%= h(fixed_budget.description) %>"><%= h(fixed_budget.title) %></td>
|
||||||
@@ -75,8 +75,8 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="l"><%= l(:field_markup) %></td>
|
<td class="l"><%= l(:field_markup) %></td>
|
||||||
<td class="fixed_markup_budget_spent"><%= h(format_value_field_for_contracts(deliverable.fixed_markup_budget_total_spent(period))) %></td>
|
<td class="fixed_markup_budget_spent"><%= h(format_value_field_for_contracts(deliverable.fixed_markup_budget_total_spent(validated_period))) %></td>
|
||||||
<td class="fixed_markup_budget_total"><%= h(format_value_field_for_contracts(deliverable.fixed_markup_budget_total(period))) %></td>
|
<td class="fixed_markup_budget_total"><%= h(format_value_field_for_contracts(deliverable.fixed_markup_budget_total(validated_period))) %></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user