{{#each results}} {{#bindBlock this}}
  1. {{#if service.thumb}} {{#if (compare service.provider "=" "SGN")}}
    {{{renderPicture service.thumb "big" width=@root.config.imageSize.width height=@root.config.imageSize.height}}}
    {{else}}
    {{{renderPicture service.thumb "tiny" width=@root.config.imageSize.width height=@root.config.imageSize.height}}}
    {{/if}} {{#if service.serviceTypePicture}}
    {{/if}} {{/if}}
    {{#if service.offersThumbList}}
    {{#each service.offersThumbList}}
    {{/each}}
    {{/if}}
    {{#if (checkString service.labelName)}}
    {{service.labelName}}
    {{/if}} {{#if service.recomendado}}
    {{i18n "hotDeal"}}
    {{/if}}

    {{{service.name}}}

    {{#if availability.priceDetail}}
    {{@root.summary.customInfo.bestPriceByText}}
    {{#if availability.selectedOption}} {{#if availability.selectedOption.selectedPrice}} {{#if availability.selectedOption.selectedPrice.offers}}
    {{#each availability.selectedOption.selectedPrice.offers}} {{#if price}} {{#ifComp price "!=" 0 }}
    {{{formatCurrency (math ../availability.price "-" price) currency "floor"}}}
    {{/ifComp}} {{/if}} {{/each}}
    {{/if}} {{/if}} {{/if}}
    {{{renderPriceTag availability.priceDetail "floor"}}} {{#if @root.config.showCurrencyConversor}} {{/if}}
    {{{renderEarnedPoints availability.priceDetail "floor"}}}
    {{/if}}
    {{{service.zone}}}
    {{#if availability.customInfo.offerName}}
    {{availability.customInfo.offerName}}
    {{/if}}
    {{#if service.classificationsList}} {{#each service.classificationsList}} {{/each}} {{/if}}
    {{#ifComp availability.customInfo.availableHours.length '>' 0}}
    {{i18n "service available in the following schedule"}} {{#each availability.customInfo.availableHours}} {{{this.t}}}{{#unless @last}} - {{/unless}} {{/each}}
    {{/ifComp}} {{#set "detail_url"}}{{#if service.detailsURL}}{{service.detailsURL}}{{#ifContains service.detailsURL "?"}}&{{else}}?{{/ifContains}}{{else}}/services/details.aspx?UID={{UID}}&{{/if}}searchSessionID={{@root.searchSessionID}}{{addSpecialParams}}&hashParams={{paramsToString @root.filters}}{{/set}} {{#set "fav_url"}}{{{detail_url}}}{{/set}} {{#set "fav_title"}}{{{service.name}}}{{/set}} {{#set "fav_desc"}}{{/set}} {{#if availability.priceDetail.LoyaltyRules.redemption.points}} {{#set "fav_price"}}{{availability.priceDetail.LoyaltyRules.redemption.points.currencyAmount}}{{/set}} {{#set "fav_currency"}}{{availability.priceDetail.LoyaltyRules.redemption.points.currencyName}}{{/set}} {{#set "fav_points"}}{{availability.priceDetail.LoyaltyRules.redemption.points.pointsAmount}}{{/set}} {{#set "fav_points_name"}}{{availability.priceDetail.LoyaltyRules.redemption.points.pointsName}}{{/set}} {{else}} {{#if availability.priceDetail}} {{#set "fav_price"}}{{availability.priceDetail.total}}{{/set}} {{#set "fav_currency"}}{{availability.priceDetail.currency}}{{/set}} {{/if}} {{/if}}
    {{i18n "info"}} {{#if service.panoramicUrl}} {{/if}} {{#ifCondAnd @root.viewOptions.resumed availability.options}} {{/ifCondAnd}} {{includePartialBySelector 'favorite_button' '#favorite-button-template'}} {{#checkSocialShare}} {{/checkSocialShare}}
    {{#each service.features}}

    {{@key}}

    {{#each this}} {{#ifCondAnd name description}}

    {{name}}: {{{description}}}

    {{else}} {{#if name}}

    {{name}}

    {{/if}} {{#if description}}

    {{{description}}}

    {{/if}} {{/ifCondAnd}} {{/each}}
    {{/each}}
    {{#if availability.options}}
    {{#ifCondOr (compare availability.customInfo.availableDates.extendedView.length '>' 1) (compare availability.customInfo.availableHours.length '>' 1)}}
    {{#ifComp availability.customInfo.availableDates.extendedView.length '>' 1}}
    {{> fixedLayerPartial name="dateSelector" title=(i18n "fecha") options=availability.customInfo.availableDates.extendedView target=""}}
    {{/ifComp}} {{#ifComp availability.customInfo.availableHours.length ">" 1}}
    {{/ifComp}}
    {{/ifCondOr}}
    {{#eachSlice (getAllPrices availability) @root.config.optionsToShow 'left'}} {{> optionPartial provider=../service.provider isPriceFrom=../availability.isPriceFrom}} {{/eachSlice}} {{#shouldShowMoreOptions @this @root.config.optionsToShow allPrices=true}}
    {{#eachSlice (getAllPrices availability) @root.config.optionsToShow 'right'}} {{> optionPartial provider=../service.provider isPriceFrom=../availability.isPriceFrom}} {{/eachSlice}}
    {{/shouldShowMoreOptions}}
    {{/if}}
  2. {{#*inline 'fixedLayerPartial'}} {{#bindBlock this}}

    {{{title}}}

    {{{i18n "Todas"}}} {{#each options}} {{{this.t}}} {{/each}}
    {{/bindBlock}} {{/inline}} {{#*inline 'optionPartial'}} {{#bindBlock this}}
    {{#with option}} {{includePartialBySelector 'debuginfo' '#debuginfo-template'}} {{/with}}
    {{#if option.description}}
    {{/if}}
    {{{option.name}}}
    {{formatDate startDate "dddd"}} {{formatDate startDate}}{{#ifComp option.startHour "!=" "00:00" }} - {{option.startHour}}{{/ifComp}}
    {{{option.description}}}
    {{#if selectedPrice.NonRefundable}} {{/if}}
    {{#if option.selectedPrice}} {{#if option.selectedPrice.offers}} {{#each offers}} {{#if price}} {{#ifComp price "!=" 0 }}
    {{{formatCurrency (math ../price "-" price) currency "floor"}}}
    {{/ifComp}} {{/if}} {{/each}} {{/if}} {{/if}}
    {{#if option.selectedPrice}} {{#if option.selectedPrice.offers}} {{/if}} {{/if}} {{#if isPriceFrom}}{{i18n "priceFrom"}}{{/if}}{{{renderPriceTag priceDetail "floor"}}} {{#if @root.config.showCurrencyConversor}} {{/if}} {{#ifCondAnd breakdown @root.config.showPaxBreakdown}} {{/ifCondAnd}} {{#ifCondAnd (not (isLoyaltyActive)) priceWithoutDiscount}} {{#ifComp priceDetail.total "!=" priceWithoutDiscount}}
    {{{renderSimplePriceTag priceWithoutDiscount currency "floor"}}}
    {{/ifComp}} {{/ifCondAnd}} {{#if discountList}} {{#each discountList}} {{/each}} {{/if}} {{{renderEarnedPoints priceDetail "floor"}}}
    {{#if isPriceFrom}} {{else}} {{#if available}} {{else}} {{/if}} {{/if}}
    {{/bindBlock}} {{/inline}} {{/bindBlock}} {{/each}}
{{#*inline 'offerContent'}} {{/inline}}