{% extends '@DcSite/Lexus/template.html.twig' %}
{% block head %}
<title>{{ 'seo.service_assign.title'|trans({}, 'dc_lexus') }}</title>
<meta name="description" content="{{ 'seo.service_assign.description'|trans({}, 'dc_lexus') }}" />
<meta name="keywords" content="{{ 'seo.service_assign.keywords'|trans({}, 'dc_lexus') }}" />
<link rel="stylesheet" type="text/css" href="/dist/{{ MODE }}/dcsite/lexus/css/lexusOrderTO.css?{{ VERSION }}">
{% endblock %}
{% block ogtagDynamic %}
<meta property="og:title" content="{{ 'seo.service_assign.title'|trans({}, 'dc_lexus') }}"/>
<meta property="og:description" content="{{ 'seo.service_assign.description'|trans({}, 'dc_lexus') }}"/>
{% endblock %}
{% block socialPreview %}
{% if INCLUDE_ANALYTICS %}
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WRW33HH"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% endif %}
{% endblock socialPreview %}
{% block content %}
{% set pageName = 'service' %}
{% include '@DcSite/Lexus/Service/breadcrumbs.html.twig' with { 'pageName': pageName } %}
<section class="section-padding pt-0">
<div class="container">
<div class="row">
<div class="col-md-14" itemscope="" itemtype="https://schema.org/FAQPage">
{% if app.request.locale == 'ua' %}
{% include '@DcSiteBundle/Lexus/Service/translate/order-to-seo.ua.html.twig' %}
{% else %}
{% include '@DcSiteBundle/Lexus/Service/translate/order-to-seo.ru.html.twig' %}
{% endif %}
</div>
</div>
<div class="row justify-content-center">
<div class="col-sm-12 col-md-6 col-lg-4 col-xl-3 text-center">
<a href="#onlineService" class="btn btn-primary w-100">{{ 'pages.header.order_to'|trans({},'dc_nissan') }}</a>
</div>
</div>
</div>
</section>
{% endblock %}
{% block script %}
<script src="/dist/{{ MODE }}/dcsite/lexus/js/lexusOrderTO.js?{{ VERSION }}"></script>
<script>
$(() => {
window.initServiceBooking({
locale: '{{ app.request.locale }}',
initUrl: '{{ path('online-service-init') }}',
findUrl: '{{ path('online-service-find') }}',
findVariationsUrl: '{{ path('online-service-find-variations') }}',
saveCarUrl: '{{ path('online-service-save-car') }}',
byModelUrl: '{{ path('online-service-load-by-model') }}',
getTimesUrl: '{{ path('online-service-get-time') }}',
bookingUrl: '{{ path('online-service-booking') }}',
confirmBookingUrl: '{{ path('online-service-booking-confirm') }}',
agreementUrl: '{{ privacyUrl }}',
nightBookingAgreementUrl: '{{ path('my_profile_night_service_agreement') }}',
variationId: {{ app.request.get('variation_id') ? app.request.get('variation_id') : 0 }},
regulationId: {{ app.request.get('regulation_id') ? app.request.get('regulation_id') : 0 }},
dealerId: {{ dealer.getId() }},
regulationsTo: true,
modelVariation: true,
});
window.initRegulations({
initUrl : '{{ path('base_regulation_init') }}',
variationUrl : '{{ path('base_regulation_variations') }}',
regulationsUrl : '{{ path('base_regulations') }}',
});
});
</script>
{% endblock %}