| <%= Russian::strftime(month, "%B %Y") %> |
<%= link_to all_count = beznal_for_month.r_count, {:controller => dep, :action => :index, :filter_month => month.month, :filter_year => month.year, :money_type => 10}, :target => '_blank' %> |
<%= all_sum = beznal_for_month.r_total_sum_get_money.to_f %> |
<%= link_to all_count.to_i - beznal_for_month.r_count_2.to_i, {:controller => dep, :action => :index, :filter_month => month.month, :filter_year => month.year, :money_type => 10, :get_money_status => '1'}, :target => '_blank' %> |
<%= all_sum.to_f - beznal_for_month.r_sum_2.to_f%> |
<%= link_to beznal_for_month.r_count_2.to_i, {:controller => dep, :action => :index, :filter_month => month.month, :filter_year => month.year, :money_type => 10, :get_money_status => '2'}, :target => '_blank' %> |
<%= beznal_for_month.r_sum_2.to_f%> |
<%= link_to beznal_for_month.r_count_3.to_i, {:controller => dep, :action => :index, :filter_month => month.month, :filter_year => month.year, :money_type => 10, :get_money_status => '3'}, :target => '_blank' %> |
<%= beznal_for_month.r_sum_3.to_f%> |
<%= ((100*beznal_for_month.r_count_2.to_f/beznal_for_month.r_count.to_f)).to_i %> |
<%= ((100*beznal_for_month.r_sum_2.to_f/beznal_for_month.r_total_sum_get_money.to_f) if beznal_for_month.r_total_sum_get_money.to_f > 0).to_i%> |
<% end %>
<% end %>