anthonymidili/EasyKeep

View on GitHub
app/views/reports/_totals.html.haml

Summary

Maintainability
Test Coverage
%p
  Total amount received:
  %span.large_red_text
    = number_to_currency(current_company.total_company_payments(quarter_or_year, date_to_view))
%p
  Total less taxes applied:
  %span.large_red_text
    = number_to_currency(current_company.total_less_taxes(quarter_or_year, date_to_view))
%p
  Taxes applied to total:
  %span.large_red_text
    = number_to_currency(current_company.taxes_applied(quarter_or_year, date_to_view))