{% extends 'base/base.html' %} {% block title %} General Reports{% endblock %} {% block stylesheets %} {% endblock stylesheets %} {% block content %}
{% for item in reportData %} {% endfor %} {% if messages %} {% for message in messages %} {% endfor %} {% endif %}

{% if request.user.userRole == 'admin' or request.user.userRole == 'General Receptionist' %} Create Report {% endif %}
{% if request.user.userRole != 'Technologist' %} {% endif %} {% for item in reportData %} {% if request.user.userRole != 'Technologist' %} {% endif %} {% for i in "1234567890123" %} {% endfor %} {% endfor %}
Sr.No Patient Panel Lab ID TestsPrice Discount Total Price Paid Amount Due AmountStatus Date Action
{{forloop.counter}} {{item.patientObject.patientName}} {{item.patientObject.panel.gPanelName|default:"N/A"}} {{item.labID}} {% for test in item.createTestObject.all %} {{ test.testTitle }} , {% endfor %} {{item.totalPrice}} {{item.discount|default:"0"}} {{item.discountType}} {{item.priceAfterDiscount}} {{item.paidAmount}} {{item.dueAmount}} {% if item.paymentStatus == 'Paid' %} {{item.paymentStatus}} {% elif item.paymentStatus == 'Partially Paid' %} {{item.paymentStatus}} {% else %} {{item.paymentStatus}} {% endif %} {{item.Date}}
{% block javascripts %} {% endblock javascripts %} {% endblock content %}