{% extends 'AppBundle:Documents:v2\\standard_layout.html.twig' %} {% import 'AppBundle:Documents:v2\\Import\\group.html.twig' as groupF %} {% import 'AppBundle:Documents:v2\\Import\\vehicle.html.twig' as vehicleF %} {% import 'AppBundle:Documents:v2\\Import\\global.html.twig' as globalF %} {% import 'AppBundle:Documents:v2\\Import\\order_form.html.twig' as orderFormF %} {% import 'AppBundle:Documents:v2\\Import\\group_fleet.html.twig' as groupFleetF %} {% import 'AppBundle:Documents:v2\\Import\\contact.html.twig' as contactF %} {% import 'AppBundle:Documents:v2\\Import\\address.html.twig' as addressF %} {% block header %}
{{ parent() }}
{% if not (without_header is defined and without_header == true) %}
{{ 'header.storage.txt_1'|trans({}, 'DocumentTrans') }}{{ groupF.getWebsite(group, {}) }}
{% endif %} {% endblock %} {% block main_title %} {% include 'AppBundle:Documents:v2\\Include\\Global\\title.html.twig' with {'title': 'title.removal_order'|trans({}, 'DocumentTrans')} %} {% endblock main_title %} {% block footer %}{% endblock footer %} {% block signature %} {% if orderFormFromVehicle is defined and orderFormFromVehicle is not empty %} {% set order_form = orderFormFromVehicle %} {% endif %} {% include 'AppBundle:Documents:v2\\Include\\Global\\signature_twice.html.twig' with { 'columnList': [ { 'label' : 'signature_twice.removal_order.label_1'|trans({}, 'DocumentTrans'), 'lineList' : [ { 'content' : groupFleetF.getName(vehicleData.follow.groupFleet, {}), 'lineClass' : 'fs-26 lh-32 fw-400 tt-u t-black', 'hasSpaceAfter' : true }, { 'content' : groupFleetF.getAddress(vehicleData.follow.groupFleet, {}) }, { 'content' : groupFleetF.getPhoneNumber(vehicleData.follow.groupFleet, {}) }, { 'content' : 'signature_twice.removal_order.content_4'|trans({}, 'DocumentTrans') ~ groupFleetF.getContact(vehicleData.follow.groupFleet, {}), 'hasSpaceAfter' : true }, { 'content' : 'signature_twice.removal_order.content_5'|trans({}, 'DocumentTrans'), 'lineClass' : 'fs-14 lh-18 fw-400 fs-i t-dark-grey' } ] }, { 'label' : 'user.buyer.title'|trans({}, 'DocumentTrans'), 'lineList' : [ { 'content' : contactF.getLabel(vehicleData.orderForm.customer, {'corporate': true}), 'lineClass' : 'fs-26 lh-32 fw-400 tt-u t-black', 'hasSpaceAfter' : true }, { 'content' : addressF.getAddress(vehicleData.orderForm.customer, {}) ~ addressF.getPostalCode(vehicleData.orderForm.customer, {}) ~ addressF.getCity(vehicleData.orderForm.customer, {}) } ] } ] } %} {% endblock signature %} {% block content %}

{{ 'removal_order.content_block.txt_1'|trans({ '%city%': groupF.getCity(group, {}), '%current_date%': globalF.getCurrentDate(timezone)}, 'DocumentTrans') }}

{{ 'removal_order.content_block.txt_2'|trans({}, 'DocumentTrans')|raw }}

{% block vehicle %} {% include 'AppBundle:Documents:v2\\Include\\Vehicle\\vehicle_content.html.twig' with { 'items' : [ {'label' : 'removal_order.vehicle_block.label_1'|trans({}, 'DocumentTrans'), 'value' : vehicleF.getBrand(vehicle, {'truncate': 20})}, {'label' : 'removal_order.vehicle_block.label_2'|trans({}, 'DocumentTrans'), 'value' : vehicleF.getModel(vehicle, {'truncate': 40})}, {'label' : 'removal_order.vehicle_block.label_3'|trans({}, 'DocumentTrans'), 'value' : vehicleF.getVin(vehicle, {})}, {'label' : 'removal_order.vehicle_block.label_4'|trans({}, 'DocumentTrans'), 'value' : vehicleF.getColor(vehicle, {})}, {'label' : 'removal_order.vehicle_block.label_5'|trans({}, 'DocumentTrans'), 'value' : vehicleF.getDistanceTraveled(vehicle, {"afterValue": ""})}, {'label' : 'removal_order.vehicle_block.label_6'|trans({}, 'DocumentTrans'), 'value' : orderFormF.getDeliveryPlace(vehicleData.orderForm, {'truncate': 40})} ] } %} {% endblock vehicle %} {% endblock content %}