{% extends "AppBundle::Ordenes/edit/edit_order_base.html.twig" %} {% block title 'Editar Orden Clicnea'|trans %} {% block stylesheets3rd %} {% endblock %} {% block content %}
{% for ord in orden %}
Datos Cliente
Datos Facturación
Detalles del Pedido
{% if golden_rules_as_discount %}

Golden Rules como ítems de descuento en órdenes está activado. Se mostrará como descuento la diferencia de precio generada por golden rules aplicables.

{% endif %}
{% if products is empty %} Producto/s inexistente/s en su cuenta de Fulljaus {% else %} {% set totalproducts = 0 %} {% for p in products %} {% set subtotal = (p.unit_price_with_taxes * p.quantity) %} {% set totalproducts = totalproducts + subtotal %} {% set isCombo = p.productsCombo|length %} {% set editRoute = ""%} {% if p.isCombo == false and p.isParent == false %} {% set editRoute = path('ProductViewsController_simpleProductEditView', { 'id': p.productId }) %} {% endif %} {% if p.isCombo %} {% set editRoute = path('ProductViewsController_comboProductEditView', { 'id': p.productId }) %} {% endif %} {% if p.isParent %} {% set editRoute = path('ProductViewsController_variantProductEditView', { 'id': p.productId }) %} {% endif %} {% if isCombo %} {% include "AppBundle:Ordenes:edit/combo_product_billing.html.twig" with {'combo': p, 'index': loop.index, 'colspan': 6} %} {% endif %} {% endfor %} {% if discounts is not empty %} {% for d in discounts %} {% endfor %} {% endif %}
SKU Titulo Precio Unitario Cantidad Subtotal
{{ p.sku }} {% if isCombo %} {% endif %}{{ p.name }} {{ p.unit_price_with_taxes | number_format(2, '.', ',') }} {{ p.quantity }} {{ subtotal|number_format(2, '.', ',') }}{% if isCombo %} {% endif %}
- {{ d.sku_associated }} {{ d.name }} {{ d.unit_price_with_taxes | number_format(2, '.', ',') }} 1 {{ d.unit_price_with_taxes | number_format(2, '.', ',') }}
{% endif %}
Detalles del Envío
{% for p in products %}
{% endfor %}
Detalles del Pago
Datos de la Orden
{% include 'AppBundle:Ordenes:edit/components/order_color_component.html.twig' %}
{% include 'AppBundle:Ordenes:invoice_upload.html.twig' %}
MODIFICAR
{% if manual_transitions_allowed == 0 %}

Este estado no permite transiciones manuales.
Se espera información del marketplace para realizar el cambio de estado.

{% endif %}
{{ render(controller('AppBundle\\Controller\\CarrierController::showCarrierPanel', { 'orderId': ord.id })) }}
TOTALES
{{ totalproducts | number_format(2, '.', ',') }}
{{ ord.totalshipping | number_format(2, '.', ',') }}
{% if ord.totaltransact == null %} {% set totaltransact = 0 %} {% else %} {% set totaltransact = totalproducts + ord.totalshipping %} {% endif %}
{{ totaltransact | number_format(2, '.', ',') }}
{% set totalDiscount = 0 %} {% if discounts is not empty %}
{% for d in discounts %} {% set totalDiscount = totalDiscount + d.unit_price_with_taxes %} {% endfor %} {{ totalDiscount | number_format(2, '.', ',') }}
{% endif %}
{{ (ord.totalpaid + totalDiscount ) | number_format(2,'.',',') }}
{% endfor %}
{% endblock %} {% block javascripts3rd %} {% endblock %}