{% extends 'base/base.html' %} {% load static %} {% block title %}Bulk Submit Bills - {{ block.super }}{% endblock %} {% block css %} {% endblock %} {% block content %}
Total Draft Bills
Ready to Submit
Need Attention
Selected Bills
| Bill Number | Patient | Bill Date | Total Amount | Status | Validation | Actions | |
|---|---|---|---|---|---|---|---|
| {% if item.can_submit %} {% else %} {% endif %} | {{ item.bill.bill_number }} | {% if item.bill.patient %} {{ item.bill.patient.get_full_name }} {% else %} No patient assigned {% endif %} | {% if item.bill.bill_date %} {{ item.bill.bill_date|date:"M d, Y" }} {% else %} No date {% endif %} | {% if item.bill.total_amount %} ${{ item.bill.total_amount|floatformat:2 }} {% else %} $0.00 {% endif %} | {{ item.bill.get_status_display }} |
{% if item.can_submit %}
Valid
{% else %}
Issues
{% for error in item.validation_errors %}
• {{ error }}
{% endif %}
{% endfor %} |