.widget div style="margin-bottom: 30px;" - if logado_na_licitacao? = link_to licitacao_editar_itens_do_apostilamento_path(@apostilamento), class: "btn btn-default btn-sm" do i.icone-cadastrar ' Cadastrar header> h5 ' Lista de span.fw-semi-bold Itens do Apostilamento .widget-body - if itens_do_apostilamento.empty? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover style="font-size: 90%;" thead tr th width="35%" Nome th.text-center width="13%" Valor Original th.text-center width="13%" Valor Reajustado th.text-center width="13%" Valor Atualizado th.text-center width="13%" Quantidade th.text-center width="13%" Valor Final th tbody - @apostilamento.itens_do_apostilamento.each do |item_do_apostilamento| tr td = item_do_apostilamento.item_do_contrato.item.descricao td.text-center = item_do_apostilamento.preco_unitario_original.to_d.real_contabil td.text-center = item_do_apostilamento.preco_unitario.to_d.real_contabil td.text-center = item_do_apostilamento.preco_unitario_valor_do_reajuste.to_d.real_contabil td.text-center = item_do_apostilamento.quantidade.valor_contabil td.text-center = item_do_apostilamento.saldo_somando_com_o_contrato.real_contabil - if exercicio_em_vigor? td = link_to licitacao_excluir_itens_do_apostilamento_path(item_do_apostilamento), method: :delete, data: {confirm: "Tem certeza?"}, class: "btn btn-default btn-sm mb-xs" do i.icone-excluir