.widget header> h5 ' Lista de span.fw-semi-bold Recebimento de Materiais (outros) .widget-body - if @recebimento_de_materiais.empty? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover style="font-size: 95%;" thead tr th Data th Número th.text-center Classificação th.text-center width="100" U. O. th Almoxarifado th.text-center Tipo de Material th.text-right width="150" tbody - @recebimento_de_materiais.select { |recebimento| recebimento.classificacao.present? }.map do |recebimento_de_material| tr td = recebimento_de_material.try(:data_do_recebimento) td = "#{recebimento_de_material.codigo}" td.text-center = recebimento_de_material.localizar(:classificacao) td.text-center = recebimento_de_material.try(:unidade_orcamentaria).try(:sigla) td = recebimento_de_material.try(:almoxarifado).try(:nome) td.text-center = recebimento_de_material.localizar(:tipo_de_material) td.text-right = link_to gestao_de_estoque_recebimento_de_material_path(recebimento_de_material) + "?tipo=outros", class: "btn btn-default btn-sm mb-xs", title: "Ver Detalhes" do i.icone-detalhar - if exercicio_em_vigor? - unless recebimento_de_material.existe_requisicao_ou_saida_para_esse_recebimento? = botao_com_permissao recebimento_de_material, {acao: :destroy}, { \ class_icone:'icone-excluir', params: { \ method: :delete, data: { confirm: 'Tem certeza?' }, class: 'btn btn-default btn-sm mb-xs', title: "Apagar", }, } = will_paginate@recebimento_de_materiais, previous_label: "<", next_label: ">"