{% extends 'base.html' %} {% load i18n %} {% load static %} {% block title %} {{ _("Car Purchase Report") |capfirst }} {% endblock title %} {% block content%}

Car Purchase Report

{{dealer}}

Report Date: {{current_time}}

Report Summary

Total Purchase Amount

{{total_po_amount}}

Total Cars Purchased

{{total_po_cars}}

Detailed Purchase List

{% for po in data %} {% endfor %}
Purchase ID Date Created Status PO Amount Date Fulfilled Created By Cars Purchased Vendor
{{po.po_number}} {{po.po_created}} {{po.po_status}} {{po.po_amount}} {{po.date_fulfilled}} staff {{po.po_quantity}} {{po.vendors_str}}
Total Purchase: {{total_po_amount}}
{% endblock %}