diff --git a/app/javascript/stylesheets/application.scss b/app/javascript/stylesheets/application.scss index 7975214..75f32f4 100644 --- a/app/javascript/stylesheets/application.scss +++ b/app/javascript/stylesheets/application.scss @@ -8,7 +8,7 @@ } main > .container { - padding: 60px 15px 0; + padding: 60px 15px 60px 15px; } .footer { diff --git a/app/views/tax_references/show.html.erb b/app/views/tax_references/show.html.erb index 235b504..3515be6 100644 --- a/app/views/tax_references/show.html.erb +++ b/app/views/tax_references/show.html.erb @@ -5,20 +5,20 @@

<%= number_to_percentage(@tax_reference.worker_percentage, precision: 2) %>

<%= number_to_percentage(@tax_reference.employer_percentage, precision: 2) %>

- +
- - - - + + + + <% hourly_contribution = @tax_reference.hourly_wage / 100 %> <% (@tax_reference.min_monthly_hours..TaxReference::MAX_MONTHLY_HOURS).each do |n_hours| %> - +
<%= t('Number of Hours') %><%= t('Employer (extra)') %><%= t('Worker (discount)') %><%= t('Total contribution') %><%= t('Number of Hours') %><%= t('Employer (extra)') %><%= t('Worker (discount)') %><%= t('Total contribution') %>
<%= n_hours %><%= n_hours %> <%= number_to_currency(@tax_reference.employer_contribution(n_hours), locale: :pt) %> <%= number_to_currency(@tax_reference.worker_contribution(n_hours), locale: :pt) %> <%= number_to_currency(@tax_reference.total_contribution(n_hours), locale: :pt) %>