.widget - if @recebimento_de_bem.recebimento_de_material.nil? && @recebimento_de_bem.a_receber? div style="margin-bottom: 30px;" = link_to patrimonio_editar_itens_do_recebimento_de_bem_path(@recebimento_de_bem.id), class: "btn btn-default btn-sm" do i.icone-cadastrar ' Incluir/Editar Itens header> h5 ' Lista de span.fw-semi-bold Itens do Registro do Bem .widget-body - if itens_dos_recebimentos_de_bens.empty? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover thead tr th ITEM th.text-center MARCA th.text-center UNIDADE DE MEDIDA th.text-center QUANTIDADE th.text-center VALOR UNITÁRIO th.text-center VALOR TOTAL tbody - itens_dos_recebimentos_de_bens.each do |item_do_recebimento_de_bem| tr td = item_do_recebimento_de_bem.item.codigo_e_descricao td.text-center width="8%" = item_do_recebimento_de_bem.marca td.text-center width="12%" = item_do_recebimento_de_bem.unidade_de_medida.descricao td.text-center width="8%" = item_do_recebimento_de_bem.quantidade.try(:contabil) td.text-center width="10%" = item_do_recebimento_de_bem.valor_unitario.try(:real_contabil) td.text-center width="10%"= item_do_recebimento_de_bem.valor_total.try(:real_contabil)