.widget header h5 ' Lista de span.fw-semi-bold Registro dos Bens .widget-body - if @recebimentos_de_bens.empty? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover thead tr th Data do Recebimento th Nº do Recebimento th U. O. th Ordem de Fornecimento th NF th.align-center Status - if @outros == true th Classificação th width="150" tbody - @recebimentos_de_bens.each do |recebimento_de_bem| tr td = recebimento_de_bem.data_do_recebimento td = recebimento_de_bem.codigo td = recebimento_de_bem.unidade_orcamentaria.sigla td = recebimento_de_bem.try(:recebimento_de_material).try(:ordem_de_compra).try(:numero) td = recebimento_de_bem.numero_da_nota td.align-center = label_html_tag(recebimento_de_bem.status_i18n, recebimento_de_bem.tipo_de_label) - if @outros == true td = recebimento_de_bem.classificacao_i18n td.align-right = link_to recebimento_de_bem, class: "btn btn-default btn-sm mb-xs", title: "Ver Detalhes" do i.icone-detalhar - if esta_autorizado?(:edit) && recebimento_de_bem.recebimento_de_material.blank? && recebimento_de_bem.a_receber? = botao_com_permissao edit_patrimonio_recebimento_de_bem_path(recebimento_de_bem), {acao: :update}, { \ class_icone:'icone-editar', params: {class: 'btn btn-default btn-sm mb-xs', title: "Editar"}, } = will_paginate@recebimentos_de_bens, previous_label: "<", next_label: ">"