{% extends "base.html" %} {% load i18n staticfiles wger_extras django_bootstrap_breadcrumbs %} {% block title %}{% trans 'Contract' %} {{ object }}{% endblock %} {% block breadcrumbs %} {{ block.super }} {% if perms.gym.manage_gyms %} {% breadcrumb "Gyms" "gym:gym:list" %} {% endif %} {% breadcrumb_raw object.member.userprofile.gym "gym:gym:user-list" object.member.userprofile.gym.pk %} {% breadcrumb_raw object.member|format_username "core:user:overview" object.member.pk %} {% breadcrumb "Contracts" "gym:contract:list" object.member.pk %} {% breadcrumb "Contract" "gym:contract:view" object.pk %} {% endblock %} {% block content %} {% if object.contract_type %} {% endif %} {% if object.options.exists %} {% endif %}
{% trans 'Contract is active' %} {% if object.is_active %} {% else %} {% endif %}
{% trans 'Contract type' %} {{ object.contract_type.name|default:'-/-' }}
{% trans "Options" %} {% for option in object.options.all %} {{ option }}
{% endfor %}
{% trans 'Name' %} {{ object.member.last_name }}, {{ object.member.first_name }} {% trans 'Username' %} {{ object.member }}
{% trans 'Amount' %} {{ object.amount|default:'-/-' }} {% trans 'Payment type' %} {{ object.get_payment_display }}
{% trans 'Start date' %} {{ object.date_start|default:'-/-' }} {% trans 'End date' %} {{ object.date_end|default:'-/-' }}
{% trans 'Phone' %} {{ object.phone }} {% trans 'Email' %} {% if object.email %} {{ object.email }} {% else %} -/- {% endif %}
{% trans 'Address' %} {{object.zip_code}} {{object.city}}
{{object.street}}
{% trans 'Profession' %} {{ object.profession }}
{% trans 'Note' %} {{ object.note }}
{% endblock %} {% block sidebar %}

{% trans 'Options' %}

{% trans 'Edit' %} {% endblock %}