{{ flash }}
{% endfor %}
{% endfor %}
{% if threads %}
Actualizando este pedido en segundo plano. Quedan {{ threads | length }} artículos por procesar.
{% endif %}
COD - Pedido {{ order.alias }}
{{ render (controller('CoreBundle:Orders:_orderStateIndicator',{'orderId':order.getId()})) }} {% if order.typeOrder %} {{ order.typeOrder.description }} {% endif %}
{% if countAvailable > 0 %}
{% if countAvailable == countAll %}
{% if isLite == true %}
{% else %}
{% endif %}
{#{{ countAvailable }}#}
RECIBIDO
{% else %}
RECIBIDO
{% endif %}
{% endif %}
{% if countPending > 0 %}
PENDIENTE
{% endif %}
{% if countAll > 0 %}
PEDIDO
{% endif %}
{{ elements | length }}
ARTÍCULOS
Nº Pedido Fabricante
{{ order.numOfOrder }}
Proveedor
{% if not isShopManager %}
{{ order.dealer.name }}
{% else %}
{{ order.dealer.name }}
{% endif %}
Fecha de creación
{{ order.createdAt | date("d/m/Y") }}
Fecha de servicio
{% if order.orderInfo.uniqueDateServiceExpected is defined and order.orderInfo.uniqueDateServiceExpected %}
{{ order.uniqueDateServiceExpected | date('d/m/Y') }}
{% elseif order.orderInfo.uniqueDateServiceExpected is null and render(controller('CoreBundle:Orders:isMultipleDateOrder', { 'order' : order.id })) > 1 %}
Fecha múltiple
{% else %}
{% endif %}
Por configurar
Temporada
{{ order.season }}
Borrador
Pedido EAN
{% if threads | length == 0 %}
{% if order.typeStatusOrder.id >= constant('CoreBundle\\Entity\\TypeStatusOrder::TYPE_STATUS_ORDER_PENDING_RECEPTION') %}
{% endif %}
{% if order.typeStatusOrder.id == constant('CoreBundle\\Entity\\TypeStatusOrder::TYPE_STATUS_ORDER_PARTIAL_RECEPTION') %}
{% endif %}
{% if order.typeStatusOrder.id == constant('CoreBundle\\Entity\\TypeStatusOrder::TYPE_STATUS_ORDER_PENDING_CONFIRMATION') and order.articles | length > 0 %}
{% endif %}
{% if order.typeStatusOrder.id == constant('CoreBundle\\Entity\\TypeStatusOrder::TYPE_STATUS_ORDER_PENDING_CONFIRMATION') and isLite == false %}
{% endif %}
{% if order.typeStatusOrder.id == constant('CoreBundle\\Entity\\TypeStatusOrder::TYPE_STATUS_ORDER_PROFORMA') %}
{% endif %}
{% if order.typeStatusOrder.id == constant('CoreBundle\\Entity\\TypeStatusOrder::TYPE_STATUS_ORDER_COMPLETED') and isLite == true %}
{% endif %}
{% if order.typeStatusOrder.id == constant('CoreBundle\\Entity\\TypeStatusOrder::TYPE_STATUS_ORDER_PENDING_CONFIRMATION') %}
{% endif %}
{% if order.typeStatusOrder.id == constant('CoreBundle\\Entity\\TypeStatusOrder::TYPE_STATUS_ORDER_PENDING_CONFIRMATION') or order.typeStatusOrder.id == constant('CoreBundle\\Entity\\TypeStatusOrder::TYPE_STATUS_ORDER_PENDING_RECEPTION') %}
{% endif %}
{% if order.typeStatusOrder.id < constant('CoreBundle\\Entity\\TypeStatusOrder::TYPE_STATUS_ORDER_PENDING_RECEPTION') and isLite == false %}
{% endif %}
{% if order.getTypeStatusOrder().getId() < constant('CoreBundle\\Entity\\TypeStatusOrder::TYPE_STATUS_ORDER_PARTIAL_RECEPTION') and not order.haveLabelsBeenPrinted %}
{% endif %}
{% if order.articles | length > 0 %}
{% endif %}
{% if order.typeStatusOrder.id >= constant('CoreBundle\\Entity\\TypeStatusStock::ID_STATUS_PENDING_RECEIPT') %}
{% endif %}
{% endif %}
{% include 'CoreBundle:Orders:_form.html.twig' %}
{% if isLite == true %}
{% include 'CoreBundle:Orders:order_article_list_lite.html.twig' %}
{% else %}
{% include 'CoreBundle:Orders:order_article_list.html.twig' %}
{% endif %}
{% include 'CoreBundle:Orders:order_document_list.html.twig' %}
Alias | Fecha | Proveedor | Tienda recepción | Albarán | Unidades | Artículos | Estado | Acciones |
---|---|---|---|---|---|---|---|---|
{{ obj.getAlias }} | {{ obj.getDate | date('d/m/Y H:i:s')}} | {% if obj.getDealer %}{{ obj.getDealer.name }}{% endif %} | {% if obj.getShop %}{{ obj.getShop.name }}{% endif %} | {{ obj.getNumDeliveryNote }} | {% if isLite == false %} {{ obj.getStocks | length }} {% else %} {{ render(controller('CoreBundle:Reception:getAmountStockLiteInReception', { 'receptionId' : obj.id })) }} {% endif %} | {{ render(controller('CoreBundle:Reception:getAmountArticlesInReception', { 'receptionId' : obj.id })) }} | {{ render(controller('CoreBundle:Reception:_receptionActions',{'receptionId':obj.id})) }} |
{{ order.textBinnacle | raw }}