{% extends "lfs/base.html" %} {% load i18n lfs_tags %} {% block title %} {% trans 'Checkout' %} - {{ block.super }} {% endblock %} {% block section %}checkout{% endblock %} {% block breadcrumbs %} {% breadcrumbs _("Checkout") %} {% endblock %} {% block wrapper %} {% if form.errors %}

{% blocktrans %}The operation could not be performed because one or more error(s) occurred.
Please resubmit the form after making the following changes:{% endblocktrans %}

{% endif %}
{% csrf_token %} {# Invoice Address #} {# Shipping Address #}
{% trans 'Invoice address' %} {% trans 'Shipping address' %} ({{ form.no_shipping }} )
{{ invoice_address_inline|safe }} {{ shipping_address_inline|safe }}
{# Shipping #}

{% trans 'Shipping' %}

{{ shipping_inline|safe }}
{# Payment #}
{{ payment_inline|safe }}
{% if display_credit_card %}
{% trans 'Please enter your credit card information' %} {% if form.errors.credit_card %}
  • {{ form.errors.credit_card }}
  • {% endif %}
{{ form.account_number.errors }}
{{ form.credit_card_type }}
{{ form.credit_card_owner.errors }}
{{ form.credit_card_owner }}
{{ form.credit_card_number.errors }}
{{ form.credit_card_number }}
{{ form.credit_card_expiration_date_month }} {{ form.credit_card_expiration_date_year }}
{{ form.credit_card_verification.errors }}
{{ form.credit_card_verification }}
{% endif %} {% if display_bank_account %}
{% trans 'Please enter your bank information' %}
{{ form.account_number.errors }}
{{ form.account_number }}
{{ form.bank_identification_code.errors }}
{{ form.bank_identification_code }}
{{ form.bank_name.errors }}
{{ form.bank_name }}
{{ form.depositor.errors }}
{{ form.depositor }}
{% endif %} {# Cart #}
{{ cart_inline }}
{# Message #}
{{ form.message }}
{% if SHOP.confirm_toc %} {% if form.errors.confirm_toc %} {% endif %} {% endif %}
{% trans 'Go to cart' %}
{% if request.user.is_anonymous %} {% else %} {% endif %}
{% endblock %}