{% extends "shop/checkout/dialog-base.html" %} {% load i18n static sass_tags sekizai_tags %} {% block extra-styles %} {{ block.super }} {% addtoblock "css" %}{% endaddtoblock %} {% endblock %} {% block extra-scripts %} {{ block.super }} {% addtoblock "js" %}{% endaddtoblock %} {% add_data "ng-requires" "django.shop.method-form" %} {% endblock %} {% block dialog_form %}
{% if payment_method_form.has_choices %} {{ payment_method_form.as_div }} {% if show_additional_charge %}
{% for choice, label in payment_method_form.payment_modifier.field.choices %}

{% trans "Additional charge" %}: {% verbatim %}{{ extra_row.amount }}{% endverbatim %}

{% endfor %} {% if payment_modifiers.initial_row %}

{% trans "Additional charge" %}: {{ payment_modifiers.initial_row.amount }}

{% endif %}
{% endif %} {% else %}

{% trans "No payment method available" %}

{% endif %}
{% block payment-provider-form %} {% if payment_modifiers.stripe_payment %}
{# reverse dependency can never be reached, if djangoshop-stripe is not installed #} {% include "shop/stripe-creditcard-form.html" %}
{% endif %} {% endblock %} {% endblock dialog_form %}