header h5 ' Lista de span.fw-semi-bold Liquidações .widget-body - if @liquidacoes.empty? h6 Nenhum registro encontrado. - else table.table.table-hover.table-responsive thead tr th width="20%" Número th width="15%" Data th width="15%" Nº da Nota th.text-center width="15%" Valor th.text-center width="20%" Saldo a Pagar th width="60" tbody - @liquidacoes.where(liquidacao_mae_id: nil).order('data_da_liquidacao DESC, numero DESC').each do |liquidacao| tr td = liquidacao.empenho_e_numero td = liquidacao.data_da_liquidacao.to_s td = liquidacao.nota_fiscal_numero td.text-center = liquidacao.valor.to_f.real_contabil - if liquidacao.estornada? td .align-center style="font-weight: 500" = liquidacao.valor_pago.to_f.real_contabil .br = progressbar porcentagem: 0 td span.label.label-danger data-toggle="tooltip" data-placement="bottom" title="Estornada" - else td.center .align-center style="font-weight: 500" = liquidacao.saldo.to_f.real_contabil .br = progressbar porcentagem: liquidacao.porcentagem_do_saldo_a_pagar td width="60" = link_to portal_da_transparencia_liquidacao_path(id: liquidacao.id), class: "btn btn-default btn-sm mb-xs", title: "Ver Detalhes" do i.icone-detalhar