{% extends "checkout/checkout.html" %} {% load i18n %} {% block title %} {% trans "Payment details" %} | {{ block.super }} {% endblock %} {% block checkout_nav %} {% include 'checkout/nav.html' with step=3 %} {% endblock %} {% block checkout_title %}{% trans "What address should the invoice be issued to?" %}{% endblock %} {% block order_contents %}{% endblock %} {% block shipping_address %}{% endblock %} {% block shipping_method %}{% endblock %} {% block payment_method %}

{% trans "You've chosen to pay cash on delivery." %}

{% csrf_token %} {{ billing_address_form.non_field_errors }} {% if basket.is_shipping_required %}

{% endblock payment_method %} {% block onbodyload %} {# Toggle visibility of the billing address form #} if ($("input[name='same_as_shipping']")[1].checked){ $("#billing_address_form").show(); } $("input[name='same_as_shipping']").change(function(){ $("#billing_address_form").toggle(); }); {% endblock %}