ol.breadcrumb
li = link_to "Movimentações do Estoque", gestao_de_estoque_estoques_por_almoxarifado_path, class: "link_breadcrumb"
li.active Informações
.widget
.widget-body
.row
.col-md-9
p
strong Almoxarifado:
==< @almoxarifado
p
strong Unidade Orçamentária:
==< @unidade_orcamentaria
.col-md-3
p
strong Quantidade de Itens:
==< @estoques.count
.row
.col-md-12
.btn-toolbar
.btn-group
= link_to gestao_de_estoque_estoques_por_almoxarifado_path, class: "btn btn-default btn-sm" do
i.icone-voltar
' Voltar
== render 'filtros_exibir_por_almoxarifado'
.widget
header>
h5
' Lista de
span.fw-semi-bold Itens no Almoxarifado
.widget-body
.table-responsive
table.table.table-hover.table-striped.table-bordered
thead
tr
th.text-center width="50%" Item
th.text-center width="10%" Unid. de Medida
th.text-center Entrada
th.text-center SaÃda
th.text-center Saldo
th width="50"
tbody
- @estoques.each do |estoque|
tr
td = estoque.item.try(:codigo_e_descricao)
td.text-center = estoque.unidade_de_medida.descricao
- if configuracao.usa_modulo_administrativo?
td.text-center.text-success style="font-weight: 600" = estoque.quantidade_total_entradas.to_f.valor_contabil(minimum_precision: 4)
td.text-center.text-primary style="font-weight: 600" = estoque.quantidade_total_saidas.to_f.valor_contabil(minimum_precision: 4)
td.text-center.text-warning style="font-weight: 600" = estoque.quantidade_total_saldo.to_f.valor_contabil(minimum_precision: 4)
- else
td.text-center.text-success style="font-weight: 600" = estoque.quantidade_total_entradas_avulsas.to_f.valor_contabil(minimum_precision: 4)
td.text-center.text-primary style="font-weight: 600" = estoque.quantidade_total_saidas_avulsas.to_f.valor_contabil(minimum_precision: 4)
td.text-center.text-warning style="font-weight: 600" = estoque.quantidade_total_saldo_avulso.to_f.valor_contabil(minimum_precision: 4)
td.text-center
= link_to gestao_de_estoque_estoque_especifico_path(estoque), class: "btn btn-default btn-sm mb-xs", title: "Ver Detalhes" do
i.icone-detalhar
= will_paginate@estoques, previous_label: "<", next_label: ">"