{% extends "lfs/base.html" %} {% load i18n static lfs_tags crispy_forms_tags lfs_theme_tags %} {% block title %} {% trans 'Checkout' %} | {% site_name %} {% endblock %} {% block section %}checkout{% endblock %} {% block breadcrumbs %} {% breadcrumbs _("Checkout") %} {% endblock %} {% block wrapper %}

{% trans 'Checkout' %}

{% if checkout_form.errors %}
{% trans "The operation could not be performed because one or more errors occurred. Please see below." %}
{% endif %}
{% csrf_token %}
{# Invoice Address #}
{% trans 'Invoice address' %}
{{ invoice_address_inline|safe }}
{# Shipping Address #}
{# Shipping #}
{% trans 'Shipping' %}
{{ shipping_inline|safe }}
{# Payment #}
{{ payment_inline|safe }}
{% if display_credit_card %}
{% trans 'Please enter your credit card information' %}
{{ credit_card_form.type.label_tag }} {{ credit_card_form.type }}
{{ credit_card_form.owner.label_tag }} {{ credit_card_form.owner }} {{ credit_card_form.owner.errors }}
{{ credit_card_form.number.label_tag }} {{ credit_card_form.number }} {{ credit_card_form.number.errors }}
{{ credit_card_form.expiration_date_month }}
{{ credit_card_form.expiration_date_year }}
{{ credit_card_form.verification.label_tag }} {{ credit_card_form.verification }} {{ credit_card_form.verification.errors }}
{% endif %} {% if display_bank_account %}
{% trans 'Please enter your bank information' %}
{{ bank_account_form.account_number.label_tag }} {{ bank_account_form.account_number }} {{ bank_account_form.account_number.errors }}
{{ bank_account_form.bank_identification_code.label_tag }} {{ bank_account_form.bank_identification_code }} {{ bank_account_form.bank_identification_code.errors }}
{{ bank_account_form.bank_name.label_tag }}: {{ bank_account_form.bank_name }} {{ bank_account_form.bank_name.errors }}
{{ bank_account_form.depositor.label_tag }}: {{ bank_account_form.depositor }} {{ bank_account_form.depositor.errors }}
{% endif %} {# Message #}
{% trans 'Your message to us' %}
{{ checkout_form.message|as_crispy_field_no_label }}
{# Cart #}
{{ cart_inline }}
{% if SHOP.confirm_toc %}
{% if checkout_form.errors.confirm_toc %}
{{ checkout_form.errors.confirm_toc }}
{% endif %}
{% endif %}
{% if request.user.is_anonymous %} {% else %} {% endif %}
{% endblock %} {% block scripts %} {% endblock %}