<commit_before>{% extends "assopy/base.html" %}
{% load p3 assopy_tags i18n %}

{% block BODY_CLASS %}wizard{% endblock %}

{% block ASSOPY_MAIN_CONTENT %}
    <h1>{% trans "Buy tickets (1 of 2)" %}</h1>

    <div class="page-summary">
        <p>{% trans "Select conference tickets and additional services." %}</p>
    </div>

    <div>
        {% if not account_type %}
        <section class="notice">
            {% url p3-cart as u %}
            <p>{% blocktrans %}In order to buy the tickets you have to <a href="/accounts/login/?next={{ u }}">log in</a></p>{% endblocktrans %}
        </section>
        {% endif %}

        {{ form|form_errors }}
        <form id="form-cart" action="{% url p3-cart %}" method="post"{% if not account_type %} class="disabled"{% endif%}>{% csrf_token %}
            <fieldset class="order-type">
                <legend>{% trans "Select billing type" %}</legend>
                <p>{% trans "Please, select the entity you are purchasing tickets for:" %}</p>
                {{ form.order_type|field }}
                <p>{% blocktrans %}Invoices for personal purchases will be explicitly marked as "non tax-deductible".{% endblocktrans %}</p>
            </fieldset>
            {% if COUNTDOWN.conference > 0 %}
            <fieldset class="tickets conference-tickets">
                <legend>{% trans "Conference tickets" %}</legend>
                <p class="vat-info">{% trans "All prices are 21% VAT included." %}</p>
                <div class="cms">    
                    <table>
                        <col />

                        <col style="background: #E1DBC5" />
                        <col style="background: #E1DBC5" />

                        <col />
                        <col />

                        <col style="background: #E1DBC5" />
                        <col style="background: #E1DBC5" />

                        <thead>
                            <tr>
                                <th>&nbsp;</th>
                                <th colspan="2">{% trans "Student" %}</th>
                                <th colspan="2">{% trans "Personal" %}</th>
                                <th colspan="2">{% trans "Business" %}</th>
                            </tr>
                            <tr>
                                <th>&nbsp;</th>
                                <th>{% trans "Price" %}</th>
                                <th>{% trans "Q.ty" %}</th>
                                <th>{% trans "Price" %}</th>
                                <th>{% trans "Q.ty" %}</th>
                                <th>{% trans "Price" %}</th>
                                <th>{% trans "Q.ty" %}</th>
                            </tr>
                        </thead>
                        <tbody>
                            {% render_cart_rows "conference" form %}
                        </tbody>
                    </table>
                </div>
                
                <div class="total"> 
                    {% trans "Conference tickets total (VAT inc.)" %}: <b>€ 0</b>
                </div> 
            </fieldset>
            {% endif %}
            <fieldset class="tickets hotel-reservations">
                <legend>Room sharing at Grand Hotel Mediterraneo</legend>
                <h3>Hotel rooms are currently sold out</h3>
                {% comment %}
                <p>Book single beds in shared rooms, save money and get to meet other Pythoners! See all details of our <a href="/hotel-concession">concession</a> with the conference hotel. Rooms are limited, book now!</p>
                <p><b>Minimum stay: 3 nights</b></p>
                <div class="cms">
                    <table>
                        <thead>
                            <tr>
                                <th>{% trans "Reservation type" %}</th>
                                <th>{% trans "Reservation detail" %}</th>
                                <th>{% trans "# of beds" %}</th>
                                <th>{% trans "Price" %}</th>
                            </tr>
                        </thead>
                        <tbody>
                            {% render_cart_rows "hotel-room-sharing" form %}
                        </tbody>
                    </table>
                    <div class="button"><a href="#" class="cart-hotel-another-reservation" data-type="bed">Add another</a></div>
                </div>
                <div class="total">
                    {% trans "Hotel reservations total (inc. VAT & city tax)" %}: <b>€ 0</b>
                </div>
                {% endcomment %}
            </fieldset>
            <fieldset class="tickets hotel-reservations">
                <legend>{% trans "Hotel Rooms at Grand Hotel Mediterraneo" %}</legend>
                <p>Book a room in the conference hotel, including wifi and breakfast. See all details of our <a href="/hotel-concession">concession</a> with the conference hotel. Rooms are limited, book now!</p>
                <p><b>Minimum stay: 3 nights</b></p>
                <div class="cms">
                    <table>
                        <thead>
                            <tr>
                                <th>{% trans "Reservation type" %}</th>
                                <th>{% trans "Reservation detail" %}</th>
                                <th>{% trans "# of rooms" %}</th>
                                <th>{% trans "Price" %}</th>
                            </tr>
                        </thead>
                        <tbody>
                            {% render_cart_rows "hotel-room" form %}
                        </tbody>
                    </table>
                    <div class="button"><a href="#" class="cart-hotel-another-reservation" data-type="room">Add another</a></div>
                </div>
                <div class="total"> 
                    {% trans "Hotel reservations total (inc. VAT & city tax)" %}: <b>€ 0</b> 
                </div> 
            </fieldset>

            <fieldset class="tickets other-goodies">
                <legend>{% trans "Other Goodies" %}</legend>
                {% comment %} <p>{% trans "Other Goodies intro" %}</p> {% endcomment %}
                <div class="cms">
                    <table>
                        <thead><commit_msg>Disable hotel rooms<commit_after>{% extends "assopy/base.html" %}
{% load p3 assopy_tags i18n %}

{% block BODY_CLASS %}wizard{% endblock %}

{% block ASSOPY_MAIN_CONTENT %}
    <h1>{% trans "Buy tickets (1 of 2)" %}</h1>

    <div class="page-summary">
        <p>{% trans "Select conference tickets and additional services." %}</p>
    </div>

    <div>
        {% if not account_type %}
        <section class="notice">
            {% url p3-cart as u %}
            <p>{% blocktrans %}In order to buy the tickets you have to <a href="/accounts/login/?next={{ u }}">log in</a></p>{% endblocktrans %}
        </section>
        {% endif %}

        {{ form|form_errors }}
        <form id="form-cart" action="{% url p3-cart %}" method="post"{% if not account_type %} class="disabled"{% endif%}>{% csrf_token %}
            <fieldset class="order-type">
                <legend>{% trans "Select billing type" %}</legend>
                <p>{% trans "Please, select the entity you are purchasing tickets for:" %}</p>
                {{ form.order_type|field }}
                <p>{% blocktrans %}Invoices for personal purchases will be explicitly marked as "non tax-deductible".{% endblocktrans %}</p>
            </fieldset>
            {% if COUNTDOWN.conference > 0 %}
            <fieldset class="tickets conference-tickets">
                <legend>{% trans "Conference tickets" %}</legend>
                <p class="vat-info">{% trans "All prices are 21% VAT included." %}</p>
                <div class="cms">    
                    <table>
                        <col />

                        <col style="background: #E1DBC5" />
                        <col style="background: #E1DBC5" />

                        <col />
                        <col />

                        <col style="background: #E1DBC5" />
                        <col style="background: #E1DBC5" />

                        <thead>
                            <tr>
                                <th>&nbsp;</th>
                                <th colspan="2">{% trans "Student" %}</th>
                                <th colspan="2">{% trans "Personal" %}</th>
                                <th colspan="2">{% trans "Business" %}</th>
                            </tr>
                            <tr>
                                <th>&nbsp;</th>
                                <th>{% trans "Price" %}</th>
                                <th>{% trans "Q.ty" %}</th>
                                <th>{% trans "Price" %}</th>
                                <th>{% trans "Q.ty" %}</th>
                                <th>{% trans "Price" %}</th>
                                <th>{% trans "Q.ty" %}</th>
                            </tr>
                        </thead>
                        <tbody>
                            {% render_cart_rows "conference" form %}
                        </tbody>
                    </table>
                </div>
                
                <div class="total"> 
                    {% trans "Conference tickets total (VAT inc.)" %}: <b>€ 0</b>
                </div> 
            </fieldset>
            {% endif %}
            <fieldset class="tickets hotel-reservations">
                <legend>Room sharing at Grand Hotel Mediterraneo</legend>
                <h3>Hotel rooms are currently sold out</h3>
                {% comment %}
                <p>Book single beds in shared rooms, save money and get to meet other Pythoners! See all details of our <a href="/hotel-concession">concession</a> with the conference hotel. Rooms are limited, book now!</p>
                <p><b>Minimum stay: 3 nights</b></p>
                <div class="cms">
                    <table>
                        <thead>
                            <tr>
                                <th>{% trans "Reservation type" %}</th>
                                <th>{% trans "Reservation detail" %}</th>
                                <th>{% trans "# of beds" %}</th>
                                <th>{% trans "Price" %}</th>
                            </tr>
                        </thead>
                        <tbody>
                            {% render_cart_rows "hotel-room-sharing" form %}
                        </tbody>
                    </table>
                    <div class="button"><a href="#" class="cart-hotel-another-reservation" data-type="bed">Add another</a></div>
                </div>
                <div class="total">
                    {% trans "Hotel reservations total (inc. VAT & city tax)" %}: <b>€ 0</b>
                </div>
                {% endcomment %}
            </fieldset>
            <fieldset class="tickets hotel-reservations">
                <legend>{% trans "Hotel Rooms at Grand Hotel Mediterraneo" %}</legend>
                <h3>Hotel rooms are currently sold out</h3>
                {% comment %}
                <p>Book a room in the conference hotel, including wifi and breakfast. See all details of our <a href="/hotel-concession">concession</a> with the conference hotel. Rooms are limited, book now!</p>
                <p><b>Minimum stay: 3 nights</b></p>
                <div class="cms">
                    <table>
                        <thead>
                            <tr>
                                <th>{% trans "Reservation type" %}</th>
                                <th>{% trans "Reservation detail" %}</th>
                                <th>{% trans "# of rooms" %}</th>
                                <th>{% trans "Price" %}</th>
                            </tr>
                        </thead>
                        <tbody>
                            {% render_cart_rows "hotel-room" form %}
                        </tbody>
                    </table>
                    <div class="button"><a href="#" class="cart-hotel-another-reservation" data-type="room">Add another</a></div>
                </div>
                <div class="total"> 
                    {% trans "Hotel reservations total (inc. VAT & city tax)" %}: <b>€ 0</b> 
                </div> 
                {% endcomment %}
            </fieldset>

            <fieldset class="tickets other-goodies">
                <legend>{% trans "Other Goodies" %}</legend>
                {% comment %} <p>{% trans "Other Goodies intro" %}</p> {% endcomment %}
                <div class="cms">
                    <table>
                        <thead>
{'fraction_non_alphanumeric': 0.14216414991002269, 'fraction_numerical': 0.00485095062984117, 'mean_word_length': 1.1085450346420322, 'pattern_counts': {'":': 0, '<': 323, '<?xml version=': 0, '>': 325, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7467984', 'n_tokens_mistral': 3577, 'n_tokens_neox': 3169, 'n_words': 885}