{% extends "AppBundle::layout_backend.html.twig" %} {% block stylesheets2nd %} {# #} {% stylesheets 'bundles/app/css/filepond.css' 'bundles/app/css/filepond.min.css' 'bundles/app/css/filepond-plugin-image-preview.min.css' filter='cssrewrite' %} {% endstylesheets %} {% endblock %} {% block bootstrap_stylesheets %} {% endblock %} {% block bootstrap_javascript %} {% endblock %} {% block title 'Orden ' ~ order.getReferenceorden() ~ ' - ' ~ order.getEmpresamarketplace().getMarketplace() |trans %} {% block content_header %}
{% if seller_id == 185 %} Volver a la vista antigua {% endif %} Volver
{% endblock %} {% block content %} {% stylesheets 'bundles/app/css/new-boostrap-common-styles.css' 'bundles/app/css/views/Order/edit.css' filter='cssrewrite' %} {% endstylesheets %}
{% set marketplace = order.getEmpresamarketplace().getMarketplace() %} {% include "AppBundle:Ordenes:edit/components/principal_panel.html.twig" with { 'marketplace_icon': marketplace.getLogo(), 'marketplace_name': marketplace.getNombre(), 'impacted_provider': order.getImpactadaProveedor(), 'reference': order.getReferenceorden(), 'order_id_marketplace': order.getOrderIdOnMarket(), 'order_date': order.getDateAdd().format('Y-m-d H:i'), 'current_color': order.getCurrentColor(), 'order_id': order.getId() } %}
{% set total_discount = 0 %} {% for d in discounts %} {% set total_discount = total_discount + d.unit_price_with_taxes %} {% endfor %} {% include "AppBundle:Ordenes:edit/components/prices_panel.html.twig" with { 'subtotal_products': order.getTotalproductos(), 'subtotal_shipping': order.getTotalshipping(), 'financial_cost': order.getFinancialCost(), 'discount': total_discount, 'total': order.getTotalpaid() + total_discount } %}
{% include "AppBundle:Ordenes:edit/components/products_panel.html.twig" with { } %}
{% include "AppBundle:Ordenes:edit/components/shippings_panel.html.twig" with { 'packages' : packages, 'shipping_data': order.getCliente(), 'warehouses' : warehouses } %}
{% include "AppBundle:Ordenes:edit/components/payments_panel.html.twig" with { 'payments': payments } %}
{% include "AppBundle:Ordenes:edit/components/incidents_panel.html.twig" with { 'order_incident': order_incident } %}
{% include "AppBundle:Ordenes:edit/components/comments_panel.html.twig" with { 'order_comments': order_comments } %}
{% include "AppBundle:Ordenes:edit/components/client_panel.html.twig" with { 'billing_data': order.getFacturacion(), 'shipping_data': order.getCliente() } %}
{% if andreani_panel %}
{% include "AppBundle:Ordenes:edit/components/andreani_panel.html.twig" with { 'shipping_number' : order.getShippingNumber() } %}
{% endif %}
{% include "AppBundle:Ordenes:edit/components/documents_panel.html.twig" with { 'document_types' : document_types } %}
Nueva Incidencia
Para crear tipos de incidencia hacer click aquĆ­
Cargando...
{% endblock %} {% block javascripts2nd %} {% javascripts '@AppBundle/Resources/public/js/Filepond/filepond-plugin-pdf-preview.min.js' '@AppBundle/Resources/public/js/Filepond/filepond-plugin-image-preview.min.js' '@AppBundle/Resources/public/js/Filepond/filepond-plugin-image-exif-orientation.min.js' '@AppBundle/Resources/public/js/Filepond/filepond-plugin-file-validate-size.min.js' '@AppBundle/Resources/public/js/Filepond/filepond-plugin-file-validate-type.min.js' '@AppBundle/Resources/public/js/Filepond/filepond-plugin-file-encode.min.js' '@AppBundle/Resources/public/js/Filepond/filepond-plugin-file-metadata.min.js' '@AppBundle/Resources/public/js/Filepond/filepond.min.js' %} {% endjavascripts %} {% endblock %} {% block javascripts3rd %} {% endblock %}