{% set sellingServices = null %} {% if object.serviceList is defined %} {% set sellingServices = object.serviceList %} {% elseif object.serviceSellingList is defined %} {% set sellingServices = object.serviceSellingList %} {% endif %}
{% if object.hasService is defined and object.hasService == false %} {% include 'AppBundle:Admin:CRUD\\Administrative\\Common\\Include\\include_global_invoice_summary.html.twig' with { 'sellPriceWithoutTax': object.sellPriceWithoutTax, 'sellPriceWithTax': object.sellPriceWithTax, 'zone': object.zone } %} {% else %} {% if object.vehicleSellingList is defined %} {% include 'AppBundle:Admin:CRUD\\Administrative\\Common\\Include\\include_selling_vehicle_summary.html.twig' with { 'sellingVehicles': object.vehicleSellingList } %} {% endif %} {% if partExchange is defined and partExchange.vehicle is not empty %} {% include 'AppBundle:Admin:CRUD\\Administrative\\Common\\Include\\include_selling_part_exchange_summary.html.twig' with { 'reference': partExchange.vehicle.reference, 'name': partExchange.vehicle.__toString, 'priceWithoutTax': partExchange.priceWithoutTax, 'priceWithTax': partExchange.priceWithTax, 'zone': partExchange.zone, 'tax': partExchange.tax, 'isCreditNote': object.creditNote is defined ? object.creditNote : false } %} {% endif %} {% include 'AppBundle:Admin:CRUD\\Administrative\\Common\\Include\\include_selling_service_summary.html.twig' with { 'sellingServices': sellingServices } %} {% endif %}
{{ 'form.service.label_reference'|trans({}, admin.translationDomain) }} {{ 'form.service.label_name'|trans({}, admin.translationDomain) }} {{ 'form.service.label_sell_price_without_tax_without_discount'|trans({}, admin.translationDomain) }} {{ 'form.service.label_sell_price_without_tax'|trans({}, admin.translationDomain) }} {{ 'form.service.label_sell_tax'|trans({}, admin.translationDomain) }} {{ 'form.service.label_sell_price_with_tax'|trans({}, admin.translationDomain) }}
{{ 'form.summary.label_total_with_tax'|trans({}, "CommonAdministrativeTrans") }} {% include 'AppBundle:Utility:localized_currency.html.twig' with { 'value': object.sellPriceWithTax } %}