{% extends '@Core/base.html.twig' %} {% block javascript %} {{ parent() }} {% endblock %} {% block sectionTitle %}Listado de stocks{% endblock %} {% block sectionActions %} {% endblock %} {% block breadcrumbLinks %}
  • Stocks
  • {% endblock %} {% block content %}
    {% for flash_message in app.session.flashBag.get('success') %}
    {{ flash_message }}
    {% endfor %} {% include 'CoreBundle:Stock:_search.html.twig' %} {% include 'CoreBundle:Stock:_stock_massive_buttons.html.twig' %}
    STOCKS ENCONTRADOS
    {% set isTredico = group.groupConfiguration.trendico %} {% set showReference = group.groupConfiguration.showReference %} {% set useLocator = group.groupConfiguration.useLocator %} {% set useLocatorAlias = group.groupConfiguration.useLocatorAlias %} {% set showAutoincrementNumberForArticle = group.groupConfiguration.showAutoincrementNumberForArticle %} {% set showCostPriceWithoutTaxes = group.groupConfiguration.showCostPriceWithoutTaxes %} {% if typeStockAliasInUse == 1 %} {% endif %} {% if typeStockAliasInUse == 2 %} {% endif %} {% if typeStockAliasInUse == 3 %} {% endif %} {% if useLocator %} {% if useLocatorAlias %} {% else %} {% endif %} {% endif %} {% if showAutoincrementNumberForArticle %} {% endif %} {% if isTredico or showReference %} {% endif %} {% if isLite == true %} {% endif %} {% if roleRight == true or isOffice %} {% endif %} {% for obj in elements %} {% if isLite == true %} {% set obj1 = obj %} {% set obj = obj[0] %} {% endif %} {% if isLite == false %} {% if roleRight == true or isOffice %} {% else %} {% endif %} {% else %} {% if roleRight == true or isOffice %} {% if typeStockAliasInUse == 1 %} {% if obj.typeStatusStock.id == 4 or obj.typeStatusStock.id == 2 %} {% endif %} {% if obj.typeStatusStock.id == 5 %} {% endif %} {% endif %} {% if typeStockAliasInUse == 2 %} {% if obj.typeStatusStock.id == 4 or obj.typeStatusStock.id == 2 %} {% endif %} {% if obj.typeStatusStock.id == 5 %} {% endif %} {% endif %} {% if typeStockAliasInUse == 3 %} {% if obj.typeStatusStock.id == 4 or obj.typeStatusStock.id == 2 %} {% endif %} {% if obj.typeStatusStock.id == 5 %} {% endif %} {% endif %} {% else %} {% if typeStockAliasInUse == 1 %} {% endif %} {% if typeStockAliasInUse == 2 %} {% endif %} {% if typeStockAliasInUse == 3 %} {% endif %} {% endif %} {% endif %} {% if useLocator %} {% if useLocatorAlias %} {% else %} {% endif %} {% endif %} {% if showAutoincrementNumberForArticle %} {% endif %} {% if isTredico or showReference %} {% endif %} {% if isLite == true %} {% if obj.getTypeStatusStock.id == 5 %} {% else %} {% endif %} {% endif %} {% if roleRight == true or isOffice %} {% if showCostPriceWithoutTaxes %} {% if obj.costPrice == obj.costPriceWithDiscount %} {% else %} {% endif %} {% else %} {% if obj.costPricePlusTaxes == obj.costPriceWithDiscountPlusTaxes %} {% else %} {% endif %} {% endif %} {% endif %} {% endfor %}
    {% endblock%} {% block script %} {% endblock %}