{% extends 'admin_base_layout.html' %} {% load static %} {% block content %} Kila Kolis | Payout management

Payout management

{% for doctor in doc_obj %} {% empty %} {% endfor %}
ID User Name Requested Money Created At Updated At Available Balance Total Balance Rejection Reason Status
{{ doctor.id }}
user {{ doctor.user.full_name }}
{{ doctor.requested_money }} {{ doctor.created_at|date:"Y-m-d" }} {{ doctor.updated_at|date:"Y-m-d" }} {{ doctor.available_balance }} {{ doctor.total_balance }} {% if doctor.rejection_reason %} {{ doctor.rejection_reason|truncatechars:20 }} {% else %} - {% endif %} {% if doctor.transaction_status == "Accepted" %} {% with latest_doc=doctor.user.userdocument_set.last %} {% if latest_doc %} {% endif %} {% endwith %} {% elif doctor.transaction_status == "Rejected" %}
Disapproved
{{ doctor.rejection_reason }}
{% else %}
{% csrf_token %}
{% endif %}
No requests found.
{% if doc_obj %} {% endif %}
{% endblock %}