{% extends 'profiling/base.html' %} {% block title %}Profiling List{% endblock %} {% block content %}

Profiling List

Create New Profiling
Export to Excel
{% for profiling in profilings %} {% endfor %}
Profile ID Customer Name Customer Phone Date Created Payment Status Date Collected Collected By Status / Actions Edit / Delete
{{ profiling.id }} {{ profiling.customer.customer_name }} {{ profiling.customer.customer_mobile }} {{ profiling.date_time|date:"F d, Y" }} {{ profiling.payment_status }} {{ profiling.collected_items.first.date_collected|date:"F d, Y" }} {{ profiling.customer_signature }} {% if profiling.job_status == 'Pending' or profiling.job_status == 'In Progress' %}
{% csrf_token %}
{% elif profiling.job_status == 'Completed' %} {% if not profiling.has_dispatch %} {% else %} Dispatched {% endif %} {% else %} {{ profiling.job_status }} {% endif %}
{% for profiling in profilings %} {% if profiling.job_status == 'Completed' and not profiling.has_dispatch %} {% endif %} {% if profiling.job_status == 'Completed' and profiling.has_dispatch %} {% endif %} {% endfor %} {% endblock %}