{% extends "vendor/base.html" %} {% load i18n %} {% block vendor_content %}
{{user.first_name}} {{user.last_name}}
{{user.email}}
{{invoice.shipping_address.address_1}}, {{invoice.shipping_address.address_2|default_if_none:""}}
{{invoice.shipping_address.state}}, {{invoice.shipping_address.get_country_display}}, {{invoice.shipping_address.postal_code}}
{{billing_address_form.cleaned_data.address_1}}, {{billing_address_form.cleaned_data.address_2|default_if_none:""}}
{{billing_address_form.cleaned_data.state}}, {{billing_address_form.instance.get_country_display}}, {{billing_address_form.cleaned_data.postal_code}}
{{credit_card_form.data.full_name}}
{% trans 'Card ending in' %} {{credit_card_form.data.card_number|slice:"-4:"}}