header h5 ' Lista de span.fw-semi-bold Itens .widget-body - if @empenho.itens_do_empenho.validos_no_orcamento.empty? h6 Nenhum registro encontrado. - else table.table.table-hover.table-responsive style="font-size: 14px;" thead tr th Código th Descrição /- if @empenho.projeto.present? && @empenho.projeto.pedido.possui_periodicidade_nos_itens? /th Periodicidade th width="11%" Valor Unitário th Qtd. no Empenho th width="12%" Valor Total th Qtd. Anulada th Qtd. Liquidada th width="13%" Saldo de Itens a Liquidar tbody - @empenho.itens_do_empenho.validos_no_orcamento.includes([:item]).order(:item_id).each do |item_do_empenho| tr - item_duplicado = item_do_empenho.empenho.itens_do_empenho.validos_no_orcamento.where(item_id: item_do_empenho.item_id).count > 1 td = "##{item_do_empenho.item.id}" td = item_do_empenho.item.try(:descricao_codigo_na_prefeitura_e_unidade) /- if @empenho.projeto.present? && @empenho.projeto.pedido.possui_periodicidade_nos_itens? /td = item_do_empenho.try(:item_do_pedido).try(:periodicidade_e_unidade_de_medida) td = item_do_empenho.valor_unitario.to_f.valor_financeiro td = item_do_empenho.quantidade.to_f.valor_contabil td = item_do_empenho.total.to_f.real_contabil - if item_duplicado td.align-center = " - " td.align-center = " - " td.align-center = " - " - else td = item_do_empenho.quantidade_anulada.to_f.to_d.valor_contabil td = item_do_empenho.quantidade_liquidada.to_f.valor_contabil td.align-center style="font-weight: 500" = item_do_empenho.quantidade_disponivel_a_liquidar.try(:valor_contabil) = progressbar porcentagem: item_do_empenho.porcentagem_da_quantidade_disponivel_a_liquidar