.widget
.clearfix
br
h5
' Lista de
span.fw-semi-bold
| Talões de Receita
.widget-body
- if taloes_de_receita.empty?
h6 Nenhum registro encontrado.
- else
.table-responsive
table.table.table-hover
thead
tr
th width="12%" Data do Talão
th width="15%" Número do Talão
th Receita
th UG
th Valor
tbody
- taloes_de_receita.each do |talao_de_receita|
tr
td = talao_de_receita.data_do_talao
td = link_to talao_de_receita.numero_do_talao, talao_de_receita, title: "Ver Detalhes", target: "_blank"
- if talao_de_receita.orcamentario?
td = talao_de_receita.natureza_da_receita.codigo_formatado_e_descricao
- else
td = talao_de_receita.try(:conta_extra_orcamentaria).try(:descricao)
td = talao_de_receita.unidade_orcamentaria.try(:sigla)
td.bold = talao_de_receita.valor.to_f.real_contabil