section.widget style="margin-top: 15px !important;" .widget-body .row.row-alinhar style="margin-bottom: 5px" .col-md-10 .col-md-2 style="text-align-last: right;" .btn-group.dropdown data-dropdown="" style="justify-content: flex-end !important;" button type="button" class="btn btn_portal btn-md mb-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" i.icone-imprimir ' Imprimir span class="caret" ul class="dropdown-menu" style="text-align-last: left;" li = link_to portal_da_transparencia_diarias_path(request.parameters.merge({format: :pdf})), style: "margin-right: 2px", class: "btn btn_portal2 btn-sm mb-xs", id: "btn_pdf", target: '_blank' do i.icone-pdf ' PDF li = link_to portal_da_transparencia_diarias_path(request.parameters.merge({format: :csv})), style: "margin-right: 2px", class: "btn btn_portal2 btn-sm mb-xs", id: "btn_pdf", target: '_blank' do i.icone-csv ' CSV li = link_to portal_da_transparencia_diarias_path(request.parameters.merge({format: :xlsx})), style: "margin-right: 2px", class: "btn btn_portal2 btn-sm mb-xs", id: "btn_pdf", target: '_blank' do i.icone-xlsx ' XLSX li = link_to portal_da_transparencia_diarias_path(request.parameters.merge({format: :txt})), style: "margin-right: 2px", class: "btn btn_portal2 btn-sm mb-xs", id: "btn_pdf", target: '_blank' do i.icone-txt ' TXT .row.row-alinhar - if @diarias.blank? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover thead tr th width="10%" Portaria th width="10%" UG th width="40%" Agente th width="15%" Destino th width="10%" Data da Partida th width="10%" Situação th tbody - @diarias.each do |diaria| tr td = diaria.numero_da_portaria td.fw-semi-bold = diaria.unidade_orcamentaria.try(:sigla) td.fw-semi-bold = diaria.agente_publico_municipal.nome - if diaria.viagem_exterior.present? td = diaria.local_exterior - else td = diaria.cidade.try(:nome_e_uf) td = diaria.data_da_viagem td = diaria.situacao_de_pagamento td = link_to portal_da_transparencia_diaria_path(diaria_id: diaria.id), class: "btn btn_portal btn-sm mb-xs", title: "Ver Detalhes", target: '_blank' do i.icone-detalhar = will_paginate @diarias, previous_label: "<", next_label: ">"