.widget header> h5 ' Lista de span.fw-semi-bold Movimentações no Estoque .widget-body - if @movimentacoes.empty? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover.table-striped.table-bordered thead tr th.text-center width="150" Data th.text-center Movimentação th.text-center Valor Unit. th.text-center qtde th.text-center Total tbody - @movimentacoes.each do |movimentacao| - if movimentacao.almoxarifado.tipo_de_almoxarifado != "patrimonio" tr td.text-center = movimentacao.try(:data_da_movimentacao) td.text-center = movimentacao.retorna_tipo td.text-center.text-success style="font-weight: 600" = movimentacao.valor_unitario.to_f.valor_financeiro(maximum_precision: 4) - if configuracao.usa_modulo_administrativo? -if movimentacao.retorna_tipo == "Entrada" td.text-center.text-primary style="font-weight: 600" = movimentacao.quantidade_entrada.to_f.valor_contabil(minimum_precision: 4) td.text-center.text-primary style="font-weight: 600" = movimentacao.total_entrada.to_f.valor_financeiro(maximum_precision: 4) -else td.text-center.text-primary style="font-weight: 600" = movimentacao.quantidade_saida.to_f.valor_contabil(minimum_precision: 4) td.text-center.text-primary style="font-weight: 600" = movimentacao.total_saida.to_f.valor_financeiro(maximum_precision: 4) - else -if movimentacao.retorna_tipo == "Entrada" td.text-center.text-primary style="font-weight: 600" = movimentacao.quantidade_entrada_avulsa.to_f.valor_contabil(minimum_precision: 4) td.text-center.text-primary style="font-weight: 600" = movimentacao.total_entrada_avulsa.to_f.valor_financeiro(maximum_precision: 4) -else td.text-center.text-primary style="font-weight: 600" = movimentacao.quantidade_saida_avulsa.to_f.valor_contabil(minimum_precision: 4) td.text-center.text-primary style="font-weight: 600" = movimentacao.total_saida_avulsa.to_f.valor_financeiro(maximum_precision: 4) = will_paginate@movimentacoes, previous_label: "<", next_label: ">"