templates/Components/Destination/pricetable.html.twig line 1
<!DOCTYPE html><html><head><base href="https://www.iveria.cz/"><meta charset="utf-8"><title>{% block title %}Iveria Travel{% endblock %}</title><!-- STYLES --><link href="{{ pathToAssets }}assets/css/animate.min.css" rel="stylesheet"><link href="{{ pathToAssets }}assets/css/bootstrap-select.min.css" rel="stylesheet"><link href="{{ pathToAssets }}assets/css/owl.carousel.css" rel="stylesheet"><link href="{{ pathToAssets }}assets/css/owl-carousel-theme.css" rel="stylesheet"><link href="{{ pathToAssets }}assets/css/bootstrap.min.css" rel="stylesheet" media="screen"><link href="{{ pathToAssets }}assets/css/flexslider.css" rel="stylesheet" media="screen"><link href="{{ pathToAssets }}assets/css/style.css" rel="stylesheet" media="screen"><link href="{{ pathToAssets }}assets/css/custom.css" rel="stylesheet" media="screen"><link href="{{ pathToAssets }}assets/css/lightbox.min.css" rel="stylesheet" media="screen"><!-- LIGHT --><link rel="stylesheet" type="text/css" href="{{ pathToAssets }}assets/css/dummy.css" id="select-style"><link href="{{ pathToAssets }}assets/font-awesome/css/font-awesome.min.css" rel="stylesheet">{# Styles #}<link href="/assets/css/animate.min.css" rel="stylesheet"><link href="/assets/css/bootstrap-select.min.css" rel="stylesheet"><link href="/assets/css/owl.carousel.css" rel="stylesheet"><link href="/assets/css/owl-carousel-theme.css" rel="stylesheet"><link href="/assets/css/bootstrap.min.css" rel="stylesheet" media="screen"><link href="/assets/css/flexslider.css" rel="stylesheet" media="screen"><link href="/assets/css/style.css" rel="stylesheet" media="screen"><link href="/assets/css/custom.css" rel="stylesheet" media="screen"><link href="/assets/css/lightbox.min.css" rel="stylesheet" media="screen"><!-- LIGHT --><link rel="stylesheet" type="text/css" href="/assets/css/dummy.css" id="select-style"><link href="/assets/font-awesome/css/font-awesome.min.css" rel="stylesheet"><!-- FONTS --><link href='https://fonts.googleapis.com/css?family=Open+Sans:400,800,700,600' rel='stylesheet' type='text/css'></head><body>{% if(destination.generatePriceTable) %}<span class="bg-reserved" style="color: black;">Rezervováno</span><span class="bg-full" style="color: black;">Prodáno</span><span class="bg-only-car" style="color: black;">Pouze vlastní doprava</span><span class="bg-only-bus" style="color: black;">Pouze autobusová doprava</span><span class="bg-price-text">Text místo ceny</span><br /><br /><table class="table table-smaller table-pdf"><thead><tr><td></td><td><strong>Termín</strong></td><td><strong>Počet dní pob./záj.</strong></td><td><strong>Den odjezdu</strong></td>{% for accommodation in destination.accommodations %}<td><strong>{{ accommodation.name }}</strong></td>{% endfor %}</tr></thead><tbody>{% for term in destination.activeTerms %}<tr class="{% if(term.onlyBus) %}bus{% endif %}{% if(term.onlyCar) %}car{% endif %}"><td class="field-title">{{ term.number }}</td><td>{{ term.start|date('d.m.') }} - {{ term.end|date('d.m.') }}</td><td>{{ term.numberOfDays }}</td><td>{{ term.departureDay }}</td>{% for accommodation in destination.accommodations %}{% set termPrice = term.getAccommodationTermPrice(accommodation) %}{% set bgClass = term.getAccommodationBgClass(accommodation) %}<td class="{{ bgClass }}">{% if termPrice and termPrice.priceText is not empty %}{{ termPrice.priceText }}{% elseif termPrice %}{{ termPrice.price|format_currency('CZK') }}{% else %}-{% endif %}</td>{% endfor %}</tr>{% endfor %}</tbody></table><span class="bg-reserved" style="color: black;">Rezervováno</span><span class="bg-full" style="color: black;">Prodáno</span><span class="bg-only-car" style="color: black;">Pouze vlastní doprava</span><span class="bg-only-bus" style="color: black;">Pouze autobusová doprava</span><span class="bg-price-text">Text místo ceny</span>{% endif %}{{ destination.priceTable | raw }}</body></html>