{% extends "base.html.twig" %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block wrapper %}
{{
{{ include('section/navbar.html.twig') }} {{ include('section/sidebar.html.twig') }} {% block content_wrapper %}

{{ modulo }}

{% block content_action %} {% endblock %}
{% block content %}

{{ stats.salestemplates|length }}

{{ 'Sales.Templates'|trans }}

{{ 'More.Info'|trans }}

{{ stats.salestemplatesToApprove|length }}

{{ 'Template.To.Approve'|trans }}

{{ 'More.Info'|trans }}

{{ stats.bpartners }}

{{ 'Customer.P'|trans }}

{{ 'More.Info'|trans }}

{{ stats.productsQty }}

{{ 'Product.P'|trans }}

{{ 'More.Info'|trans }}

{{ "Latest.Templates"|trans }}

{% if isSalesRep == false %} {% endif %} {% for st in stats.salestemplates|slice(0, 5) %} {% set status = st.getDocstatus|upper %} {% if isSalesRep == false %} {% endif %} {% else %} {% endfor %}
{{ "No.N"|trans }} {{ "Customer.S"|trans }}{{ "Sales.Rep"|trans }}{{ "Amount"|trans }} {{ "Status"|trans }} {{ "Date.Doc"|trans }}
{{ st.getDocumentno }} {{ st.getCBpartner.getName }}{{ st.getSalesrep.getName }}{{ st.getTotallines|number_format(2) }} {{ docstatus[st.getDocstatus].name|trans }}
{{ st.getDatedoc|date('Y-m-d H:i') }}
No hay registros para mostrar

{{ 'Temp.Templates'|trans }}

{% for lst in stats.salestemplatesInTemp|slice(0, 5) %} {% else %} {% endfor %}
{{ "No.N"|trans }} {{ "Customer.S"|trans }} {{ "Amount"|trans }} {{ "Status"|trans }} {{ "Date.Doc"|trans }}
{{ lst.getDocumentno }} {{ lst.getCBpartner.getName ?? null }} {{ lst.getTotallines|number_format(2) }} {{ 'Temp.Template'|trans }}
{{ lst.getDatedoc|date('Y-m-d H:i') }}
No hay registros para mostrar

{{ "Raw.Templates"|trans }}

{% for st in stats.salestemplatesInDraft|slice(0, 5) %} {% set status = st.getDocstatus|upper %} {% if status == 'DR' %} {% set text, flag = 'Borrador', 'info' %} {% else %} {% set text, flag = 'Desconocido', 'warning' %} {% endif %} {% else %} {% endfor %}
{{ "No.N"|trans }} {{ "Customer.S"|trans }} {{ "Amount"|trans }} {{ "Status"|trans }} {{ "Date.Doc"|trans }}
{{ st.getDocumentno }} {{ st.getCBpartner.getName }} {{ st.getTotallines|number_format(2) }}{{ text }}
{{ st.getDatedoc|date('Y-m-d H:i') }}
No hay registros para mostrar

{{ "Latest.Products.Added"|trans }}

    {% for product in stats.lastProducts %}
  • {% if product.getMProductdownload|length > 0 %} {% for image in product.getMProductdownload %} {{ product.getSku }} {% endfor %} {% else %} {{ product.getSku }} {% endif %}
    {{ product.getName }}

    {{ product.getMProductCategory.getName }}

    {{ product.getPrice|number_format(2) }}

  • {% else %}
  • No hay registros para mostrar

  • {% endfor %}

{{ "Products.Featured"|trans }}

    {% for product in stats.featuredProducts %}
  • {% if product.getMProductdownload|length > 0 %} {% for image in product.getMProductdownload %} {{ product.getSku }} {% endfor %} {% else %} {{ product.getSku }} {% endif %}
    {{ product.getName }}

    {{ product.getMProductCategory.getName }}

    {{ product.getPrice|number_format(2) }}

  • {% else %}
  • No hay registros para mostrar

  • {% endfor %}
{% endblock %}
{% endblock %} {{ include('section/sidecontrol.html.twig') }} {{ include('section/footer.html.twig') }}
{% endblock %}