src/PortalBundle/Resources/views/Service/service-booking-modal.html.twig line 1

Open in your IDE?
  1. <div class="modal_online_registration {{ isModalForm ? 'active' : '' }}">
  2.     <div class="modal_online_reg_header_wrapper">
  3.         <div class="container">
  4.             <div class="modal_online_reg_header">
  5.                 {# <img class="modal_online_reg_header_logo"
  6.                      src="{{ asset('bundles/portal/img/service/modal-logo-vidi.svg') }}" alt=""> #}
  7.                      <div class="modal_online_reg_header_logo"></div>
  8.                 <button class="modal_online_reg_header_close" @click="closeServiceSuccess">
  9.                     <svg width="13" height="13" viewbox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
  10.                         <path d="M11.53 11.255L1.53003 1.255M11.53 1.255L1.53003 11.255" stroke="white"
  11.                               stroke-width="2" stroke-linecap="round"/>
  12.                     </svg>
  13.                 </button>
  14.             </div>
  15.         </div>
  16.     </div>
  17.     <div id="scroll-container" class="modal_online_reg_main">
  18.         <div class="container">
  19.             <p class="modal_online_reg_title">{{ 'modal_online_service.online_registration_service'|trans({}, 'portal_base') }} VIDI</p>
  20.             <p class="modal_online_reg_sub_title">{{ 'modal_online_service.estimate_service_steps'|trans({}, 'portal_base') }}</p>
  21.             <div id="preloader-service">
  22.                 <div class="modal_online_cover">
  23.                     <div class="modal_online_cover_head">
  24.                         <button v-if="step > 1" class="step_back" @click="prevStep">
  25.                             <svg width="8" height="14" viewbox="0 0 8 14" fill="none"
  26.                                  xmlns="http://www.w3.org/2000/svg">
  27.                                 <path
  28.                                     d="M6.08321 0.933347L0.466547 6.53335C0.39988 6.60001 0.352547 6.67224 0.324547 6.75001C0.296547 6.82779 0.282769 6.91112 0.283214 7.00001C0.283214 7.0889 0.296991 7.17224 0.324547 7.25001C0.352102 7.32779 0.399436 7.40001 0.466547 7.46668L6.08321 13.0833C6.23877 13.2389 6.43321 13.3167 6.66655 13.3167C6.89988 13.3167 7.09988 13.2333 7.26655 13.0667C7.43321 12.9 7.51655 12.7056 7.51655 12.4833C7.51655 12.2611 7.43321 12.0667 7.26655 11.9L2.36655 7.00001L7.26655 2.10001C7.4221 1.94446 7.49988 1.75268 7.49988 1.52468C7.49988 1.29668 7.41655 1.09957 7.24988 0.933347C7.08321 0.76668 6.88877 0.683347 6.66655 0.683347C6.44432 0.683347 6.24988 0.76668 6.08321 0.933347Z"
  29.                                     fill="inherit"/>
  30.                             </svg>
  31.                             <span>Назад</span>
  32.                         </button>
  33.                         <div class="step_count">
  34.                             <span>{{ 'modal_online_service.step'|trans({}, 'portal_base') }} <span v-html="step"></span> {{ 'modal_online_service.step_letter'|trans({}, 'portal_base') }} 4</span>
  35.                         </div>
  36.                     </div>
  37.                     <div class="modal_online_cover_main">
  38.                         <template v-if="step == 1">
  39.                             <div v-if="!status.stepChangeDealer" id="scrollTo-modal_online_cover_box" class="modal_online_cover_box">
  40.                                 <div class="modal_online_cover_head">
  41.                                     <p class="modal_online_cover_head_title">{{ 'modal_online_service.general_your_car'|trans({}, 'portal_base') }}</p>
  42.                                 </div>
  43.                                 <div class="searc_number_wrapper">
  44.                                     <p class="searc_number_text">{{ 'modal_online_service.successful_registration'|trans({}, 'portal_base') }}</p>
  45.                                     <div class="search__number_container">
  46.                                         <div class="search__number__form__wrapper"
  47.                                              :class="[error.formCarNumber && !status.stepChangeVariation ? 'error' : '', !status.stepSearchNumber ? 'disabled' : '']">
  48.                                             <svg class="search__number-icon" width="35" height="58"
  49.                                                  viewbox="0 0 35 58" fill="none" xmlns="http://www.w3.org/2000/svg">
  50.                                                 <path
  51.                                                     d="M0 6C0 2.68629 2.68629 0 6 0H35V58H6C2.68629 58 0 55.3137 0 52V6Z"
  52.                                                     fill="#0057B8"/>
  53.                                                 <path
  54.                                                     d="M16.6357 36.6V41.496C16.6357 44.064 15.0997 45.108 13.3837 45.108C11.3677 45.108 9.90367 43.872 9.90367 41.412V36.6H10.9237V41.22C10.9237 43.044 11.8117 44.148 13.3837 44.148C14.7637 44.148 15.6157 43.2 15.6157 41.292V36.6H16.6357ZM17.9554 45L21.5674 36.552H22.4434L26.0554 45H24.9634L23.8834 42.456H20.0554L18.9874 45H17.9554ZM21.9754 37.908L20.4634 41.496H23.4874L21.9754 37.908Z"
  55.                                                     fill="white"/>
  56.                                                 <rect x="8" y="10" width="19" height="7" fill="#42ADDE"/>
  57.                                                 <rect x="8" y="17" width="19" height="7" fill="#FFD800"/>
  58.                                             </svg>
  59.                                             {% include '@Portal/Modules/search-number-form.twig' %}
  60.                                         </div>
  61.                                         <button class="search__number_change_btn" v-if="carNumber && !status.stepSearchNumber" @click="backToSearchNumber">{{ 'modal_online_service.change'|trans({}, 'portal_base') }}
  62.                                             <button class="search__number_change_btn desktop_number_search" v-else-if="status.stepSearchNumber" @click="findVehicleByNumber">{{ 'modal_online_service.search'|trans({}, 'portal_base') }}
  63.                                         </button>
  64.                                         <button class="search__number_change_btn"
  65.                                                 v-else-if="!status.stepSearchNumber" @click="backToSearchNumber">
  66.                                             {{ 'modal_online_service.search_number'|trans({}, 'portal_base') }}
  67.                                         </button>
  68.                                         <div v-if="error.formCarNumber && !status.stepChangeVariation"
  69.                                              class="search_number_info_box">
  70.                                             <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12"
  71.                                                  viewbox="0 0 12 12" fill="none">
  72.                                                 <path fill-rule="evenodd" clip-rule="evenodd"
  73.                                                       d="M5.99943 0C7.65664 0 9.1565 0.671257 10.2421 1.75682C11.3276 2.84351 12 4.34336 12 5.99943C12 7.65664 11.3276 9.1565 10.2421 10.2421C9.1565 11.3276 7.65664 12 5.99943 12C4.34336 12 2.84351 11.3276 1.75682 10.2421C0.671257 9.1565 0 7.65664 0 5.99943C0 4.34336 0.671257 2.84237 1.75682 1.75682C2.84237 0.671257 4.34336 0 5.99943 0ZM9.57985 2.41902C8.66409 1.50325 7.39742 0.936138 5.99943 0.936138C4.60145 0.936138 3.33591 1.50325 2.41902 2.41902C1.50325 3.33591 0.936138 4.60145 0.936138 5.99943C0.936138 7.39742 1.50325 8.66409 2.41902 9.57985C3.33591 10.4956 4.60145 11.0627 5.99943 11.0627C7.39742 11.0627 8.66409 10.4956 9.57985 9.57985C10.4956 8.66409 11.0627 7.39742 11.0627 5.99943C11.0627 4.60145 10.4956 3.33591 9.57985 2.41902ZM5.94736 3.80568C5.68927 3.80568 5.47986 3.59626 5.47986 3.33818C5.47986 3.07895 5.68927 2.86954 5.94736 2.86954H6.0515C6.31073 2.86954 6.52014 3.07895 6.52014 3.33818C6.52014 3.59626 6.31073 3.80568 6.0515 3.80568H5.94736ZM5.5274 4.88784C5.5274 4.62975 5.73682 4.42034 5.99604 4.42034C6.25413 4.42034 6.46354 4.62975 6.46354 4.88784V8.66182C6.46354 8.91991 6.25413 9.13046 5.99604 9.13046C5.73682 9.13046 5.5274 8.91991 5.5274 8.66182V4.88784Z"
  74.                                                       fill="#E40C25"/>
  75.                                             </svg>
  76.                                             <p>{{ 'modal_online_service.first_registration_number'|trans({}, 'portal_base') }}</p>
  77.                                         </div>
  78.                                     </div>
  79.                                     <template v-if="status.notFindVehicleNumber">
  80.                                         <p class="search__number_no_search">{{ 'modal_online_service.unfortunately_your_car'|trans({}, 'portal_base') }}
  81.                                             {{ 'modal_online_service.please_yourself'|trans({}, 'portal_base') }}</p>
  82.                                         <button class="search__number_btn" @click="enterDataVehicle">{{ 'modal_online_service.enter_car_data'|trans({}, 'portal_base') }}</button>
  83.                                     </template>
  84.                                     <button v-if="!status.stepChangeVariation && !status.notFindVehicleNumber"
  85.                                             class="remember_number_btn" @click="noHaveVehicleNumber">{{ 'modal_online_service.remember_registration_number'|trans({}, 'portal_base') }}
  86.                                     </button>
  87.                                 </div>
  88.                                 <div class="save_car_container"
  89.                                      v-if="user.cars.length > 0 && status.stepSearchNumber">
  90.                                     <p class="save_car_else_titel">{{ 'modal_online_service.or'|trans({}, 'portal_base') }}</p>
  91.                                     <p class="save_car_sub_name">{{ 'modal_online_service.your_saved_cars'|trans({}, 'portal_base') }}:</p>
  92.                                     <div class="save_car_wrapper">
  93.                                         <div class="save_car_box" v-for="car in user.cars"
  94.                                              @click="setUserVehicle(car)">
  95.                                             <span class="save_car_box_name" v-html="car.title"></span>
  96.                                             <div class="save_car_number_box">
  97.                                                 <span class="save_car_year" v-html="car.MakeYear"></span>
  98.                                                 <div class="save_car_number_wrap">
  99.                                                     <svg width="28" height="28" viewbox="0 0 28 28" fill="none"
  100.                                                          xmlns="http://www.w3.org/2000/svg">
  101.                                                         <path
  102.                                                             d="M0 6C0 2.68629 2.68629 0 6 0H28V28H6C2.68629 28 0 25.3137 0 22V6Z"
  103.                                                             fill="#0057B8"/>
  104.                                                         <path
  105.                                                             d="M13.9238 16.4V19.664C13.9238 21.376 12.8998 22.072 11.7558 22.072C10.4118 22.072 9.43578 21.248 9.43578 19.608V16.4H10.1158V19.48C10.1158 20.696 10.7078 21.432 11.7558 21.432C12.6758 21.432 13.2438 20.8 13.2438 19.528V16.4H13.9238ZM14.8036 22L17.2116 16.368H17.7956L20.2036 22H19.4756L18.7556 20.304H16.2036L15.4916 22H14.8036ZM17.4836 17.272L16.4756 19.664H18.4916L17.4836 17.272Z"
  106.                                                             fill="white"/>
  107.                                                         <rect x="8" y="4" width="12" height="4" fill="#42ADDE"/>
  108.                                                         <rect x="8" y="8" width="12" height="4" fill="#FFD800"/>
  109.                                                     </svg>
  110.                                                     <span class="save_car_number" v-html="car.Number"></span>
  111.                                                 </div>
  112.                                             </div>
  113.                                         </div>
  114.                                     </div>
  115.                                 </div>
  116.                                 <div class="save_car_container" v-else-if="status.stepNoBrandDealer">
  117.                                     <p class="save_car_sub_name save_car_sub_name_yor_auto">{{ 'modal_online_service.confirm_your_car'|trans({}, 'portal_base') }}</p>
  118.                                     <div class="confirm_your_car_wrapper">
  119.                                         <div class="confirm_your_car_box">
  120.                                             <p class="confirm_your_car_title"><span
  121.                                                     v-html="vehicleInfo.brand"></span> <span
  122.                                                     v-html="vehicleInfo.model"></span></p>
  123.                                             <div class="confirm_your_car_head">
  124.                                                 <div class="confirm_your_car_head_box">
  125.                                                     <svg width="12" height="12" viewbox="0 0 12 12" fill="none"
  126.                                                          xmlns="http://www.w3.org/2000/svg">
  127.                                                         <path
  128.                                                             d="M2.72296 3.09641H6.63093C6.66823 3.09641 6.70399 3.08159 6.73037 3.05522C6.75674 3.02885 6.77156 2.99308 6.77156 2.95578V1.83523C6.77139 1.71577 6.72385 1.60125 6.63936 1.5168C6.55486 1.43235 6.44032 1.38486 6.32085 1.38477H3.03304C2.91358 1.38487 2.79904 1.43236 2.71454 1.51681C2.63005 1.60126 2.5825 1.71577 2.58234 1.83523V2.95578C2.58234 2.99308 2.59715 3.02885 2.62352 3.05522C2.6499 3.08159 2.68567 3.09641 2.72296 3.09641ZM2.86359 1.83523C2.86367 1.79034 2.88155 1.74731 2.91332 1.71558C2.94509 1.68386 2.98814 1.66603 3.03304 1.66602H6.32085C6.36575 1.66603 6.4088 1.68386 6.44057 1.71558C6.47234 1.74731 6.49023 1.79034 6.49031 1.83523V2.81516H2.86359V1.83523Z"
  129.                                                             fill="#E40C25"/>
  130.                                                         <path
  131.                                                             d="M2.65924 4.49927C2.62194 4.49927 2.58618 4.51408 2.5598 4.54046C2.53343 4.56683 2.51862 4.6026 2.51862 4.63989V4.82341C2.51862 4.8607 2.53343 4.89647 2.5598 4.92285C2.58618 4.94922 2.62194 4.96403 2.65924 4.96403C2.69654 4.96403 2.73231 4.94922 2.75868 4.92285C2.78505 4.89647 2.79987 4.8607 2.79987 4.82341V4.63989C2.79987 4.6026 2.78505 4.56683 2.75868 4.54046C2.73231 4.51408 2.69654 4.49927 2.65924 4.49927Z"
  132.                                                             fill="#E40C25"/>
  133.                                                         <path
  134.                                                             d="M2.65924 5.10254C2.62194 5.10254 2.58618 5.11735 2.5598 5.14373C2.53343 5.1701 2.51862 5.20587 2.51862 5.24316V7.99777C2.51862 8.03507 2.53343 8.07084 2.5598 8.09721C2.58618 8.12358 2.62194 8.1384 2.65924 8.1384C2.69654 8.1384 2.73231 8.12358 2.75868 8.09721C2.78505 8.07084 2.79987 8.03507 2.79987 7.99777V5.24316C2.79987 5.20587 2.78505 5.1701 2.75868 5.14373C2.73231 5.11735 2.69654 5.10254 2.65924 5.10254Z"
  135.                                                             fill="#E40C25"/>
  136.                                                         <path
  137.                                                             d="M10.3997 2.45365L8.38927 1.47748C8.37244 1.46931 8.35415 1.46458 8.33547 1.46356C8.31679 1.46255 8.2981 1.46527 8.28048 1.47158C8.26287 1.47788 8.24669 1.48763 8.23289 1.50026C8.21909 1.51289 8.20795 1.52815 8.20013 1.54514L7.91956 2.15414L7.80504 2.09508V1.55267C7.80466 1.24151 7.68086 0.943207 7.46082 0.723207C7.24077 0.503207 6.94245 0.379473 6.63129 0.37915H2.69487C2.38371 0.379473 2.08538 0.503207 1.86534 0.723207C1.6453 0.943207 1.5215 1.24151 1.52112 1.55267V10.4472C1.5215 10.7584 1.6453 11.0567 1.86534 11.2767C2.08538 11.4967 2.38371 11.6204 2.69487 11.6207H9.25268C9.56381 11.6204 9.86209 11.4966 10.0821 11.2766C10.3021 11.0566 10.4258 10.7583 10.4262 10.4472V3.53313C10.4262 3.50732 10.4191 3.48201 10.4057 3.45996C10.3922 3.43792 10.373 3.42 10.35 3.40817L10.1675 3.31402L10.4669 2.63703C10.4816 2.60371 10.4829 2.56598 10.4703 2.53178C10.4578 2.49757 10.4325 2.46956 10.3997 2.45365ZM10.1449 10.4472C10.1447 10.6838 10.0506 10.9106 9.88331 11.0778C9.71603 11.2451 9.48924 11.3392 9.25268 11.3395H2.69487C2.45828 11.3392 2.23144 11.2452 2.06412 11.0779C1.8968 10.9106 1.80267 10.6838 1.80237 10.4472V1.55267C1.80267 1.31607 1.8968 1.08926 2.06412 0.921985C2.23144 0.754711 2.45828 0.660636 2.69487 0.6604H6.6312C6.86779 0.660636 7.09463 0.754711 7.26195 0.921985C7.42926 1.08926 7.5234 1.31607 7.5237 1.55267V2.18079C7.5237 2.20661 7.53081 2.23192 7.54424 2.25397C7.55768 2.27601 7.57692 2.29393 7.59987 2.30576L10.1449 3.61882V10.4472ZM9.91718 3.18483L8.16963 2.28319L8.3955 1.79316L10.1548 2.64738L9.91718 3.18483Z"
  138.                                                             fill="#E40C25"/>
  139.                                                     </svg>
  140.                                                     <span v-html="vehicleInfo.variationInfo"></span>
  141.                                                 </div>
  142.                                                 <div class="confirm_your_car_head_box">
  143.                                                     <svg width="12" height="12" viewbox="0 0 12 12" fill="none"
  144.                                                          xmlns="http://www.w3.org/2000/svg">
  145.                                                         <g clip-path="url(#clip0_1195_8209)">
  146.                                                             <path
  147.                                                                 d="M11.0268 1.67849C10.0217 0.733797 7.95368 0.462344 5.49554 0.952539C4.05929 1.23876 1.55375 2.24723 0.537661 3.85232C-0.203175 5.02265 -0.0434253 5.85037 0.220926 6.33864C0.700036 7.22338 1.964 7.78642 3.51957 7.80805C3.80347 7.81197 3.9915 7.86761 4.09432 7.97802C4.25354 8.14916 4.2338 8.4888 4.211 8.88208C4.17615 9.48145 4.13288 10.2274 4.67691 10.8809C4.90252 11.1518 5.22432 11.2872 5.6235 11.2872C6.02766 11.2872 6.5112 11.1482 7.05397 10.8704C9.14007 9.8027 11.6082 7.00302 11.9575 4.53695C12.122 3.3752 11.8088 2.4134 11.0268 1.67849ZM11.6364 4.49146C11.3063 6.82291 8.87855 9.57234 6.90617 10.5818C6.36783 10.8573 5.39452 11.2358 4.92607 10.6733C4.46407 10.1184 4.50165 9.47151 4.53481 8.90088C4.56195 8.43339 4.58539 8.02966 4.33179 7.75717C4.16541 7.57844 3.90125 7.489 3.52402 7.48373C2.08585 7.46378 0.929465 6.96587 0.506114 6.18419C0.186215 5.59337 0.291895 4.84696 0.811762 4.02578C1.76647 2.5176 4.23022 1.53543 5.55889 1.27054C7.37778 0.908195 9.71091 0.886984 10.8047 1.91477C11.5054 2.57336 11.7853 3.44024 11.6364 4.49146ZM2.90426 3.66259C2.30321 3.66259 1.81428 4.15162 1.81428 4.75267C1.81428 5.35373 2.30321 5.84275 2.90426 5.84275C3.50532 5.84275 3.99434 5.35373 3.99434 4.75267C3.99434 4.15162 3.50532 3.66259 2.90426 3.66259ZM2.90426 5.51842C2.48206 5.51842 2.13863 5.17487 2.13863 4.75267C2.13863 4.33047 2.48206 3.98692 2.90426 3.98692C3.32647 3.98692 3.67001 4.33047 3.67001 4.75267C3.67001 5.17487 3.32647 5.51842 2.90426 5.51842ZM6.45999 3.26805C6.45999 2.66699 5.97096 2.17797 5.36979 2.17797C4.76874 2.17797 4.27981 2.66699 4.27981 3.26805C4.27981 3.8691 4.76874 4.35812 5.36979 4.35812C5.97096 4.35812 6.45999 3.8691 6.45999 3.26805ZM5.36982 4.0338C4.94761 4.0338 4.60418 3.69025 4.60418 3.26805C4.60418 2.84584 4.94761 2.5023 5.36982 2.5023C5.79211 2.5023 6.13566 2.84584 6.13566 3.26805C6.13566 3.69025 5.79211 4.0338 5.36982 4.0338ZM8.52476 3.93393C9.12582 3.93393 9.61484 3.44491 9.61484 2.84385C9.61484 2.2428 9.12582 1.75387 8.52476 1.75387C7.92371 1.75387 7.43468 2.2428 7.43468 2.84385C7.43468 3.44491 7.92371 3.93393 8.52476 3.93393ZM8.52476 2.0782C8.94697 2.0782 9.29051 2.42162 9.29051 2.84383C9.29051 3.26603 8.94697 3.60958 8.52476 3.60958C8.10256 3.60958 7.75901 3.26603 7.75901 2.84383C7.75901 2.42162 8.10256 2.0782 8.52476 2.0782ZM8.97547 4.9352C8.37441 4.9352 7.88539 5.42423 7.88539 6.02528C7.88539 6.62634 8.37441 7.11527 8.97547 7.11527C9.57652 7.11527 10.0655 6.62634 10.0655 6.02528C10.0655 5.42423 9.57652 4.9352 8.97547 4.9352ZM8.97547 6.79094C8.55326 6.79094 8.20971 6.44751 8.20971 6.0253C8.20971 5.6031 8.55326 5.25955 8.97547 5.25955C9.39767 5.25955 9.74121 5.6031 9.74121 6.0253C9.74121 6.44751 9.39767 6.79094 8.97547 6.79094ZM6.82803 7.34774C6.22697 7.34774 5.73795 7.83677 5.73795 8.43782C5.73795 9.03887 6.22697 9.5278 6.82803 9.5278C7.42908 9.5278 7.91811 9.03887 7.91811 8.43782C7.91811 7.83677 7.42908 7.34774 6.82803 7.34774ZM6.82803 9.20348C6.40582 9.20348 6.06228 8.86005 6.06228 8.43784C6.06228 8.01564 6.40582 7.67209 6.82803 7.67209C7.25023 7.67209 7.59378 8.01564 7.59378 8.43784C7.59378 8.86005 7.25023 9.20348 6.82803 9.20348Z"
  148.                                                                 fill="#E40C25"/>
  149.                                                         </g>
  150.                                                         <defs>
  151.                                                             <clipPath id="clip0_1195_8209">
  152.                                                                 <rect width="12" height="12" fill="white"/>
  153.                                                             </clipPath>
  154.                                                         </defs>
  155.                                                     </svg>
  156.                                                     <span v-html="vehicleInfo.color"></span>
  157.                                                 </div>
  158.                                             </div>
  159.                                             <div class="save_car_number_box">
  160.                                                 <span class="save_car_year" v-html="vehicleInfo.makeYear"></span>
  161.                                                 <div class="save_car_number_wrap">
  162.                                                     <svg width="28" height="28" viewbox="0 0 28 28" fill="none"
  163.                                                          xmlns="http://www.w3.org/2000/svg">
  164.                                                         <path
  165.                                                             d="M0 6C0 2.68629 2.68629 0 6 0H28V28H6C2.68629 28 0 25.3137 0 22V6Z"
  166.                                                             fill="#0057B8"/>
  167.                                                         <path
  168.                                                             d="M13.9238 16.4V19.664C13.9238 21.376 12.8998 22.072 11.7558 22.072C10.4118 22.072 9.43578 21.248 9.43578 19.608V16.4H10.1158V19.48C10.1158 20.696 10.7078 21.432 11.7558 21.432C12.6758 21.432 13.2438 20.8 13.2438 19.528V16.4H13.9238ZM14.8036 22L17.2116 16.368H17.7956L20.2036 22H19.4756L18.7556 20.304H16.2036L15.4916 22H14.8036ZM17.4836 17.272L16.4756 19.664H18.4916L17.4836 17.272Z"
  169.                                                             fill="white"/>
  170.                                                         <rect x="8" y="4" width="12" height="4" fill="#42ADDE"/>
  171.                                                         <rect x="8" y="8" width="12" height="4" fill="#FFD800"/>
  172.                                                     </svg>
  173.                                                     <span class="save_car_number" v-html="vehicleInfo.number"></span>
  174.                                                 </div>
  175.                                             </div>
  176.                                         </div>
  177.                                     </div>
  178.                                 </div>
  179.                                 <div class="save_car_container"
  180.                                      v-else-if="status.stepChangeVariation && !status.notFindVehicleNumber">
  181.                                     <p class="save_car_sub_name save_car_sub_name_select">{{ 'modal_online_service.enter_your_car'|trans({}, 'portal_base') }}</p>
  182.                                     <div class="search_car_wrapper">
  183.                                         <select class="search_car_select" v-model="carData.brandId" @change="setBrand">
  184.                                             <option class="search_car_option" value="null" :checked="carData.brandId === null">{{ 'modal_online_service.brand'|trans({}, 'portal_base') }}</option>
  185.                                             <option v-for="brand in formData.brands" class="search_car_option" :value="brand.id" v-html="brand.title"></option>
  186.                                         </select>
  187.                                         <select class="search_car_select" v-model="carData.modelId" :disabled="carData.brandId === null" @change="setModel">
  188.                                             <option class="search_car_option" value="null" :checked="carData.modelId === null">{{ 'modal_online_service.model'|trans({}, 'portal_base') }}</option>
  189.                                             <option v-for="model in formData.models" class="search_car_option" :value="model.id" v-html="model.title"></option>
  190.                                         </select>
  191.                                         <select class="search_car_select" v-model="carData.makeYear" :disabled="carData.modelId === null || !hasWorkByVariation" @change="setMakeYear">
  192.                                             <option class="search_car_option" value="null" :checked="carData.makeYear === null">{{ 'modal_online_service.year_release'|trans({}, 'portal_base') }}*</option>
  193.                                             <option v-for="makeYear in formData.makeYears" class="search_car_option" :value="makeYear.id" v-html="makeYear.title"></option>
  194.                                         </select>
  195.                                         <select class="search_car_select" v-model="carData.variationId" :disabled="carData.makeYear === null || !hasWorkByVariation">
  196.                                             <option class="search_car_option" value="null" :checked="carData.variationId === null">{{ 'modal_online_service.modification'|trans({}, 'portal_base') }}*</option>
  197.                                             <option v-for="variation in formData.variations" class="search_car_option" :value="variation.id" v-html="variation.title">{{ 'modal_online_service.modification'|trans({}, 'portal_base') }}*</option>
  198.                                         </select>
  199.                                     </div>
  200.                                 </div>
  201.                             </div>
  202.                             <div v-else-if="status.stepChangeDealer" id="scrollTo-modal_online_cover_box" class="modal_online_cover_box">
  203.                                 <div class="modal_online_cover_head">
  204.                                     <p class="modal_online_cover_head_title">{{ 'modal_online_service.select_sto_recording'|trans({}, 'portal_base') }}</p>
  205.                                 </div>
  206.                                 <div class="select_service_station_wrapper">
  207.                                     <div class="select_service_station_box" v-for="dealer in formData.dealers"
  208.                                          @click="setDealer(dealer.id)">
  209.                                         <img class="select_service_station_logo" :src="dealer.image" alt="">
  210.                                         <p class="select_service_station_title" :title="`${dealer.title} - ${dealer.address}`"><span v-html="dealer.title"></span>
  211.                                             <span v-html="dealer.address"></span></p>
  212.                                     </div>
  213.                                 </div>
  214.                             </div>
  215.                         </template>
  216.                         <template v-if="step == 2">
  217.                             <div id="scrollTo-modal_online_cover_box" class="modal_online_cover_box">
  218.                                 <div class="modal_online_cover_head modal_online_cover_head-work">
  219.                                     <p class="modal_online_cover_head_title">{{ 'modal_online_service.select_required_jobs'|trans({}, 'portal_base') }}</p>
  220.                                     <div class="modal_online_search_dropdown">
  221.                                         <div class="modal_online_search">
  222.                                             <input type="text" placeholder="Пошук" v-model="searchWorks" required
  223.                                                    @keyup="searchWorksByTitle">
  224.                                             <button v-if="!isActiveSearchWork">
  225.                                                 <svg width="12" height="12" viewbox="0 0 12 12" fill="none"
  226.                                                      xmlns="http://www.w3.org/2000/svg">
  227.                                                     <path
  228.                                                         d="M11.8989 11.4243L8.55514 8.06183C9.38249 7.11929 9.81089 5.89196 9.74978 4.6393C9.68867 3.38664 9.14284 2.20684 8.22768 1.34931C7.31252 0.491771 6.09975 0.0237186 4.84577 0.0440955C3.59179 0.0644725 2.39487 0.571682 1.50806 1.4585C0.621243 2.34531 0.114033 3.54223 0.0936561 4.79621C0.0732791 6.05019 0.541332 7.26296 1.39887 8.17812C2.2564 9.09328 3.4362 9.63911 4.68886 9.70022C5.94152 9.76133 7.16885 9.33293 8.11139 8.50558L11.4739 11.8618C11.5019 11.8917 11.5358 11.9156 11.5735 11.9318C11.6111 11.9481 11.6516 11.9565 11.6926 11.9565C11.7336 11.9565 11.7742 11.9481 11.8118 11.9318C11.8494 11.9156 11.8833 11.8917 11.9114 11.8618C11.9405 11.8329 11.9634 11.7984 11.9786 11.7603C11.9938 11.7222 12.0011 11.6814 11.9999 11.6404C11.9987 11.5994 11.9892 11.559 11.9718 11.5219C11.9544 11.4847 11.9296 11.4515 11.8989 11.4243ZM4.93014 9.08058C4.10193 9.08058 3.29232 8.83499 2.60369 8.37486C1.91506 7.91473 1.37834 7.26073 1.06139 6.49557C0.744452 5.7304 0.661526 4.88843 0.823102 4.07614C0.984677 3.26384 1.3835 2.5177 1.96913 1.93207C2.55476 1.34644 3.3009 0.947617 4.1132 0.786041C4.92549 0.624465 5.76746 0.707392 6.53263 1.02433C7.29779 1.34128 7.95179 1.878 8.41192 2.56663C8.87205 3.25526 9.11764 4.06487 9.11764 4.89308C9.11599 6.00317 8.67427 7.06731 7.88932 7.85226C7.10437 8.63721 6.04023 9.07893 4.93014 9.08058Z"
  229.                                                         fill="#333333"/>
  230.                                                 </svg>
  231.                                             </button>
  232.                                             {#close#}
  233.                                             <button v-else @click="closeSearch()">
  234.                                                 <svg width="13" height="13" viewbox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
  235.                                                     <path d="M11.53 11.255L1.53003 1.255M11.53 1.255L1.53003 11.255" stroke="#333333"
  236.                                                           stroke-width="2" stroke-linecap="round"/>
  237.                                                 </svg>
  238.                                             </button>
  239.                                         </div>
  240.                                     </div>
  241.                                 </div>
  242.                                 {# DESCTOP #}
  243.                                 <div class="modal_step_two_wrapper modal_step_two-desctop">
  244.                                     <div class="modal_step_two_position">
  245.                                         <div class="modal_step_two_container">
  246.                                             <div v-for="group in groups" v-if="workParentGroupAvailable(group.id)" class="modal_step_two_select_box" :class="{'active': activeParentWorkGroup === group.id || isActiveSearchWork}" @click="setActiveParentWorkGroup(group.id)">
  247.                                                 <p class="step_two_select_name" v-html="group.title"></p>
  248.                                                 <svg class="step_two_select_arrow" width="16" height="16"
  249.                                                      viewbox="0 0 16 16" fill="none"
  250.                                                      xmlns="http://www.w3.org/2000/svg">
  251.                                                     <path
  252.                                                         d="M5.91679 1.93333L11.5335 7.53333C11.6001 7.6 11.6475 7.67222 11.6755 7.75C11.7035 7.82778 11.7172 7.91111 11.7168 8C11.7168 8.08889 11.703 8.17222 11.6755 8.25C11.6479 8.32778 11.6006 8.4 11.5335 8.46667L5.91679 14.0833C5.76123 14.2389 5.56679 14.3167 5.33345 14.3167C5.10012 14.3167 4.90012 14.2333 4.73345 14.0667C4.56679 13.9 4.48345 13.7056 4.48345 13.4833C4.48345 13.2611 4.56679 13.0667 4.73345 12.9L9.63345 8L4.73345 3.1C4.5779 2.94444 4.50012 2.75267 4.50012 2.52467C4.50012 2.29667 4.58345 2.09955 4.75012 1.93333C4.91679 1.76667 5.11123 1.68333 5.33345 1.68333C5.55567 1.68333 5.75012 1.76667 5.91679 1.93333Z"
  253.                                                         fill="inherit"/>
  254.                                                 </svg>
  255.                                             </div>
  256.                                         </div>
  257.                                         <div class="modal_step_two_nosearch">
  258.                                             <div class="modal_step_step_two_nosearch" @click="addServiceComment">
  259.                                                 <p class="step_step_two_nosearch_name">{{ 'modal_online_service.find_right_job'|trans({}, 'portal_base') }}</p>
  260.                                                 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"
  261.                                                      viewbox="0 0 16 16" fill="none">
  262.                                                     <path
  263.                                                         d="M5.91679 1.93333L11.5335 7.53333C11.6001 7.6 11.6475 7.67222 11.6755 7.75C11.7035 7.82778 11.7172 7.91111 11.7168 8C11.7168 8.08889 11.703 8.17222 11.6755 8.25C11.6479 8.32778 11.6006 8.4 11.5335 8.46667L5.91679 14.0833C5.76123 14.2389 5.56679 14.3167 5.33345 14.3167C5.10012 14.3167 4.90012 14.2333 4.73345 14.0667C4.56679 13.9 4.48345 13.7056 4.48345 13.4833C4.48345 13.2611 4.56679 13.0667 4.73345 12.9L9.63345 8L4.73345 3.1C4.5779 2.94444 4.50012 2.75267 4.50012 2.52467C4.50012 2.29667 4.58345 2.09955 4.75012 1.93333C4.91679 1.76667 5.11123 1.68333 5.33345 1.68333C5.55567 1.68333 5.75012 1.76667 5.91679 1.93333Z"
  264.                                                         fill="white"/>
  265.                                                 </svg>
  266.                                             </div>
  267.                                         </div>
  268.                                     </div>
  269.                                     <div class="modal_step_two_service_wrapper" v-if="!status.stepServiceComment && Object.keys(groups).length > 0">
  270.                                         <div v-if="isActiveSearchWork">{{ 'modal_online_service.search_results'|trans({}, 'portal_base') }} “<span v-html="searchWorks"></span>”</div>
  271.                                         <template v-for="mainGroup in groups" v-if="activeParentWorkGroup === mainGroup.id || isActiveSearchWork">
  272.                                             <div v-for="group in mainGroup.groups" v-if="workGroupAvailable(group.id)" class="step_two_service_box">
  273.                                                 <p class="step_two_service_name" v-html="group.title"></p>
  274.                                                 <template v-for="work in formData.works" v-if="group.id === work.groupId">
  275.                                                     <p class="step_two_service_name" v-if="work.millage"><span v-html="work.millage.toLocaleString()"></span> км</p>
  276.                                                     <button class="service_touch_btn" :class="{'active': hasAddWork(work.id)}" @click="toggleWork(work.id)">
  277.                                                         <div class="service_touch"></div>
  278.                                                         <p class="service_touch_text" v-html="work.title"></p>
  279.                                                         <span class="service_touch_price"><span v-html="work.totalCost.toLocaleString()"></span> грн</span>
  280.                                                     </button>
  281.                                                 </template>
  282.                                             </div>
  283.                                         </template>
  284.                                     </div>
  285.                                     <div class="modal_step_two_service_wrapper" v-else="status.stepServiceComment">
  286.                                         <div class="not_found_work">
  287.                                             <textarea class="not_found_work_textarea" name="text" v-model="carData.comment" placeholder="{{ 'modal_online_service.find_job_describe'|trans({}, 'portal_base') }}"></textarea>
  288.                                         </div>
  289.                                     </div>
  290.                                 </div>
  291.                                 {# MOBILE #}
  292.                                 <div class="modal_step_two-mobile">
  293.                                     <div class="accord_mob_wrapper">
  294.                                         <div v-if="isActiveSearchWork">{{ 'modal_online_service.search_results'|trans({}, 'portal_base') }} “<span v-html="searchWorks"></span>”</div>
  295.                                         <div v-for="mainGroup in groups" v-if="workParentGroupAvailable(mainGroup.id) || isActiveSearchWork" :id="'scrollTo-'+mainGroup.id" class="accord_mob_item" @click="setActiveParentWorkGroup(mainGroup.id, true)">
  296.                                             <div v-if="!isActiveSearchWork" class="accord_mob_head" :class="{'active': activeParentWorkGroup === mainGroup.id}">
  297.                                                 <p class="accord_mob_head_name" v-html="mainGroup.title"></p>
  298.                                                 <svg width="14" height="8" viewbox="0 0 14 8" fill="none" xmlns="http://www.w3.org/2000/svg">
  299.                                                     <path d="M13.0667 1.91666L7.46668 7.53333C7.40002 7.6 7.32779 7.64733 7.25002 7.67533C7.17224 7.70333 7.08891 7.71711 7.00002 7.71666C6.91113 7.71666 6.82779 7.70289 6.75002 7.67533C6.67224 7.64778 6.60002 7.60044 6.53335 7.53333L0.916683 1.91666C0.761127 1.76111 0.68335 1.56666 0.68335 1.33333C0.68335 1.1 0.766683 0.899998 0.93335 0.733332C1.10002 0.566665 1.29446 0.483332 1.51668 0.483332C1.73891 0.483332 1.93335 0.566665 2.10002 0.733332L7.00002 5.63333L11.9 0.733332C12.0556 0.577776 12.2473 0.499998 12.4753 0.499998C12.7034 0.499998 12.9005 0.583331 13.0667 0.749998C13.2334 0.916665 13.3167 1.11111 13.3167 1.33333C13.3167 1.55555 13.2334 1.75 13.0667 1.91666Z" fill="inherit"/>
  300.                                                 </svg>
  301.                                             </div>
  302.                                             <div v-for="group in mainGroup.groups" v-if="workGroupAvailable(group.id)" :class="{'accord_mob_content': !isActiveSearchWork}">
  303.                                                 <p class="accord_mob_content_name_works" v-html="group.title"></p>
  304.                                                 <div class="accord_mob_content_wrapper">
  305.                                                     <template v-for="work in formData.works" v-if="group.id === work.groupId">
  306.                                                         <p class="step_two_service_name" v-if="work.millage"><span v-html="work.millage.toLocaleString()"></span> км</p>
  307.                                                         <button class="service_touch_btn service_touch_btn-mob" :class="{'active': hasAddWork(work.id)}" @click="toggleWork(work.id)">
  308.                                                             <div class="service_touch"></div>
  309.                                                             <p class="service_touch_text" v-html="work.title"></p>
  310.                                                             <span class="service_touch_price">
  311.                                                                     <span v-html="work.totalCost.toLocaleString()"></span>
  312.                                                                     грн</span>
  313.                                                         </button>
  314.                                                     </template>
  315.                                                 </div>
  316.                                             </div>
  317.                                         </div>
  318.                                         <div class="accord_mob_item">
  319.                                             <div class="accord_mob_head accord_mob_head_not_search" @click="addServiceComment">
  320.                                                 <p class="accord_mob_head_name accord_mob_head_name_not_search">{{ 'modal_online_service.find_right_job'|trans({}, 'portal_base') }}</p>
  321.                                                 <svg width="14" height="8" viewbox="0 0 14 8" fill="none" xmlns="http://www.w3.org/2000/svg">
  322.                                                     <path d="M13.0667 1.91666L7.46668 7.53333C7.40002 7.6 7.32779 7.64733 7.25002 7.67533C7.17224 7.70333 7.08891 7.71711 7.00002 7.71666C6.91113 7.71666 6.82779 7.70289 6.75002 7.67533C6.67224 7.64778 6.60002 7.60044 6.53335 7.53333L0.916683 1.91666C0.761127 1.76111 0.68335 1.56666 0.68335 1.33333C0.68335 1.1 0.766683 0.899998 0.93335 0.733332C1.10002 0.566665 1.29446 0.483332 1.51668 0.483332C1.73891 0.483332 1.93335 0.566665 2.10002 0.733332L7.00002 5.63333L11.9 0.733332C12.0556 0.577776 12.2473 0.499998 12.4753 0.499998C12.7034 0.499998 12.9005 0.583331 13.0667 0.749998C13.2334 0.916665 13.3167 1.11111 13.3167 1.33333C13.3167 1.55555 13.2334 1.75 13.0667 1.91666Z" fill="inherit"/>
  323.                                                 </svg>
  324.                                             </div>
  325.                                             <div class="accord_mob_content_not_search" v-if="status.stepServiceComment || Object.keys(groups).length === 0">
  326.                                                 <textarea class="not_found_work_textarea" name="text" v-model="carData.comment" placeholder="{{ 'modal_online_service.find_job_describe'|trans({}, 'portal_base') }}"></textarea>
  327.                                             </div>
  328.                                         </div>
  329.                                     </div>
  330.                                 </div>
  331.                                 {# ====== #}
  332.                             </div>
  333.                         </template>
  334.                         <template v-if="step == 3">
  335.                             <div id="scrollTo-modal_online_cover_box" class="modal_online_cover_box">
  336.                                 <div class="modal_online_cover_head">
  337.                                     <p class="modal_online_cover_head_title">{{ 'modal_online_service.enter_data_record'|trans({}, 'portal_base') }}</p>
  338.                                 </div>
  339.                                 <form class="modal_online_form_wrapper">
  340.                                     <div class="modal_online_form_input_row">
  341.                                         <input id="service-name" class="modal_online_form_input modal_input" v-model="user.name" type="text" placeholder="{{ 'reglament_to.to_name'|trans({}, 'portal_base') }}*">
  342.                                         <input id="service-phone" class="modal_online_form_input modal_input" v-model="user.phone" v-mask="'+38(###)###-##-##'" type="text" placeholder="Телефон*">
  343.                                     </div>
  344.                                     <div class="modal_online_form_input_row">
  345.                                         <div class="form_input-calendar" @click="calendarActive()">
  346.                                             <input id="service-date" class="modal_online_form_input modal_input" type="text" placeholder="Дата" v-model="userDate" autocomplete="off" readonly>
  347.                                             <template v-if="calendarIsActive">
  348.                                                 {% include '@DcSite/Modules/service-calendar.html.twig' %}
  349.                                             </template>
  350.                                         </div>
  351.                                         <div class="form_input-time">
  352.                                             <input v-if="isNight" @click="timeActive()" id="service-time" class="modal_online_form_input modal_input" type="text" placeholder="Час " v-model="nightTimeInput" readonly/>
  353.                                             <input v-else  @click="timeActive()" id="service-time" class="modal_online_form_input modal_input" type="time" placeholder="Час " v-model="userTimeInput" readonly/>
  354.                                             <template v-if="timeIsActive">
  355.                                                 {% include '@DcSite/Modules/service-time.html.twig' %}
  356.                                             </template>
  357.                                         </div>
  358.                                     </div>
  359.                                     <p class="modal_online_form_info_text">{{ 'modal_online_service.you_service_yourself'|trans({}, 'portal_base') }}
  360.                                         24/7.
  361.                                         <a target="_blank" :href="options.serviceNightBookingUrl">{{ 'modal_online_service.learn_more_service'|trans({}, 'portal_base') }}</a>
  362.                                     </p>
  363.                                     <input v-if="isNight" id="service-vehicleNumber" class="modal_online_form_input modal_online_form_input-evak modal_input" type="text" v-model="carNumber" v-mask="'ССDDDDСС'" placeholder="{{ 'modal_online_service.enter_number_car'|trans({}, 'portal_base') }}">
  364.                                     <template v-if="isNight">
  365.                                         <div class="checkbox_evakes_item_evak">
  366.                                             <label class="checkbox_evak style_evak">
  367.                                                 <input type="checkbox" v-model="isTruck">
  368.                                                 <div class="checkbox_evak__checkmark checkbox_evak__checkmark-red"></div>
  369.                                                 <div class="checkbox_evak__body checkbox_evak__body-lih">{{ 'modal_online_service.tow_truck'|trans({}, 'portal_base') }}
  370.                                                 </div>
  371.                                             </label>
  372.                                         </div>
  373.                                         <input v-if="isTruck" id="service-truckNumber" class="modal_online_form_input modal_online_form_input-evak modal_input" type="text" v-model="truckNumber" v-mask="'ССDDDDСС'" placeholder="{{ 'modal_online_service.enter_number_truck'|trans({}, 'portal_base') }}">
  374.                                     </template>
  375.                                     <div class="checkbox_evakes_item_evak">
  376.                                         <label class="checkbox_evak style_evak">
  377.                                             <input type="checkbox" v-model="confirm">
  378.                                             <div id="service-confirmLabel" class="checkbox_evak__checkmark modal_input"></div>
  379.                                             <div class="checkbox_evak__body">{{ 'modal_online_service.consent_personal_data'|trans({}, 'portal_base') }}
  380.                                                 <a class="checkbox_evak_link" target="_blank" :href="privacyUrl">{{ 'modal_online_service.learn_about_deal'|trans({}, 'portal_base') }}</a>
  381.                                             </div>
  382.                                             <div class="checkbox_evak__body" v-if="isNight">{{ 'modal_online_service.more_about_service'|trans({}, 'portal_base') }}
  383.                                                 <a class="checkbox_evak_link" target="_blank" :href="privacyNightUrl">{{ 'modal_online_service.reception_nonworking_hours'|trans({}, 'portal_base') }}</a>
  384.                                             </div>
  385.                                         </label>
  386.                                     </div>
  387.                                 </form>
  388.                             </div>
  389.                         </template>
  390.                         <template v-if="step === 4">
  391.                             <div id="scrollTo-modal_online_cover_box" class="modal_online_cover_box registration_confirmation_box">
  392.                                 <p>{{ 'modal_online_service.your_phone_number'|trans({}, 'portal_base') }} <span v-html="user.phone"></span>
  393.                                     <button @click="prevStep">({{ 'modal_online_service.change_phone'|trans({}, 'portal_base') }})</button>
  394.                                     {{ 'modal_online_service.sent_sms_code'|trans({}, 'portal_base') }}
  395.                                 </p>
  396.                                 <p>{{ 'modal_online_service.enter_received_entry'|trans({}, 'portal_base') }}</p>
  397.                                 <input class="modal_online_form_input modal_online_form_input-evak" type="text"
  398.                                        v-model="confirmCode" placeholder="{{ 'modal_online_service.verification_code'|trans({}, 'portal_base') }}">
  399.                             </div>
  400.                         </template>
  401.                         {# ===================box-right=================== #}
  402.                         <div class="modal_online_cover_box modal_online_cover_box_right ">
  403.                             <p class="cover_box_right_title">{{ 'modal_online_service.order_details'|trans({}, 'portal_base') }}</p>
  404.                             <template v-if="(status.stepSearchNumber || (!vehicleInfo.brand)) && step === 1">
  405.                                 <p class="cover_box_right_sub_title">{{ 'modal_online_service.detailed_information'|trans({}, 'portal_base') }}</p>
  406.                                 <div class="cover_box_right_info_box_wrapper">
  407.                                     <div class="cover_box_right_info_box">
  408.                                         <svg width="10" height="10" viewbox="0 0 10 10" fill="none"
  409.                                              xmlns="http://www.w3.org/2000/svg">
  410.                                             <g clip-path="url(#clip0_1195_3435)">
  411.                                                 <path
  412.                                                     d="M9.76764 1.63439C9.45824 1.32457 8.95582 1.32477 8.64601 1.63439L3.59787 6.68272L1.35419 4.43906C1.04438 4.12924 0.542174 4.12924 0.23236 4.43906C-0.0774534 4.74887 -0.0774534 5.25107 0.23236 5.56089L3.03684 8.36537C3.19165 8.52017 3.39464 8.59777 3.59765 8.59777C3.80067 8.59777 4.00386 8.52037 4.15867 8.36537L9.76764 2.7562C10.0775 2.4466 10.0775 1.94418 9.76764 1.63439Z"
  413.                                                     fill="#E40C25"/>
  414.                                             </g>
  415.                                             <defs>
  416.                                                 <clipPath id="clip0_1195_3435">
  417.                                                     <rect width="10" height="10" fill="white"/>
  418.                                                 </clipPath>
  419.                                             </defs>
  420.                                         </svg>
  421.                                         <p class="cover_box_right_info_text">{{ 'modal_online_service.tech_characteristics_car'|trans({}, 'portal_base') }}</p>
  422.                                     </div>
  423.                                     <div class="cover_box_right_info_box">
  424.                                         <svg width="10" height="10" viewbox="0 0 10 10" fill="none"
  425.                                              xmlns="http://www.w3.org/2000/svg">
  426.                                             <g clip-path="url(#clip0_1195_3435)">
  427.                                                 <path
  428.                                                     d="M9.76764 1.63439C9.45824 1.32457 8.95582 1.32477 8.64601 1.63439L3.59787 6.68272L1.35419 4.43906C1.04438 4.12924 0.542174 4.12924 0.23236 4.43906C-0.0774534 4.74887 -0.0774534 5.25107 0.23236 5.56089L3.03684 8.36537C3.19165 8.52017 3.39464 8.59777 3.59765 8.59777C3.80067 8.59777 4.00386 8.52037 4.15867 8.36537L9.76764 2.7562C10.0775 2.4466 10.0775 1.94418 9.76764 1.63439Z"
  429.                                                     fill="#E40C25"/>
  430.                                             </g>
  431.                                             <defs>
  432.                                                 <clipPath id="clip0_1195_3435">
  433.                                                     <rect width="10" height="10" fill="white"/>
  434.                                                 </clipPath>
  435.                                             </defs>
  436.                                         </svg>
  437.                                         <p class="cover_box_right_info_text">{{ 'modal_online_service.cost_service_repair'|trans({}, 'portal_base') }}</p>
  438.                                     </div>
  439.                                     <div class="cover_box_right_info_box">
  440.                                         <svg width="10" height="10" viewbox="0 0 10 10" fill="none"
  441.                                              xmlns="http://www.w3.org/2000/svg">
  442.                                             <g clip-path="url(#clip0_1195_3435)">
  443.                                                 <path
  444.                                                     d="M9.76764 1.63439C9.45824 1.32457 8.95582 1.32477 8.64601 1.63439L3.59787 6.68272L1.35419 4.43906C1.04438 4.12924 0.542174 4.12924 0.23236 4.43906C-0.0774534 4.74887 -0.0774534 5.25107 0.23236 5.56089L3.03684 8.36537C3.19165 8.52017 3.39464 8.59777 3.59765 8.59777C3.80067 8.59777 4.00386 8.52037 4.15867 8.36537L9.76764 2.7562C10.0775 2.4466 10.0775 1.94418 9.76764 1.63439Z"
  445.                                                     fill="#E40C25"/>
  446.                                             </g>
  447.                                             <defs>
  448.                                                 <clipPath id="clip0_1195_3435">
  449.                                                     <rect width="10" height="10" fill="white"/>
  450.                                                 </clipPath>
  451.                                             </defs>
  452.                                         </svg>
  453.                                         <p class="cover_box_right_info_text">{{ 'modal_online_service.date_time_event'|trans({}, 'portal_base') }}</p>
  454.                                     </div>
  455.                                 </div>
  456.                             </template>
  457.                             <div class="cover_box_right_select_marka_wrapper-step-2">
  458.                                 <div v-if="!status.stepSearchNumber && vehicleInfo.brand"
  459.                                      class="cover_box_right_select_marka_box">
  460.                                     <div class="select_marka_box_head">
  461.                                         <p class="marka_box_head">{{ 'modal_online_service.brand'|trans({}, 'portal_base') }}</p>
  462.                                         <button v-if="step > 1 || status.stepChangeDealer" class="marka_box_head_change" @click="editModel">
  463.                                             {{ 'modal_online_service.change'|trans({}, 'portal_base') }}
  464.                                         </button>
  465.                                     </div>
  466.                                     <p class="select_marka_box_head_name">
  467.                                         <span v-html="vehicleInfo.brand"></span>
  468.                                         <span v-html="vehicleInfo.model"></span>
  469.                                         <span v-html="vehicleInfo.variationInfo"></span>
  470.                                         <span v-html="vehicleInfo.makeYear"></span>
  471.                                     </p>
  472.                                 </div>
  473.                                 <div v-if="carData.dealerId" class="cover_box_right_select_marka_box">
  474.                                     <div class="select_marka_box_head">
  475.                                         <p class="marka_box_head">{{ 'modal_online_service.service_station'|trans({}, 'portal_base') }}</p>
  476.                                         <button v-if="!status.stepChangeDealer" class="marka_box_head_change" @click="editDealer">{{ 'modal_online_service.change'|trans({}, 'portal_base') }}
  477.                                         </button>
  478.                                     </div>
  479.                                     <p class="select_marka_box_head_name"
  480.                                        v-html="dealers[carData.dealerId].title"></p>
  481.                                 </div>
  482.                                 <template v-if="step === 2">
  483.                                     <div class="works_cover_wrapper">
  484.                                         <p class="works_name">{{ 'modal_online_service.works'|trans({}, 'portal_base') }}</p>
  485.                                         <div class="works_cover_box_wrapper">
  486.                                             <div class="works_cover_box">
  487.                                                 <template>
  488.                                                     <button class="circle_touch_btn active" v-for="work in vehicleInfo.addWorks" v-if="addWorkAvailable(work.id)" @click="toggleWork(work.id)">
  489.                                                         <div class="circle_touch"></div>
  490.                                                         <p class="circle_touch_text" v-html="work.title">{{ 'modal_online_service.computer_diagnostics'|trans({}, 'portal_base') }}</p>
  491.                                                         <span class="circle_touch_price"><span v-html="work.totalCost.toLocaleString()"></span> грн</span>
  492.                                                     </button>
  493.                                                 </template>
  494.                                             </div>
  495.                                         </div>
  496.                                     </div>
  497.                                 </template>
  498.                                 <template v-if="step === 3 || step === 4">
  499.                                     <div class="cover_box_right_select_marka_box">
  500.                                         <div class="select_marka_box_head">
  501.                                             <p class="marka_box_head">{{ 'modal_online_service.works'|trans({}, 'portal_base') }}</p>
  502.                                             <button class="marka_box_head_change" @click="setStep(2)">{{ 'modal_online_service.change'|trans({}, 'portal_base') }}
  503.                                             </button>
  504.                                         </div>
  505.                                         <p class="select_marka_box_head_name" v-html="Object.values(vehicleInfo.addWorks).map(item => item.title).join(', ')"></p>
  506.                                     </div>
  507.                                     <div v-if="userDate" class="cover_box_right_select_marka_box">
  508.                                         <div style="position: relative;" class="select_marka_box_head">
  509.                                             <div class="total_price_title_box">
  510.                                                 <p class="marka_box_head">{{ 'modal_online_service.date_time'|trans({}, 'portal_base') }}</p>
  511.                                                 <svg onclick="openTooltip('#openTooltip-3')" class="modal_show_tooltip" width="10" height="10" viewbox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
  512.                                                     <path fill-rule="evenodd" clip-rule="evenodd" d="M4.99953 0C6.38053 0 7.63041 0.559381 8.53504 1.46401C9.43968 2.36959 10 3.61947 10 4.99953C10 6.38053 9.43968 7.63041 8.53504 8.53504C7.63041 9.43968 6.38053 10 4.99953 10C3.61947 10 2.36959 9.43968 1.46401 8.53504C0.559381 7.63041 0 6.38053 0 4.99953C0 3.61947 0.559381 2.36864 1.46401 1.46401C2.36864 0.559381 3.61947 0 4.99953 0ZM7.98321 2.01585C7.22007 1.25271 6.16451 0.780115 4.99953 0.780115C3.83454 0.780115 2.77993 1.25271 2.01585 2.01585C1.25271 2.77993 0.780115 3.83454 0.780115 4.99953C0.780115 6.16451 1.25271 7.22007 2.01585 7.98321C2.77993 8.74634 3.83454 9.21894 4.99953 9.21894C6.16451 9.21894 7.22007 8.74634 7.98321 7.98321C8.74634 7.22007 9.21894 6.16451 9.21894 4.99953C9.21894 3.83454 8.74634 2.77993 7.98321 2.01585ZM4.95614 3.1714C4.74106 3.1714 4.56655 2.99689 4.56655 2.78181C4.56655 2.5658 4.74106 2.39128 4.95614 2.39128H5.04292C5.25894 2.39128 5.43345 2.5658 5.43345 2.78181C5.43345 2.99689 5.25894 3.1714 5.04292 3.1714H4.95614ZM4.60617 4.0732C4.60617 3.85813 4.78068 3.68361 4.9967 3.68361C5.21177 3.68361 5.38628 3.85813 5.38628 4.0732V7.21819C5.38628 7.43326 5.21177 7.60872 4.9967 7.60872C4.78068 7.60872 4.60617 7.43326 4.60617 7.21819V4.0732Z" fill="#E40C25"/>
  513.                                                 </svg>
  514.                                             </div>
  515.                                             <button v-if="step > 3" class="marka_box_head_change" @click="setStep(3)">{{ 'modal_online_service.change'|trans({}, 'portal_base') }}</button>
  516.                                             <div class="show_tooltip" id="openTooltip-3">
  517.                                                 <span onclick="openTooltip('#openTooltip-3')" class="price_tooltip_close">x</span>
  518.                                                 <p>{{ 'modal_online_service.pay_attention'|trans({}, 'portal_base') }} <br>
  519.                                                     {{ 'modal_online_service.choose_performed_works'|trans({}, 'portal_base') }}</p>
  520.                                             </div>
  521.                                         </div>
  522.                                         <p class="select_marka_box_head_name">
  523.                                             <span v-html="formatDate(userDate)"></span> на <span v-if="isNight" v-html="nightTimeInput"></span><span v-else v-html="userTimeInput"></span>
  524.                                         </p>
  525.                                     </div>
  526.                                 </template>
  527.                             </div>
  528.                             <div v-if="step === 2" class="total_price_wrapper">
  529.                                 <div class="total_price_title_box">
  530.                                     <p class="total_price_tite">{{ 'modal_online_service.estimated_works'|trans({}, 'portal_base') }}
  531.                                     </p>
  532.                                     <svg onclick="openTooltip('#openTooltip-1')" class="modal_show_tooltip" width="10" height="10" viewbox="0 0 10 10" fill="none"
  533.                                          xmlns="http://www.w3.org/2000/svg">
  534.                                         <path fill-rule="evenodd" clip-rule="evenodd"
  535.                                               d="M4.99953 0C6.38053 0 7.63041 0.559381 8.53504 1.46401C9.43968 2.36959 10 3.61947 10 4.99953C10 6.38053 9.43968 7.63041 8.53504 8.53504C7.63041 9.43968 6.38053 10 4.99953 10C3.61947 10 2.36959 9.43968 1.46401 8.53504C0.559381 7.63041 0 6.38053 0 4.99953C0 3.61947 0.559381 2.36864 1.46401 1.46401C2.36864 0.559381 3.61947 0 4.99953 0ZM7.98321 2.01585C7.22007 1.25271 6.16451 0.780115 4.99953 0.780115C3.83454 0.780115 2.77993 1.25271 2.01585 2.01585C1.25271 2.77993 0.780115 3.83454 0.780115 4.99953C0.780115 6.16451 1.25271 7.22007 2.01585 7.98321C2.77993 8.74634 3.83454 9.21894 4.99953 9.21894C6.16451 9.21894 7.22007 8.74634 7.98321 7.98321C8.74634 7.22007 9.21894 6.16451 9.21894 4.99953C9.21894 3.83454 8.74634 2.77993 7.98321 2.01585ZM4.95614 3.1714C4.74106 3.1714 4.56655 2.99689 4.56655 2.78181C4.56655 2.5658 4.74106 2.39128 4.95614 2.39128H5.04292C5.25894 2.39128 5.43345 2.5658 5.43345 2.78181C5.43345 2.99689 5.25894 3.1714 5.04292 3.1714H4.95614ZM4.60617 4.0732C4.60617 3.85813 4.78068 3.68361 4.9967 3.68361C5.21177 3.68361 5.38628 3.85813 5.38628 4.0732V7.21819C5.38628 7.43326 5.21177 7.60872 4.9967 7.60872C4.78068 7.60872 4.60617 7.43326 4.60617 7.21819V4.0732Z"
  536.                                               fill="#E40C25"/>
  537.                                     </svg>
  538.                                     <p class="modal_footer_price_tite">:</p>
  539.                                 </div>
  540.                                 <div class="show_tooltip" id="openTooltip-1">
  541.                                     <span onclick="openTooltip('#openTooltip-1')" class="price_tooltip_close">x</span>
  542.                                     <p>* {{ 'modal_online_service.prices_valid'|trans({}, 'portal_base') }} {{ "now"|date("d.") }}{{ "now"|date("m.") }}{{ "now"|date("Y") }}. {{ 'modal_online_service.specified_price_maintenance'|trans({}, 'portal_base') }}</p>
  543.                                 </div>
  544.                                 <span class="total_price"><span
  545.                                         v-html="vehicleInfo.totalCostWork.toLocaleString()"></span> грн</span>
  546.                             </div>
  547.                         </div>
  548.                     </div>
  549.                     <template v-if="successService">
  550.                         <div class="thank_modal">
  551.                             <div class="thank_modal_wapper">
  552.                                 <div class="thank_modal_close" @click="closeServiceSuccess">
  553.                                     <svg width="13" height="12" viewbox="0 0 13 12" fill="none" xmlns="http://www.w3.org/2000/svg">
  554.                                         <path d="M11.5 11L1.5 1M11.5 1L1.5 11" stroke="#333333" stroke-width="2" stroke-linecap="round"/>
  555.                                     </svg>
  556.                                 </div>
  557.                                 <p class="thank_modal_title">{{ 'modal_online_service.application_created'|trans({}, 'portal_base') }}</p>
  558.                                 <p class="thank_modal_text">{{ 'modal_online_service.manager_details_future'|trans({}, 'portal_base') }}</p>
  559.                                 <p class="thank_modal_text">{{ 'modal_online_service.thank_choosing_us'|trans({}, 'portal_base') }}</p>
  560.                                 <a :href="options.catalogUrl" class="thank_modal_btn">{{ 'modal_online_service.go_catalog_cars'|trans({}, 'portal_base') }}</a>
  561.                             </div>
  562.                         </div>
  563.                     </template>
  564.                 </div>
  565.             </div>
  566.         </div>
  567.     </div>
  568.     <div class="modal_online_reg_footer">
  569.         <div class="container">
  570.             <div class="modal_online_reg_footer_wrapper">
  571.                 <div class="modal_footer_price_wrapper">
  572.                     <template v-if="step > 1">
  573.                         <div class="modal_footer_price_title_box">
  574.                             <p class="modal_footer_price_tite">{{ 'modal_online_service.estimated_cost'|trans({}, 'portal_base') }}
  575.                             </p>
  576.                             <svg onclick="openTooltip('#openTooltip-2')" class="modal_show_tooltip" width="10" height="10" viewbox="0 0 10 10" fill="none"
  577.                                  xmlns="http://www.w3.org/2000/svg">
  578.                                 <path fill-rule="evenodd" clip-rule="evenodd"
  579.                                       d="M4.99953 0C6.38053 0 7.63041 0.559381 8.53504 1.46401C9.43968 2.36959 10 3.61947 10 4.99953C10 6.38053 9.43968 7.63041 8.53504 8.53504C7.63041 9.43968 6.38053 10 4.99953 10C3.61947 10 2.36959 9.43968 1.46401 8.53504C0.559381 7.63041 0 6.38053 0 4.99953C0 3.61947 0.559381 2.36864 1.46401 1.46401C2.36864 0.559381 3.61947 0 4.99953 0ZM7.98321 2.01585C7.22007 1.25271 6.16451 0.780115 4.99953 0.780115C3.83454 0.780115 2.77993 1.25271 2.01585 2.01585C1.25271 2.77993 0.780115 3.83454 0.780115 4.99953C0.780115 6.16451 1.25271 7.22007 2.01585 7.98321C2.77993 8.74634 3.83454 9.21894 4.99953 9.21894C6.16451 9.21894 7.22007 8.74634 7.98321 7.98321C8.74634 7.22007 9.21894 6.16451 9.21894 4.99953C9.21894 3.83454 8.74634 2.77993 7.98321 2.01585ZM4.95614 3.1714C4.74106 3.1714 4.56655 2.99689 4.56655 2.78181C4.56655 2.5658 4.74106 2.39128 4.95614 2.39128H5.04292C5.25894 2.39128 5.43345 2.5658 5.43345 2.78181C5.43345 2.99689 5.25894 3.1714 5.04292 3.1714H4.95614ZM4.60617 4.0732C4.60617 3.85813 4.78068 3.68361 4.9967 3.68361C5.21177 3.68361 5.38628 3.85813 5.38628 4.0732V7.21819C5.38628 7.43326 5.21177 7.60872 4.9967 7.60872C4.78068 7.60872 4.60617 7.43326 4.60617 7.21819V4.0732Z"
  580.                                       fill="#E40C25"/>
  581.                             </svg>
  582.                             <p class="modal_footer_price_tite">:</p>
  583.                             <div class="show_tooltip" id="openTooltip-2">
  584.                                 <span onclick="openTooltip('#openTooltip-2')" class="price_tooltip_close">x</span>
  585.                                 <p>* {{ 'modal_online_service.prices_valid'|trans({}, 'portal_base') }} {{ "now"|date("d.") }}{{ "now"|date("m.") }}{{ "now"|date("Y") }}. {{ 'modal_online_service.specified_price_maintenance'|trans({}, 'portal_base') }}</p>
  586.                             </div>
  587.                         </div>
  588.                         <span class="modal_footer_price"><span
  589.                                 v-html="vehicleInfo.totalCostWork.toLocaleString()"></span> грн</span>
  590.                     </template>
  591.                 </div>
  592.                 <div class="modal_online_reg_footer_box">
  593.                     <img class="modal_online_reg_footer_img"
  594.                          src="{{ asset('bundles/portal/img/service/modal-footer-icon.svg') }}" alt="">
  595.                     <div class="modal_online_reg_footer_info">
  596.                         <p class="reg_footer_info_title">{{ 'modal_online_service.sign_online'|trans({}, 'portal_base') }}
  597.                         </p>
  598.                         <div class="reg_footer_info_box">
  599.                             <p>{{ 'modal_online_service.get'|trans({}, 'portal_base') }}</p>
  600.                             <span>-20%</span>
  601.                             <p>{{ 'modal_online_service.on_sink'|trans({}, 'portal_base') }}</p>
  602.                         </div>
  603.                     </div>
  604.                 </div>
  605.                 <button v-if="status.stepSearchNumber" class="modal_online_reg_footer_btn" @click="findVehicleByNumber">{{ 'modal_online_service.search'|trans({}, 'portal_base') }}</button>
  606.                 <button v-else-if="status.stepChangeDealer && step === 1" class="modal_online_reg_footer_btn" @click="findServiceWork" disabled>{{ 'modal_online_service.further'|trans({}, 'portal_base') }}</button>
  607.                 <button v-else-if="status.stepChangeVariation && step === 1" class="modal_online_reg_footer_btn" @click="findServiceWork" :disabled="!carData.modelId || (carData.modelId && hasWorkByVariation && !carData.variationId)">{{ 'modal_online_service.further'|trans({}, 'portal_base') }}</button>
  608.                 <button v-else-if="step === 2" class="modal_online_reg_footer_btn" @click="nextStep" :disabled="!carData.workIds.length && !carData.comment.length ">{{ 'modal_online_service.further'|trans({}, 'portal_base') }}</button>
  609.                 <button v-else-if="step === 3" class="modal_online_reg_footer_btn" @click="booking" :disabled="(!nightTimeInput && !userTimeInput) || !confirm">{{ 'modal_online_service.further'|trans({}, 'portal_base') }}</button>
  610.                 <button v-else-if="step === 4" class="modal_online_reg_footer_btn" @click="confirmBooking" :disabled="!bookingId && !confirmCode">{{ 'modal_online_service.further'|trans({}, 'portal_base') }}</button>
  611.                 <button v-else-if="status.stepNoBrandDealer" class="modal_online_reg_footer_btn" @click="noBrandDealer">{{ 'modal_online_service.to_confirm'|trans({}, 'portal_base') }}</button>
  612.             </div>
  613.         </div>
  614.     </div>
  615. </div>