{% extends 'base.html' %} {% load static %} {% block title %}Medical Bills - Billing{% endblock %} {% block content %}

Medical Bills

Create Bill
Total Bills

{{ stats.total_bills }}

Total Amount

${{ stats.total_amount|floatformat:2 }}

Total Paid

${{ stats.total_paid|floatformat:2 }}

Balance Due

${{ stats.total_balance|floatformat:2 }}

Medical Bills
Export CSV
{% for bill in bills %} {% empty %} {% endfor %}
Bill Number Patient Type Bill Date Due Date Total Amount Paid Amount Balance Status Actions
{{ bill.bill_number }}
{{ bill.patient.get_full_name }}
MRN: {{ bill.patient.mrn }}
{{ bill.get_bill_type_display }} {{ bill.bill_date|date:"M d, Y" }} {{ bill.due_date|date:"M d, Y" }} {% if bill.is_overdue %}
Overdue {% endif %}
${{ bill.total_amount|floatformat:2 }} ${{ bill.paid_amount|floatformat:2 }} ${{ bill.balance_amount|floatformat:2 }} {% if bill.status == 'DRAFT' %} Draft {% elif bill.status == 'PENDING' %} Pending {% elif bill.status == 'SUBMITTED' %} Submitted {% elif bill.status == 'PARTIAL_PAID' %} Partially Paid {% elif bill.status == 'PAID' %} Paid {% elif bill.status == 'OVERDUE' %} Overdue {% elif bill.status == 'COLLECTIONS' %} Collections {% elif bill.status == 'WRITTEN_OFF' %} Written Off {% elif bill.status == 'CANCELLED' %} Cancelled {% endif %}
{% if bill.status == 'DRAFT' %}
{% csrf_token %}
{% endif %}

No medical bills found.

{% if page_obj.has_other_pages %} {% endif %}
{% endblock %}