.widget header> h5 ' Lista de span.fw-semi-bold Itens do Aditivo .widget-body - if itens_do_aditivo.empty? h6 Nenhum registro encontrado. - else table.table.table-hover.table-responsive thead tr th Item th width="14%" Valor Unitário - if @aditivo.reajuste_de_valor_acrescimo? || @aditivo.reajuste_de_valor_decrescimo? th width="10%" Valor do Reajuste th width="12%" Quantidade - if @aditivo.acrescimo? || @aditivo.reducao? th width="12%" Porcentagem th width="12%" Valor Total tbody - itens_do_aditivo.each do |item_do_aditivo| tr td = item_do_aditivo.item_do_lote.item_do_pedido.try(:item).try(:codigo_descricao_unidade_codigo_da_prefeitura) td = item_do_aditivo.valor_do_item.try(:real_contabil) - if @aditivo.reajuste_de_valor_acrescimo? || @aditivo.reajuste_de_valor_decrescimo? td = item_do_aditivo.valor_adicionado.try(:real_contabil) td = item_do_aditivo.quantidade.try(:valor_contabil, maximum_precision: 4) - if @aditivo.acrescimo? || @aditivo.reducao? td = badge_porcentagem item_do_aditivo.porcentagem_quantidade.round(2) td = item_do_aditivo.try(:total).try(:real_contabil)