% logic = tplData.items.logic; var mainVersionId = logic.getMainVersionId(); var carData = logic.getCarData(); var gtm = tplData.items.gtm; var labels = tplData.items.viewElements; var pluginId = tplData.items.pluginId; var expandOpened = tplData.items.expandOpened; var equipmentOrSpec = tplData.items.eqOrSpec || 'equipment'; var versionCount = tplData.items.car[equipmentOrSpec].versions.length; var isOneVersion = versionCount === 1 ? true : false; var isEq = function() { return equipmentOrSpec === 'equipment' }; var getCarVersionObj = logic.getCarVersionObj; var selectedCarsArr = tplData.items.selectedCarsId; var optionLabel = logic.getOptionLabel(); var versions = tplData.items.car[equipmentOrSpec].versions; var mainVersion = selectedCarsArr.length > 0 ? getCarVersionObj(selectedCarsArr[0]) : ""; var accordeonTag = tplData.items.viewElements.accordeonTag %>
<%= labels.compareDescription %>
<%=currentCar.priceCaption%>
<% } %>