<% if allowed_management? %>
|
Total Budget:
|
<%= h number_to_currency(budget.budget, :precision => 0) %>
|
<% end %>
<% if allowed_management? %>
|
Labor Budget:
|
<%= h number_to_currency(budget.labor_budget, :precision => 0) %>
|
<% end %>
<% if allowed_management? %>
|
Labor Budget Spent:
|
<%= h number_to_currency(budget.spent, :precision => 0) %>
|
<% end %>
<% if allowed_management? %>
|
Labor Budget Remaining:
|
<%= h number_to_currency(budget.labor_budget_left, :precision => 0) %>
|
<% end %>
|
Progress:
|
<%= h number_to_percentage(budget.progress, :precision => 0) %>
|
<% if allowed_management? %>
|
Budget Score:
|
<%= h budget.score %>
|
<% end %>
<% if allowed_management? %>
|
Overruns:
|
<%= h number_to_currency(budget.overruns, :precision => 0) %>
|
<% end %>
<% if allowed_management? && budget.amount_missing_on_deliverables > 0%>
|
Missing on <%= link_to('Deliverables:', :action => 'issues', :id => @project.id, :deliverable_id => :none) %>
|
<%= h number_to_currency(budget.amount_missing_on_deliverables, :precision => 0) %>
|
<% end %>
<% if allowed_management? && budget.amount_missing_on_issues > 0 %>
|
Missing on <%= link_to('Issues:',
:controller => 'timelog',
:action => 'details',
:project_id => @project.id,
:sort_key => 'issue_id',
:sort_order => 'asc') %>
|
<%= h number_to_currency(budget.amount_missing_on_issues, :precision => 0) %>
|
<% end %>
|
Next Due Date:
|
<%= h distance_of_time_in_words_to_now(budget.next_due_date) if budget.next_due_date %>
|
|
Completion:
|
<%= h distance_of_time_in_words_to_now(budget.final_due_date) if budget.final_due_date %>
|
<% if allowed_management? %>
|
Potential Profit:
|
<%= h number_to_currency(budget.profit, :precision => 0) %>
|
<% end %>