.widget header h5 ' Arrecadação de span.fw-semi-bold Receita Tributária .widget-body - if @lotes_de_receitas.empty? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover thead tr th Código th Data da Arrecadação th Conta Bancária th Convênio th Valor th Status th Qtd. de Rúbricas th width="50" tbody - @lotes_de_receitas.each do |lote_de_receita| tr td = lote_de_receita.id td = lote_de_receita.data_de_arrecadacao td = lote_de_receita.conta_bancaria.to_s td = lote_de_receita.convenio td b = lote_de_receita.valor.try(:real_contabil) td - if lote_de_receita.rejeitado? span.label.label-danger #{lote_de_receita.status_i18n.humanize.try(:upcase)} - elsif lote_de_receita.aprovado? || lote_de_receita.aprovado_parcialmente? span.label.label-success #{lote_de_receita.status_i18n.humanize.try(:upcase)} - else span.label.label-info #{lote_de_receita.status_i18n.humanize.try(:upcase)} td = lote_de_receita.itens_do_lote_de_receita.size rescue 0 td = link_to lote_de_receita, class: "btn btn-default btn-sm mb-xs", title: "Ver Detalhes" do i.icone-detalhar = will_paginate@lotes_de_receitas, previous_label: "<", next_label: ">"