This commit is contained in:
Eric Davis
2008-06-26 15:25:05 -07:00
parent 5c0ccc549b
commit 3b5c46dfab
2 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
<% if allowed_management? %>
<tr>
<td>
Project Budget:
Total Budget:
</td>
<td class="calculation-column">
<%= h number_to_currency(budget.budget, :precision => 0) %>
@@ -15,7 +15,7 @@
<% if allowed_management? %>
<tr>
<td>
Budget Spent:
Labor Budget Spent:
</td>
<td class="calculation-column">
<%= h number_to_currency(budget.spent, :precision => 0) %>
@@ -26,7 +26,7 @@
<% if allowed_management? %>
<tr>
<td>
Budget Remaining:
Labor Budget Remaining:
</td>
<td class="calculation-column">
<%= h number_to_currency(budget.left, :precision => 0) %>
@@ -85,11 +85,11 @@
<% if allowed_management? %>
<tr>
<td>
Profit:
Potential Profit:
</td>
<td class="calculation-column">
<%= h number_to_currency(budget.profit, :precision => 0) %>
</td>
</tr>
<% end %>
</table>
</table>

View File

@@ -51,7 +51,7 @@
<%= row_with_data("Labor: ", number_to_currency(deliverable.labor_budget || 0.0, :precision => 0)) -%>
<%= row_with_data("Overhead: ", number_or_percent(deliverable.overhead, deliverable.overhead_percent)) -%>
<%= row_with_data("Materials: ", number_or_percent(deliverable.materials, deliverable.materials_percent)) -%>
<%= row_with_data("Profit: ", number_or_percent(deliverable.profit, deliverable.profit_percent)) -%>
<%= row_with_data("Potential Profit: ", number_or_percent(deliverable.profit, deliverable.profit_percent)) -%>
<% end %>
</table>
</td>