Название сделки: {{ data.deal.name }}
Дата создания: {{ now().strftime("%d.%m.%Y, %H:%M") }}
Текущий статус: {{ data.current_status_str }}
{% if data.deal.comment %}
Комментарий к сделке: {{ data.deal.comment }}
{% endif %}
Клиент: {{ data.deal.client.name }}
Дата отгрузки: {{ data.last_status.next_status_deadline.strftime("%d.%m.%Y") }}
{% if data.deal.base_marketplace.name %}
Маркетплейс: {{ data.deal.base_marketplace.name }}
{% endif %}
{% if data.deal.shipping_warehouse.name %}
Склад отгрузки: {{ data.deal.shipping_warehouse.name }}
{% endif %}
{% if data.deal.services|length > 0 %}
| Общие услуги |
Количество |
Сумма |
{% for service in data.deal.services %}
| {{ service.service.name }} |
{{ '{:,}'.format(service.quantity) }} шт. |
{{ '{:,}'.format(service.price * service.quantity).replace(',', ' ') }} Р |
{% endfor %}
Итого: {{ data.general_services_total }} Р
{% else %}
{% endif %}