{% extends "base.html" %} {% load static %} {% block title %}Billing Dashboard - {{ block.super }}{% endblock %} {% block content %}
{% include 'billing/partials/billing_stats.html' %}
Recent Medical Bills
View All
{% for bill in recent_bills %} {% empty %} {% endfor %}
Bill # Patient Amount Status Date
{{ bill.bill_number }} {{ bill.patient.get_full_name }}
{{ bill.patient.mrn }}
${{ bill.total_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 %} {{ bill.bill_date|date:"M d" }}
No recent bills
Recent Payments
View All
{% for payment in recent_payments %} {% empty %} {% endfor %}
Payment # Patient Amount Method Date
{{ payment.payment_number }} {{ payment.medical_bill.patient.get_full_name }}
{{ payment.medical_bill.patient.mrn }}
${{ payment.payment_amount|floatformat:2 }} {{ payment.get_payment_method_display }} {{ payment.payment_date|date:"M d" }}
No recent payments
Overdue Bills
{{ overdue_bills.count }}
{% for bill in overdue_bills %} {% empty %} {% endfor %}
Bill # Patient Amount Days Overdue
{{ bill.bill_number }} {{ bill.patient.get_full_name }}
{{ bill.patient.mrn }}
${{ bill.balance_amount|floatformat:2 }} {{ bill.days_outstanding }} days
No overdue bills
Pending Claims
{{ pending_claims.count }}
{% for claim in pending_claims %} {% empty %} {% endfor %}
Claim # Patient Insurance Amount Days Pending
{{ claim.claim_number }} {{ claim.medical_bill.patient.get_full_name }}
{{ claim.medical_bill.patient.mrn }}
{{ claim.insurance_info.insurance_company }} ${{ claim.billed_amount|floatformat:2 }} {{ claim.days_pending }} days
No pending claims
{% endblock %}