%li.nav-item= link_to "Lignes de stock", admin_line_stocks_path, :class => "nav-link"

%li.nav-item= link_to "Mouvements de stock manuel", admin_stock_movements_path, :class => "nav-link"


- PriceDocumentType.where(:label => PriceDocument::PURCHASES).order("id DESC").all.each do |p_document_type|
  %li.nav-item= link_to p_document_type.label, admin_price_documents_path(:price_document_type_id => p_document_type.id), :class => "nav-link "+("active" if p_document_type.id.to_s == params[:price_document_type_id].to_s).to_s
