{% block stylesheets %} {% endblock %}
{% if sale.shop.avoidPrintLogoOnTicket == 0 %}

{% endif %}
{% if sale.shop.nameCommercialForTickets != "" %} {{ sale.shop.nameCommercialForTickets | upper }} {% else %} {{ sale.group.name | upper }} {% endif %}
{{ sale.shop.company.name | upper }}
NIF: {{ sale.shop.company.cif | upper }}
{% if sale.shop.avoidPrintAddressOnTicket == 0 %} {{ sale.shop.company.address | upper }}
{{ sale.shop.company.zip }} {{ sale.shop.company.city | upper }}
{% endif %}
{{ sale.shop.address | upper }}
{{ sale.shop.city | upper }}
TFNO: {{ sale.shop.telephone | upper }}
TICKET REGALO

Nº Ticket: {{ sale.alias }}
VENDEDOR: {{ sale.user.name | upper }}
FECHA: {{ sale.completionDate | date('d/m/Y') }} {{ sale.completionDate | date('H:i') }} HORAS
{% for article in elementsIntoSale %} {% endfor %}
ARTICULO TALLA UDS.
{% if sale.shop.ticketItem == "model" or sale.shop.ticketItem == "" %} {{ article.stock.article.articleModel | upper | truncate(10, false, '...') }} {% endif %} {% if sale.shop.ticketItem == "reference" %} {{ article.stock.article.ref }} {% endif %} {% if sale.shop.ticketItem == "label" %} {{ article.stock.article.descriptionLabel }} {% endif %} {{ article.stock.typeSize.description }} 1
{% for salePayment in sale.salePayment %} {% if salePayment.typeSsalePaymentWhoPay.id == constant('CoreBundle\\Entity\\TypeSalePaymentWhoPay::ID_CLIENT_PAY') %} Cliente abona en {% elseif salePayment.typeSsalePaymentWhoPay.id == constant('CoreBundle\\Entity\\TypeSalePaymentWhoPay::ID_COMPANY_PAY') %} Dependiente abona en {% endif %} {{ salePayment.typeSsalePayment.description }}
{% endfor %} Nº TOTAL DE ARTICULOS: {{ sale.saleElement | length }}
GRACIAS POR SU VISITA
{{ sale.shop.textForTicket | upper }}