{% extends "admin.html" %} {% load url from future %} {% block headtitle %}Viewing Member {{ member }} - {% endblock %} {% block members_active %}active{% endblock %} {% block top_content %}
{% if member.member_status != 'current' or not member.approved and member.user_type = 'member' %}
{% if member.member_status != 'current' %}

This member is {{ member.get_member_status_display }}.

{% endif %} {% if not member.approved %}

This member has not been approved yet.

{% endif %}
{% endif %} {% endblock %} {% block content %}

Account Details

{% if member.user_type == 'member' %} {% endif %}
Primary Email Address: {{ member.user.email }}
Type: {{ member.member_type }} {% if member.get_latest_subscription and member.get_latest_subscription.total_local %}- (£{{ member.get_latest_subscription.total_local|floatformat:2 }}){% endif %}
Membership Expires: {% if member.expiry_date %}{{ member.expiry_date }}{% else %}No Date Set{% endif %}
Created: {{ member.registered }}
Last Updated: {{ member.last_updated }}

Personal Details

Title: {{ member.title }}
Given Name: {{ member.given_name }}
Surname: {{ member.surname }}
Qualifications: {{ member.qualifications }}
Gender: {{ member.gender }}
Date of Birth: {{ member.date_of_birth }}
Qualifications {{ member.qualifications }}
Profession {{ member.profession }}
Speciality {{ member.speciality }}

Personal Address

{% if member.address_2 %} {% endif %} {% if member.county %} {% endif %}
Address Line 1 {{ member.address_1 }}
Address Line 2 {{ member.address_2 }}
Town {{ member.town }}
County {{ member.county }}
Country {{ member.country }}
Postcode {{ member.postcode }}
Phone {{ member.telephone }}
Mobile {{ member.mobile }}
Personal Email Address {{ member.personal_email }}

Hospital Address Details

{% if member.hospital_address_2 %} > {% endif %} {% if member.hospital_county %} {% endif %}
Job Title {{ member.job_title }}
Hospital or Clinic {{ member.hospital }}
Hospital Department {{ member.hospital_department }}
Hospital Address 1 {{ member.hospital_address_1 }}
Hospital Address 2{{ member.hospital_address_2 }}
Town {{ member.hospital_town }}
County {{ member.hospital_county }}
Country {{ member.hospital_country }}
Postcode {{ member.hospital_postcode }}
Telephone {{ member.hospital_phone }}
Hospital Email Address {{ member.hospital_email }}
Preferred Mail Address {{ member.preferred_mailing_address }}

Other Personal Details

{% if member.referrer_email %} {% endif %}
First Referrer {{ member.referrer_email }}
Approved: {% if member.referrer_approved %}Yes{% else %}No{% endif %}
Other Societies {% for society in member.other_societies.all %}{{ society }},{% endfor %} {{ member.other_societies.other }}
Areas of Interest {% for area in member.areas_of_interest.all %}{{ area }}, {% endfor %} {{ member.areas_of_interest_other }}
Notes {{ member.notes|linebreaks }}
Added to the Mailing List? {{ member.mailing_list|yesno|title }}
Agree Terms? {{ member.agree_terms|yesno|title }}
{% if member.donation %}

Member has chosen to make a donation - £{{ member.donation_amount|floatformat:2 }} {% if member.paid %}Paid{% else %}Unpaid{% endif %}

{% endif %} {% if member.gift_aid %}

Gift Aid Details

{% if member.gift_aid_address2 %} {% endif %} {% if member.gift_aid_county %} {% endif %}
Name {{ member.gift_aid_name }}
Address 1 {{ member.gift_aid_address1 }}
Address 2 {{ member.gift_aid_address2 }}
Town {{ member.gift_aid_town }}
County {{ member.gift_aid_county }}
Country {{ member.gift_aid_country }}
Postcode {{ member.gift_aid_postcode }}
{% endif %} {% if member.invoice_company_name %}

Invoice Details

Company Name {{ member.invoice_company_name }}
Email Address {{ member.invoice_email }}
{% endif %}
{% if member_direct_debits %}

Direct Debit

{% for direct_debit in member_direct_debits %} {% endfor %}
Account Name Account Number Sort Code Status
{{ direct_debit.ac_name }} {{ direct_debit.ac_no }} {{ direct_debit.sort_code }} {{ direct_debit.get_status_display }}
{% endif %} {% if payments %}

Payments

{% for payment in payments %} {% endfor %}
Type Created Status Price
{% if payment.type = 'meeting-booking' %}{% if payment.meeting_booking %}{{ payment.meeting_booking.meeting }} Booking{% else %}Meeting Booking (Deleted){% endif %}{% else %}{% if payment.type = 'arrears' %}{{ payment.arrears.name }}{% else %}{{ payment.get_type_display }} {% endif %}{% endif %} {{ payment.created }} {{ payment.get_status_display }} {% if payment.amount %}£{{ payment.amount }}{% endif %}
{% endif %}

Member Subscriptions

Add New Subscription {% if member_subscriptions %} All Subscriptions Download Subscriptions{% endif %}

{% if member_subscriptions %} {% for subscription in member_subscriptions %} {% endfor %}
Subscription Start Date End Date Total
{{ subscription.subscription }} {{ subscription.start_date }} {{ subscription.expiry_date }} {% if subscription.total_local %}£{{ subscription.total_local|floatformat:2 }}{% endif %}
{% else %}

There are no subscription entries for this member

{% endif %}

Meeting Bookings

{% if meeting_bookings %} {% for booking in meeting_bookings %} {% endfor %}
Name Date Status
{{ booking.meeting }} {{ booking.time }} {{ booking.get_status_display }}
{% else %}

There are no bookings for this member

{% endif %}

Member Contact

Add New Contact {% if member_contacts %} All Contacts Download Contact{% endif %}

{% if member_contacts %} {% for contact in member_contacts %} {% endfor %}
Date Type Subject
{{ contact.contact_date }} {{ contact.contact_type }} {{ contact.subject }}
{% else %}

There is no contact for this member

{% endif %}

Member Committee

Add New Committee {% if member_committees %} All Committees Download Committee{% endif %}

{% if member_committees %} {% for committee in member_committees %} {% endfor %}
Committee Position Start Date End Date
{{ committee.committee }} {{ committee.position }} {{ committee.start_date }} {{ committee.end_date }}
{% else %}

There are no committee entries for this member

{% endif %}

Member Classification

Add New Classification {% if member_classifications %} All Classifications Download Classifications{% endif %}

{% if member_classifications %} {% for classification in member_classifications %} {% endfor %}
Classification Class Date
{{ classification.classification }} {{ classification.class_date }}
{% else %}

There are no classification entries for this member

{% endif %}
{% if member.approved %} {% if member.member_status == 'current' or member.member_status == 'suspended' %}

Back to Members

{% elif member.member_status == 'archived' %}

Back to Archived Members

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

Back to Pending Members

{% endif %} {% endblock %}