diff --git a/core/templates/core/pdf/report_pdf.html b/core/templates/core/pdf/report_pdf.html index 7671b00..28cbf61 100644 --- a/core/templates/core/pdf/report_pdf.html +++ b/core/templates/core/pdf/report_pdf.html @@ -5,17 +5,14 @@ @@ -331,6 +496,11 @@
| {{ start_date|date:"d F Y" }} – {{ end_date|date:"d F Y" }} |
- BY PROJECT- {% if alltime_projects %} -
No project data yet. {% endif %} - |
- - |
- BY TEAM- {% if alltime_teams %} -
No team data yet. {% endif %} - |
-
- BY PROJECT- {% if year_projects %} -
No project data for {{ current_year }}. {% endif %} - |
- - |
- BY TEAM- {% if year_teams %} -
No team data for {{ current_year }}. {% endif %} - |
+
+ Paid This Period
+ R {{ total_paid_out|money }}
+ {{ start_date|date:"d M Y" }} – {{ end_date|date:"d M Y" }}
+ |
+
+ Outstanding Now
+ R {{ current_outstanding.total|money }}
+ as of {{ current_as_of|date:"d M Y H:i" }}
+ |
| Project | +Start | +Working Days | +Total Cost | +Avg R / Working Day | +
|---|---|---|---|---|
| {{ item.project }} | +{% if item.start_date %}{{ item.start_date|date:"d M Y" }}{% else %}—{% endif %} | +{% if item.working_days %}{{ item.working_days }}{% else %}—{% endif %} | +R {{ item.total|money }} | +{% if item.working_days %}R {{ item.avg_per_working_day|money }}{% else %}—{% endif %} | +
No lifetime project data.
{% endif %} + +| Team | +Total Cost | +
|---|---|
| {{ item.team }} | +R {{ item.total|money }} | +
No lifetime team data.
{% endif %} + + +| - |
- TOTAL PAID OUT
- R {{ total_paid_out|money }}
- across {{ total_worker_days }} worker-days in this period
+ |
+ Total Paid Out
+ R {{ total_paid_out|money }}
+ |
+
+ Worker-Days
+ {{ total_worker_days }}
+ |
+
+ Loans Issued
+ R {{ loans_issued|money }}
+ |
+
|
+ Loans Outstanding
+ R {{ loans_outstanding|money }}
+ |
+
+ Advances Issued
+ R {{ advances_issued|money }}
+ |
+
+ Advances Outstanding
+ R {{ advances_outstanding|money }}
|
- LOANS-
|
- - |
- ADVANCES-
|
-
| @@ -537,7 +680,7 @@ |
|
@@ -574,13 +717,14 @@
- PER-WORKER DETAIL
- Worker Breakdown+
+ IIIWorker Breakdown
+
{% if worker_breakdown %}
No team × project activity in this period. + {% endif %} + |