{% extends "customer_main.html" %} {%load static%} {% block content %}

My Tickets

{% for ticket in open_tickets %} {% endfor %}
Subject Ticket ID Regarding Date Created Last Updated

{{ticket.title }}

{% if ticket.unread_updates_count > 0 %}

{{ticket.unread_updates_count}}

{% endif %}

{{ ticket.ticket_number }}

{{ ticket.regarding }}

{{ ticket.opened_date }}

{% if ticket.ticketupdate_set.all %}

{{ticket.ticketupdate_set.last.date_added}}
by {{ticket.ticketupdate_set.last.added_by.first_name}}

{% endif %}
{% endblock %}