{% extends "layoutsinestilos.html.twig" %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block body %} {{ parent() }} {# Progress bar #}

Acciones

{% set plu = producto.plu | replace({'/': '>'}) %}

Regresar

{% if usuario.getMaeusr().usaFormula == 'S' %}
{% else %}
{% endif %} Total porcentaje debe ser 100
{# {% if status == "0" or status == "2" %} {% endif %} #} {% for entity in formula %} {# {% if status == "0" or status == "2" %} {% endif %} #} {% endfor %} {# {% if status == "0" or status == "2" %} {% endif %} #}
Id Componente Descripción Tamaño CantidadPrecio Total Acciones
{{ entity.id }} {{ entity.envplu }} {{ entity.desclarga }} {{ entity.tamano }} {% if usuario.getMaeusr().usaFormula == 'S' %} {{ entity.cantidad | number_format(parametros.getParameter('cantidad_decimales')) }} {% else %} {{ entity.cantidad | number_format(parametros.getParameter('cantidad_decimales')) }} {% endif %} {{ entity.precio | number_format(6) }} {{ entity.total | number_format(2) }} {% if usuario.getMaeusr().usaFormula == 'S' %} {{ 'Eliminar' }} {% endif %}
{{ totales.cantidad | number_format(parametros.getParameter('cantidad_decimales')) }} {{ totales.total | number_format(2) }} {{ totales.monto | number_format(6) }}
Costo Unitario: {{ totales.unitario | number_format(6) }}
{# Incluir el modal desde la plantilla #} {% include 'Plantillas/productModal.html.twig' %} {{ include('MBProductoBundle:Entity:forms/delete.html.twig', {form: delete_form_ajax, id: 'form-delete', with_submit: false}) }} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}