{% extends "base.html" %} {% load static %} {% block content %}
{% if setting %} {% ifequal setting "preferences" %}
Preferences
Email Login {{request.session.current_user}}
{% endifequal %} {% ifequal setting "payment" %}
Payment
Credit xxxx-xxxx-xxxx-1234
Debit xxxx-xxxx-xxxx-1234
{% endifequal %} {% ifequal setting "history" %}
{% for obj in transactions %} {% endfor %}
History
Type Company Destination Book Date Total Card Number
{{obj.bookingType}} {{obj.companyName}} {{obj.location}} {{obj.bookingStartDate}} ${{obj.paymentAmount}} {{obj.paymentCardNo}}
{% endifequal %} {% else %}
Preferences
Email Login {{request.session.current_user}}
{% endif %}
{% endblock content %}