From 84f8428a929b33c3e88214901f53a0f302d69be6 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 20 Nov 2015 22:08:30 -0500 Subject: added budget totals and prospects to monthly income views --- design/templates/admin/income_month.html | 34 +++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) (limited to 'design') diff --git a/design/templates/admin/income_month.html b/design/templates/admin/income_month.html index e34cdbf..9f1742a 100644 --- a/design/templates/admin/income_month.html +++ b/design/templates/admin/income_month.html @@ -28,7 +28,7 @@ › {{ app_label|capfirst|escape }} › {% if has_change_permission %} {{ opts.verbose_name_plural|capfirst }}{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %} - › {% trans 'Upload' %} + › {% trans 'Income for' %} {{date|date:"F Y"}} {% endblock %} @@ -112,6 +112,38 @@

{% trans "Total Outstanding:" %} ${{total_outstanding.total_payment}}

+

Also have these stories pitched, but not accepted

+
+ + + + + + + + + + + +{% for gig in pitched %} + + +{%endfor%} + +
+ +
+
+ +
+
+ +
+
{{gig.title}}${{gig.payment}}{{gig.publisher}}
+
+ +

{% trans "" %} {% with total_outstanding.total_payment|add:"-2000" as underover %}{% if underover > 0 %}${{underover}} more that budget{%else%}Need to generate another ${{underover|cut:"-"}} to cover expenses{%endif%}{%endwith%}

+
-- cgit v1.2.3