.widget header> h5 ' Lista de span.fw-semi-bold Almoxarifados .widget-body - if @almoxarifados.empty? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover thead tr th width="100" Código th Nome th Tipo th Responsável Atual th Farmacêutico th width="150" tbody - @almoxarifados.each do |almoxarifado| tr td width="100" = almoxarifado.codigo td = almoxarifado.nome td = almoxarifado.localizar(:tipo_de_almoxarifado) td = almoxarifado.responsavel_atual.try(:agente_publico_municipal).try(:cpf_e_nome) td = almoxarifado.farmaceutico.cpf_ou_cnpj_e_nome if almoxarifado.farmaceutico.present? td = link_to almoxarifado, class: "btn btn-default btn-sm mb-xs", title: "Ver Detalhes" do i.icone-detalhar - if exercicio_em_vigor? = botao_com_permissao edit_gestao_de_estoque_almoxarifado_path(almoxarifado), {acao: :update}, { \ class_icone:'icone-editar', params: {class: 'btn btn-default btn-sm mb-xs', title: "Editar"}, } = botao_com_permissao almoxarifado, {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@almoxarifados, previous_label: "<", next_label: ">"