Payout management
| ID |
User Name |
Requested Money |
Created At |
Updated At |
Available Balance |
Total Balance |
Rejection Reason |
Status |
{% for doctor in doc_obj %}
| {{ doctor.id }} |
{{ 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 %}
{% endif %}
|
{% empty %}
| No requests found. |
{% endfor %}
{% if doc_obj %}
{% endif %}