templates/website/page/tickets.html.twig line 1
{% extends '@web/base.html.twig' %}{% if page is defined and page is not empty %}{% set metaParams = {'title': page.metaTitle ? page.metaTitle : page.title,'metaDescription': page.metaDescription,'metaKeywords': page.metaKeywords,'image':(page.metaImage is defined ? page.metaImage : page.image is defined ? page.image : null)} %}{% else %}{% set metaParams = {} %}{% endif %}{% block meta %}{% include '@web/parts/meta.html.twig' with metaParams %}{% endblock meta %}{% block content %}<section class="content-tickets"{% if page and page.backgroundImage is not null %}style="background-image: url('{{ page.backgroundImage }}');"{% endif %}>{% block header %}{% include '@web/parts/header.html.twig' %}{% endblock %}<div class="container-fluid"><div class="wrapper-tickets"><div class="wrapper-types"><div class="header"><div class="wrapper-name"><h1>{{ 'Գնել Տոմս'|trans }}</h1></div><div class="options"><div class="date-pick"><span>{{ 'Ընտրել նախընտրելի օրը'|trans }}</span><div class="calendar"><label for="checkin" class="date-picker"><img src="{{ asset('static_images/calendar.png') }}" width="32px" height="32px" alt="calendar"><span id="selectedDate"></span></label><input type="text" style="height: 0!important;border: unset!important; " class=" datepicker datepicker-click checkin" id="checkin"></div></div>{# <div class="promo">#}{# <span>{{ 'Պրոմոկոդ (եթե ունեք)'|trans }}</span>#}{# <div class="promo-place">#}{# <img src="{{ asset('static_images/promo-logo.png') }}" width="32px" height="32px" alt="">#}{# <input type="text" placeholder="123456789" width="10px" class ="promo-input">#}{# </div>#}{# </div>#}</div></div><div class="body"><div class="wrapper-title"><h2>{{ 'ՏՈՄՍԵՐԻ ՏԵՍԱԿՆԵՐ'|trans }}</h2></div><div class="tickets" id="tickets">{% for item in tickets %}<div class="item"><div class="info"><span class="name">{{ item.title }}</span><span class="description">{{ item.description|raw }}</span></div><div class="price"><div class="quantity-picker"><div class="quantity-picker"><button class="btn-decrease" data-item-id="{{ item.id }}">-</button><input type="number" class="item-quantity count" value="1" id="item-quantity-{{ item.id }}"/><button class="btn-increase" data-item-id="{{ item.id }}">+</button></div>{# <span onclick="removeOne(this)">-</span>#}{# <span class="count">1</span>#}{# <span onclick="addOne(this)">+</span>#}</div><span class="amount"> {{ item.price ? (item.price ~ '֏'|trans) : 'ԱՆՎՃԱՐ'|trans }}</span></div></div>{% endfor %}</div><div class="mobile-attention"><div class="attention-message"><ul><li>{{ 'Տոմսը վավեր է միայն նշված օրը օգտագործելու դեպքում'|trans }}</li><li>{{ '1 տոմսը նախատեսված է միայն 1 հյուրի համար'|trans }}</li>{# <li>{{ 'Տոմսի վերադարձ կատարվում է միայն այցելության նախորդ օրը'|trans }}</li>#}<li>{{ 'Գնված տոմսը վերադարձի ենթակա չէ'|trans }}</li></ul></div></div><div class="mobile-attention"><div class="attention-message"><ul><li>{{ '3d-Secure'|trans }}</li><li>{{ 'rate-info'|trans }}</li></ul></div></div></div></div><form action="{{ path('app_checkout') }}" method="post" id="paymentFrom">{% block basket %}{% include '@web/parts/basket.html.twig' %}{% endblock %}{% block tost %}{% include '@web/parts/toast.html.twig' %}{% endblock %}{% block paymentModals %}{% include '@web/parts/payment-modal.html.twig' %}{% endblock %}</form></div><div class="attention"><ul><li>{{ 'Տոմսը վավեր է միայն նշված օրը օգտագործելու դեպքում'|trans }}</li><li>{{ '1 տոմսը նախատեսված է միայն 1 հյուրի համար'|trans }}</li>{# <li>{{ 'Տոմսի վերադարձ կատարվում է միայն այցելության նախորդ օրը'|trans }}</li>#}<li>{{ 'Գնված տոմսը վերադարձի ենթակա չէ'|trans }}</li></ul></div><div class="attention"><ul><li>{{ '3d-Secure'|trans }}</li><li>{{ 'rate-info'|trans }}</li></ul></div></div>{% block footer %}{% include '@web/parts/footer.html.twig' %}{% endblock %}</section>{% endblock %}{% block javascripts %}{{ parent() }}<script src="{{ asset('scripts/basket.js') }}"></script>{% endblock %}