- unless @anulacao_do_empenho.confirmado? - if @anulacao_do_empenho.itens_anulados.any? = link_to anulacoes_do_empenho_editar_itens_path(@anulacao_do_empenho), class: "btn btn-default btn-sm" do i.icone-cadastrar ' Adicionar/Remover Itens .widget header style="margin-bottom: 15px;" h5 ' Lista de span.fw-semi-bold Itens da Anulação do Empenho .widget-body - if itens_anulados.empty? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover thead tr th width="70" Código th Descrição th width="140" Valor Unitário th width="140" Quantidade th width="140" Valor Total tbody - itens_anulados.includes(:item_do_empenho).order("contabilidade_itens_do_empenho.item_id").each do |item_anulado| tr td = "##{item_anulado.item_do_empenho.item.id}" td.justify = item_anulado.item_do_empenho.item.try(:descricao_codigo_na_prefeitura_e_unidade) td = item_anulado.item_do_empenho.valor_unitario.to_f.valor_financeiro td = item_anulado.quantidade.to_f.to_d.valor_contabil td = item_anulado.total.to_f.valor_financeiro