.widget header h5 ' Lista de span.fw-semi-bold Receitas - session[:filtros_natureza_da_receita] = request.query_string ? "?" + request.query_string : "" .widget-body - if @naturezas_da_receita.empty? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover thead tr th width="15%" Classificação th width="35%" Descrição th width="20%" Valor Prev LOA (R$) th width="20%" Valor Prev Atual (R$) th width="10%" Opções tbody - @naturezas_da_receita.each do |natureza_da_receita| tr - niveis = natureza_da_receita.classificacao_com_niveis_utilizados.count - espacamento = (niveis - 1) * 5 - font_weight = "font-weight: 100;" - case niveis - when 1 - font_weight = "color: #000; font-weight: 900;" - when 2 - font_weight = "color: #000; font-weight: bold;" - when 3 - font_weight = "color: #212121; font-weight: bold;" - when 4 - font_weight = "color: #343434;1 font-weight: bold;" - when 5 - font_weight = "color: #414141; font-weight: 600;" - when 6 - font_weight = "color: #515254; font-weight: 500;" td = classificacao_da_receita_com_destaque(natureza_da_receita, natureza_da_receita.class) td = natureza_da_receita.descricao_e_sigla + " " - unless natureza_da_receita.padrao span class="label label-danger" ' C td div style="#{font_weight} padding-left: #{espacamento}px" = natureza_da_receita.total_previsto_agregado.to_f.contabil td div style="#{font_weight} padding-left: #{espacamento}px" = natureza_da_receita.valor_alteracao_igual_a_soma_de_valor_atual td = link_to base_natureza_da_receita_path(natureza_da_receita), class: "btn btn-default btn-sm mb-xs", title: 'Ver Detalhes' do i.icone-detalhar = will_paginate @naturezas_da_receita, previous_label: "<", next_label: ">"