{% load static %} {% load custom_filters %} {% block stylesheets%} {% endblock stylesheets%} {% block content %} PRINT
Company Logo

Al-Fateh Plaza, Chandni Chowk, Rawalpindi. Tel: 051 6126822 Mob: 0333 1111 442 - 0333 1111 223

Print Date: {{current_datetime}}

Patient Copy

QR Code
{% if reportData.labID %}

{{ reportData.labID }}

{% endif %}

Username: {{ reportData.patientObject.login_user.username }} Password: {{ reportData.patientObject.login_user.plain_password }}

MR No:

{{ reportData.patientObject.patientID }}

Patient Name:

{{ reportData.patientObject.patientName }}

Contact:

{{ reportData.patientObject.patientContact }}

CNIC:

{{ reportData.patientObject.patientCNIC|default:"N/A" }}

Age:

{{ reportData.patientObject.patientAge }} {{reportData.patientObject.patientAgeChoices}}

Gender:

{{ reportData.patientObject.patientGender|default:"N/A" }}

Address:

{{ reportData.patientObject.patientAddress|default:"N/A" }}

Ref By:

{{ reportData.patientObject.refBy|default:"N/A" }}


{% for test in testData %} {% endfor %}
Test Name Sample Collection Reporting Time Amount
{{ test.testTitle }} {{ reportData.Date }} {{ test.reportingTime }} {{ latest_costs|get_item:test.id }}

{% if reportData.paymentStatus == 'Paid' %} Company Logo {% elif reportData.paymentStatus == 'Partially Paid' %} Company Logo {% elif reportData.paymentStatus == 'Discounted' %} Company Logo {% else %} Company Logo {% endif %}
{% if reportData.paymentStatus != 'Discounted' %}
Subtotal:

{{reportData.totalPrice}}

{% endif %} {% if reportData.discountInclusion == True and reportData.paymentStatus != 'Discounted' %}
Discount:

{{reportData.discount|default:'0'}} {{reportData.discountType}}

{% endif %} {% if reportData.paidAmount > '0.0' %}
Paid:

{{reportData.paidAmount}}

{% endif %}
Total Amount:

{{reportData.dueAmount}}

Printed By: {{request.user.username}} @ {{current_datetime}}


{% if not has_consultation %}

Print Date: {{current_datetime}}

Lab Copy

{% if reportData.labID %}

{{ reportData.labID }}

{% endif %}

Patient Name:

{{ reportData.patientObject.patientName }}

Contact:

{{ reportData.patientObject.patientContact }}

CNIC:

{{ reportData.patientObject.patientCNIC|default:"N/A" }}

Ref By:

{{ reportData.patientObject.refBy|default:"N/A" }}

Age:

{{ reportData.patientObject.patientAge }} {{reportData.patientObject.patientAgeChoices}}

Gender:

{{ reportData.patientObject.patientGender|default:"N/A" }}

Address:

{{ reportData.patientObject.patientAddress|default:"N/A" }}


{% for test in testData %} {% endfor %}
Test Name Specimen Sample Collection Reporting Time Amount
{{ test.testTitle }} {{ test.specimenObject.specimenName }} {{ reportData.Date }} {{ test.reportingTime }} {{ latest_costs|get_item:test.id }}

{% if reportData.paymentStatus == 'Paid' %} Company Logo {% elif reportData.paymentStatus == 'Partially Paid' %} Company Logo {% elif reportData.paymentStatus == 'Discounted' %} Company Logo {% else %} Company Logo {% endif %}
{% if reportData.paymentStatus != 'Discounted' %}
Subtotal:

{{reportData.totalPrice}}

{% endif %} {% if reportData.discountInclusion == True and reportData.paymentStatus != 'Discounted' %}
Discount:

{{reportData.discount|default:'0'}} {{reportData.discountType}}

{% endif %} {% if reportData.paidAmount > '0.0' %}
Paid:

{{reportData.paidAmount}}

{% endif %}
Total Amount:

{{reportData.dueAmount}}

{% endif %}

Printed By: {{request.user.username}} @ {{current_datetime}}

{% endblock content %}